Lines Matching refs:bestLength
1584 size_t bestLength = 8;
1603 if (matchLength > bestLength) {
1604 bestLength = matchLength;
1636 if (bestLength > 384)
1637 return MIN(192, (U32)(bestLength - 384)); /* speed optimization */
1666 size_t bestLength = 0;
1686 if (matchLength > bestLength) {
1689 if ((4 * (int)(matchLength - bestLength)) > (int)(ZSTD_highbit32(curr - matchIndex + 1) - ZSTD_highbit32((U32)offsetPtr[0] + 1)))
1690 bestLength = matchLength, *offsetPtr = ZSTD_REP_MOVE + curr - matchIndex;
1721 return bestLength;