Searched refs:ldmParams (Results 1 – 3 of 3) sorted by relevance
279 … cctxParams.ldmParams.enableLdm = ZSTD_resolveEnableLdm(cctxParams.ldmParams.enableLdm, &cParams); in ZSTD_makeCCtxParamsFromCParams()280 if (cctxParams.ldmParams.enableLdm == ZSTD_ps_enable) { in ZSTD_makeCCtxParamsFromCParams()281 ZSTD_ldm_adjustParameters(&cctxParams.ldmParams, &cParams); in ZSTD_makeCCtxParamsFromCParams()282 assert(cctxParams.ldmParams.hashLog >= cctxParams.ldmParams.bucketSizeLog); in ZSTD_makeCCtxParamsFromCParams()283 assert(cctxParams.ldmParams.hashRateLog < 32); in ZSTD_makeCCtxParamsFromCParams()347 …cctxParams->ldmParams.enableLdm = ZSTD_resolveEnableLdm(cctxParams->ldmParams.enableLdm, ¶ms->… in ZSTD_CCtxParams_init_internal()349 … cctxParams->useRowMatchFinder, cctxParams->useBlockSplitter, cctxParams->ldmParams.enableLdm); in ZSTD_CCtxParams_init_internal()795 CCtxParams->ldmParams.enableLdm = (ZSTD_paramSwitch_e)value; in ZSTD_CCtxParams_setParameter()796 return CCtxParams->ldmParams.enableLdm; in ZSTD_CCtxParams_setParameter()801 CCtxParams->ldmParams.hashLog = value; in ZSTD_CCtxParams_setParameter()[all …]
173 ldmState_t* ldmState, size_t hash, ldmParams_t const ldmParams) in ZSTD_ldm_getBucket() argument175 return ldmState->hashTable + (hash << ldmParams.bucketSizeLog); in ZSTD_ldm_getBucket()182 ldmParams_t const ldmParams) in ZSTD_ldm_insertEntry() argument187 *(ZSTD_ldm_getBucket(ldmState, hash, ldmParams) + offset) = entry; in ZSTD_ldm_insertEntry()188 *pOffset = (BYTE)((offset + 1) & ((1u << ldmParams.bucketSizeLog) - 1)); in ZSTD_ldm_insertEntry()
303 ldmParams_t ldmParams; member