Home | History | Annotate | Download | only in compress

Lines Matching refs:bestLength

168         size_t bestLength,
207 if (matchLength > bestLength) {
209 if ( (4*(int)(matchLength-bestLength)) > (int)(ZSTD_highbit32(curr-matchIndex+1) - ZSTD_highbit32((U32)offsetPtr[0]+1)) ) {
211 curr, (U32)bestLength, (U32)matchLength, (U32)*offsetPtr, OFFSET_TO_OFFBASE(curr - matchIndex), dictMatchIndex, matchIndex);
212 bestLength = matchLength, *offsetPtr = OFFSET_TO_OFFBASE(curr - matchIndex);
231 if (bestLength >= MINMATCH) {
234 curr, (U32)bestLength, (U32)*offsetPtr, mIndex);
236 return bestLength;
319 size_t bestLength = 0;
339 if (matchLength > bestLength) {
342 if ( (4*(int)(matchLength-bestLength)) > (int)(ZSTD_highbit32(curr - matchIndex + 1) - ZSTD_highbit32((U32)*offBasePtr)) )
343 bestLength = matchLength, *offBasePtr = OFFSET_TO_OFFBASE(curr - matchIndex);
374 bestLength = ZSTD_DUBT_findBetterDictMatch(
376 offBasePtr, bestLength, nbCompares,
382 if (bestLength >= MINMATCH) {
385 curr, (U32)bestLength, (U32)*offBasePtr, mIndex);
387 return bestLength;