Home
last modified time | relevance | path

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

/linux-5.19.10/lib/zstd/compress/
Dzstd_ldm.c34 unsigned maxBitsInMask = MIN(params->minMatchLength, 64); in ZSTD_ldm_gear_init()
115 if (!params->minMatchLength) params->minMatchLength = LDM_MIN_MATCH_LENGTH; in ZSTD_ldm_adjustParameters()
140 return params.enableLdm ? (maxChunkSize / params.minMatchLength) : 0; in ZSTD_ldm_getMaxNbSeq()
244 U32 const minMatchLength = params->minMatchLength; in ZSTD_ldm_fillHashTable() local
263 if (ip + splits[n] >= istart + minMatchLength) { in ZSTD_ldm_fillHashTable()
264 BYTE const* const split = ip + splits[n] - minMatchLength; in ZSTD_ldm_fillHashTable()
265 U64 const xxhash = xxh64(split, minMatchLength, 0); in ZSTD_ldm_fillHashTable()
300 U32 const minMatchLength = params->minMatchLength; in ZSTD_ldm_generateSequences_internal() local
325 if (srcSize < minMatchLength) in ZSTD_ldm_generateSequences_internal()
333 while (n < minMatchLength) { in ZSTD_ldm_generateSequences_internal()
[all …]
Dzstd_compress_internal.h202 U32 minMatchLength; /* Minimum match length */ member
Dzstd_compress.c714 CCtxParams->ldmParams.minMatchLength = value; in ZSTD_CCtxParams_setParameter()
715 return CCtxParams->ldmParams.minMatchLength; in ZSTD_CCtxParams_setParameter()
840 *value = CCtxParams->ldmParams.minMatchLength; in ZSTD_CCtxParams_getParameter()