Searched refs:bestLength (Results 1 - 2 of 2) sorted by path

/linux-master/lib/zstd/compress/
H A Dzstd_lazy.c157 size_t bestLength,
196 if (matchLength > bestLength) {
198 if ( (4*(int)(matchLength-bestLength)) > (int)(ZSTD_highbit32(curr-matchIndex+1) - ZSTD_highbit32((U32)offsetPtr[0]+1)) ) {
200 curr, (U32)bestLength, (U32)matchLength, (U32)*offsetPtr, STORE_OFFSET(curr - matchIndex), dictMatchIndex, matchIndex);
201 bestLength = matchLength, *offsetPtr = STORE_OFFSET(curr - matchIndex);
220 if (bestLength >= MINMATCH) {
223 curr, (U32)bestLength, (U32)*offsetPtr, mIndex);
225 return bestLength;
307 size_t bestLength = 0; local
327 if (matchLength > bestLength) {
153 ZSTD_DUBT_findBetterDictMatch( const ZSTD_matchState_t* ms, const BYTE* const ip, const BYTE* const iend, size_t* offsetPtr, size_t bestLength, U32 nbCompares, U32 const mls, const ZSTD_dictMode_e dictMode) argument
[all...]
H A Dzstd_opt.c442 size_t bestLength = 8; local
495 if (matchLength > bestLength) {
496 bestLength = matchLength;
523 if (bestLength > 384) positions = MIN(192, (U32)(bestLength - 384)); /* speed optimization */
606 size_t bestLength = lengthToBeat-1; local
643 if (repLen > bestLength) {
646 bestLength = repLen;
656 if ((mls == 3) /*static*/ && (bestLength < mls)) {
670 if (mlen >= mls /* == 3 > bestLength */) {
[all...]

Completed in 212 milliseconds