Home
last modified time | relevance | path

Searched refs:hashRateLog (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/lib/zstd/compress/
Dzstd_ldm.c35 unsigned hashRateLog = params->hashRateLog; in ZSTD_ldm_gear_init() local
52 if (hashRateLog > 0 && hashRateLog <= maxBitsInMask) { in ZSTD_ldm_gear_init()
53 state->stopMask = (((U64)1 << hashRateLog) - 1) << (maxBitsInMask - hashRateLog); in ZSTD_ldm_gear_init()
56 state->stopMask = ((U64)1 << hashRateLog) - 1; in ZSTD_ldm_gear_init()
147 if (params->hashRateLog == 0) { in ZSTD_ldm_adjustParameters()
148 params->hashRateLog = params->windowLog < params->hashLog in ZSTD_ldm_adjustParameters()
Dzstd_compress_internal.h267 U32 hashRateLog; /* Log number of entries to skip */ member
Dzstd_compress.c283 assert(cctxParams.ldmParams.hashRateLog < 32); in ZSTD_makeCCtxParamsFromCParams()
819 CCtxParams->ldmParams.hashRateLog = value; in ZSTD_CCtxParams_setParameter()
820 return CCtxParams->ldmParams.hashRateLog; in ZSTD_CCtxParams_setParameter()
954 *value = CCtxParams->ldmParams.hashRateLog; in ZSTD_CCtxParams_getParameter()
1775 assert(params->ldmParams.hashRateLog < 32); in ZSTD_resetCCtx_internal()