Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dzstd_ldm.c141 if (!params->bucketSizeLog) params->bucketSizeLog = LDM_BUCKET_SIZE_LOG; in ZSTD_ldm_adjustParameters()
152 params->bucketSizeLog = MIN(params->bucketSizeLog, params->hashLog); in ZSTD_ldm_adjustParameters()
158 size_t const ldmBucketSizeLog = MIN(params.bucketSizeLog, params.hashLog); in ZSTD_ldm_getTableSize()
175 return ldmState->hashTable + (hash << ldmParams.bucketSizeLog); in ZSTD_ldm_getBucket()
188 *pOffset = (BYTE)((offset + 1) & ((1u << ldmParams.bucketSizeLog) - 1)); in ZSTD_ldm_insertEntry()
272 U32 const hBits = params->hashLog - params->bucketSizeLog; in ZSTD_ldm_fillHashTable()
328 U32 const entsPerBucket = 1U << params->bucketSizeLog; in ZSTD_ldm_generateSequences_internal()
329 U32 const hBits = params->hashLog - params->bucketSizeLog; in ZSTD_ldm_generateSequences_internal()
Dzstd_compress.c282 assert(cctxParams.ldmParams.hashLog >= cctxParams.ldmParams.bucketSizeLog); in ZSTD_makeCCtxParamsFromCParams()
813 CCtxParams->ldmParams.bucketSizeLog = value; in ZSTD_CCtxParams_setParameter()
814 return CCtxParams->ldmParams.bucketSizeLog; in ZSTD_CCtxParams_setParameter()
951 *value = CCtxParams->ldmParams.bucketSizeLog; in ZSTD_CCtxParams_getParameter()
1774 assert(params->ldmParams.hashLog >= params->ldmParams.bucketSizeLog); in ZSTD_resetCCtx_internal()
1875 params->ldmParams.bucketSizeLog); in ZSTD_resetCCtx_internal()
Dzstd_compress_internal.h265 U32 bucketSizeLog; /* Log bucket size for collision resolution, at most 8 */ member