Home
last modified time | relevance | path

Searched refs:bestLength (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/lib/zstd/compress/
H A Dzstd_opt.c474 size_t bestLength = 8; in ZSTD_insertBt1() local
527 if (matchLength > bestLength) { in ZSTD_insertBt1()
528 bestLength = matchLength; in ZSTD_insertBt1()
555 … if (bestLength > 384) positions = MIN(192, (U32)(bestLength - 384)); /* speed optimization */ in ZSTD_insertBt1()
642 size_t bestLength = lengthToBeat-1; in ZSTD_insertBtAndGetAllMatches() local
679 if (repLen > bestLength) { in ZSTD_insertBtAndGetAllMatches()
682 bestLength = repLen; in ZSTD_insertBtAndGetAllMatches()
709 bestLength = mlen; in ZSTD_insertBtAndGetAllMatches()
744 if (matchLength > bestLength) { in ZSTD_insertBtAndGetAllMatches()
750 bestLength = matchLength; in ZSTD_insertBtAndGetAllMatches()
[all …]
H A Dzstd_lazy.c169 size_t bestLength, in ZSTD_DUBT_findBetterDictMatch() argument
208 if (matchLength > bestLength) { in ZSTD_DUBT_findBetterDictMatch()
232 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBetterDictMatch()
235 curr, (U32)bestLength, (U32)*offsetPtr, mIndex); in ZSTD_DUBT_findBetterDictMatch()
237 return bestLength; in ZSTD_DUBT_findBetterDictMatch()
320 size_t bestLength = 0; in ZSTD_DUBT_findBestMatch() local
340 if (matchLength > bestLength) { in ZSTD_DUBT_findBestMatch()
375 bestLength = ZSTD_DUBT_findBetterDictMatch( in ZSTD_DUBT_findBestMatch()
377 offBasePtr, bestLength, nbCompares, in ZSTD_DUBT_findBestMatch()
383 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBestMatch()
[all …]