Searched refs:bestLength (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/lib/zstd/compress/ |
D | zstd_lazy.c | 157 size_t bestLength, in ZSTD_DUBT_findBetterDictMatch() argument 196 if (matchLength > bestLength) { in ZSTD_DUBT_findBetterDictMatch() 198 …if ( (4*(int)(matchLength-bestLength)) > (int)(ZSTD_highbit32(curr-matchIndex+1) - ZSTD_highbit32(… in ZSTD_DUBT_findBetterDictMatch() 200 …curr, (U32)bestLength, (U32)matchLength, (U32)*offsetPtr, ZSTD_REP_MOVE + curr - matchIndex, dictM… in ZSTD_DUBT_findBetterDictMatch() 201 bestLength = matchLength, *offsetPtr = ZSTD_REP_MOVE + curr - matchIndex; in ZSTD_DUBT_findBetterDictMatch() 220 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBetterDictMatch() 223 curr, (U32)bestLength, (U32)*offsetPtr, mIndex); in ZSTD_DUBT_findBetterDictMatch() 225 return bestLength; in ZSTD_DUBT_findBetterDictMatch() 307 size_t bestLength = 0; in ZSTD_DUBT_findBestMatch() local 327 if (matchLength > bestLength) { in ZSTD_DUBT_findBestMatch() [all …]
|
D | zstd_opt.c | 408 size_t bestLength = 8; in ZSTD_insertBt1() local 460 if (matchLength > bestLength) { in ZSTD_insertBt1() 461 bestLength = matchLength; in ZSTD_insertBt1() 488 … if (bestLength > 384) positions = MIN(192, (U32)(bestLength - 384)); /* speed optimization */ in ZSTD_insertBt1() 571 size_t bestLength = lengthToBeat-1; in ZSTD_insertBtAndGetAllMatches() local 608 if (repLen > bestLength) { in ZSTD_insertBtAndGetAllMatches() 611 bestLength = repLen; in ZSTD_insertBtAndGetAllMatches() 621 if ((mls == 3) /*static*/ && (bestLength < mls)) { in ZSTD_insertBtAndGetAllMatches() 638 bestLength = mlen; in ZSTD_insertBtAndGetAllMatches() 673 if (matchLength > bestLength) { in ZSTD_insertBtAndGetAllMatches() [all …]
|