HomeSort by: relevance | last modified time | path
    Searched refs:bestLength (Results 1 - 2 of 2) sorted by relevancy

  /src/external/bsd/zstd/dist/lib/compress/
zstd_opt.c 473 size_t bestLength = 8;
526 if (matchLength > bestLength) {
527 bestLength = matchLength;
554 if (bestLength > 384) positions = MIN(192, (U32)(bestLength - 384)); /* speed optimization */
641 size_t bestLength = lengthToBeat-1;
678 if (repLen > bestLength) {
681 bestLength = repLen;
691 if ((mls == 3) /*static*/ && (bestLength < mls)) {
705 if (mlen >= mls /* == 3 > bestLength */) {
    [all...]
zstd_lazy.c 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) {
    [all...]

Completed in 32 milliseconds