ZSTD_ps_enable
useRowMatchFinder = ZSTD_ps_enable;
if (CCtxParams->ldmParams.enableLdm == ZSTD_ps_enable) cParams.windowLog = ZSTD_LDM_DEFAULT_WINDOW_LOG;
size_t const ldmSeqSpace = ldmParams->enableLdm == ZSTD_ps_enable ?
initialParams.useRowMatchFinder = ZSTD_ps_enable;
initialParams.useRowMatchFinder = ZSTD_ps_enable;
if (params->ldmParams.enableLdm == ZSTD_ps_enable) {
zc->blockState.matchState.prefetchCDictTables = params->prefetchCDictTables == ZSTD_ps_enable;
if (params->ldmParams.enableLdm == ZSTD_ps_enable) {
if (params->ldmParams.enableLdm == ZSTD_ps_enable) {
return ZSTD_rowMatchFinderSupported(strategy) && (mode == ZSTD_ps_enable);
if (cParams->windowLog > kWindowLogLowerBound) mode = ZSTD_ps_enable;
return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 17) ? ZSTD_ps_enable : ZSTD_ps_disable;
return (cctxParams->postBlockSplitter == ZSTD_ps_enable);
return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 27) ? ZSTD_ps_enable : ZSTD_ps_disable;
return ZSTD_ps_enable;
if (cctxParams.ldmParams.enableLdm == ZSTD_ps_enable) {
} else if (zc->appliedParams.ldmParams.enableLdm == ZSTD_ps_enable) {
assert(zc->appliedParams.postBlockSplitter == ZSTD_ps_enable);
assert(nbSeq == 0 || cctx->appliedParams.ldmParams.enableLdm != ZSTD_ps_enable);
if (cctx->appliedParams.ldmParams.enableLdm == ZSTD_ps_enable) {
int const loadLdmDict = params->ldmParams.enableLdm == ZSTD_ps_enable && ls != NULL;
if (params->useRowMatchFinder == ZSTD_ps_enable) {
ZSTD_STATIC_ASSERT(ZSTD_ps_auto < ZSTD_ps_enable && ZSTD_ps_enable < ZSTD_ps_disable);
int const repcodeResolution = (cctx->appliedParams.searchForExternalRepcodes == ZSTD_ps_enable);
case ZSTD_ps_enable:
return params.enableLdm == ZSTD_ps_enable ? totalSize : 0;
return params.enableLdm == ZSTD_ps_enable ? (maxChunkSize / params.minMatchLength) : 0;