Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dzstd_ldm.c114 if (!params->bucketSizeLog) params->bucketSizeLog = LDM_BUCKET_SIZE_LOG; in ZSTD_ldm_adjustParameters()
125 params->bucketSizeLog = MIN(params->bucketSizeLog, params->hashLog); in ZSTD_ldm_adjustParameters()
131 size_t const ldmBucketSizeLog = MIN(params.bucketSizeLog, params.hashLog); in ZSTD_ldm_getTableSize()
148 return ldmState->hashTable + (hash << ldmParams.bucketSizeLog); in ZSTD_ldm_getBucket()
161 *pOffset = (BYTE)((offset + 1) & ((1u << ldmParams.bucketSizeLog) - 1)); in ZSTD_ldm_insertEntry()
245 U32 const hBits = params->hashLog - params->bucketSizeLog; in ZSTD_ldm_fillHashTable()
301 U32 const entsPerBucket = 1U << params->bucketSizeLog; in ZSTD_ldm_generateSequences_internal()
302 U32 const hBits = params->hashLog - params->bucketSizeLog; in ZSTD_ldm_generateSequences_internal()
Dzstd_compress.c216 assert(cctxParams.ldmParams.hashLog >= cctxParams.ldmParams.bucketSizeLog); in ZSTD_makeCCtxParamsFromCParams()
720 CCtxParams->ldmParams.bucketSizeLog = value; in ZSTD_CCtxParams_setParameter()
721 return CCtxParams->ldmParams.bucketSizeLog; in ZSTD_CCtxParams_setParameter()
843 *value = CCtxParams->ldmParams.bucketSizeLog; in ZSTD_CCtxParams_getParameter()
1574 assert(params.ldmParams.hashLog >= params.ldmParams.bucketSizeLog); in ZSTD_resetCCtx_internal()
1674 params.ldmParams.bucketSizeLog); in ZSTD_resetCCtx_internal()
Dzstd_compress_internal.h201 U32 bucketSizeLog; /* Log bucket size for collision resolution, at most 8 */ member