Home
last modified time | relevance | path

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

/linux/lib/zstd/compress/
H A Dzstd_ldm.c34 unsigned maxBitsInMask = MIN(params->minMatchLength, 64); in ZSTD_ldm_gear_init()
66 BYTE const* data, size_t minMatchLength) in ZSTD_ldm_gear_reset() argument
75 while (n + 3 < minMatchLength) { in ZSTD_ldm_gear_reset()
81 while (n < minMatchLength) { in ZSTD_ldm_gear_reset()
142 if (!params->minMatchLength) params->minMatchLength = LDM_MIN_MATCH_LENGTH; in ZSTD_ldm_adjustParameters()
167 return params.enableLdm == ZSTD_ps_enable ? (maxChunkSize / params.minMatchLength) : 0; in ZSTD_ldm_getMaxNbSeq()
271 U32 const minMatchLength = params->minMatchLength; in ZSTD_ldm_fillHashTable() local
290 if (ip + splits[n] >= istart + minMatchLength) { in ZSTD_ldm_fillHashTable()
291 BYTE const* const split = ip + splits[n] - minMatchLength; in ZSTD_ldm_fillHashTable()
292 U64 const xxhash = xxh64(split, minMatchLength, 0); in ZSTD_ldm_fillHashTable()
[all …]
H A Dzstd_compress_internal.h266 U32 minMatchLength; /* Minimum match length */ member
H A Dzstd_compress.c807 CCtxParams->ldmParams.minMatchLength = value; in ZSTD_CCtxParams_setParameter()
808 return CCtxParams->ldmParams.minMatchLength; in ZSTD_CCtxParams_setParameter()
948 *value = CCtxParams->ldmParams.minMatchLength; in ZSTD_CCtxParams_getParameter()