Home
last modified time | relevance | path

Searched refs:nbCompares (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/lib/zstd/compress/
H A Dzstd_opt.c475 U32 nbCompares = 1U << cParams->searchLog; in ZSTD_insertBt1() local
490 for (; nbCompares && (matchIndex >= windowLow); --nbCompares) { in ZSTD_insertBt1()
627 U32 nbCompares = 1U << cParams->searchLog; in ZSTD_insertBtAndGetAllMatches() local
725 for (; nbCompares && (matchIndex >= matchLow); --nbCompares) { in ZSTD_insertBtAndGetAllMatches()
756 … if (dictMode == ZSTD_dictMatchState) nbCompares = 0; /* break should also skip searching dms */ in ZSTD_insertBtAndGetAllMatches()
777 assert(nbCompares <= (1U << ZSTD_SEARCHLOG_MAX)); /* Check we haven't underflowed. */ in ZSTD_insertBtAndGetAllMatches()
778 if (dictMode == ZSTD_dictMatchState && nbCompares) { in ZSTD_insertBtAndGetAllMatches()
783 for (; nbCompares && (dictMatchIndex > dmsLowLimit); --nbCompares) { in ZSTD_insertBtAndGetAllMatches()
H A Dzstd_lazy.c77 U32 nbCompares, U32 btLow, in ZSTD_insertDUBT1() argument
107 for (; nbCompares && (matchIndex > windowLow); --nbCompares) { in ZSTD_insertDUBT1()
170 U32 nbCompares, in ZSTD_DUBT_findBetterDictMatch() argument
200 for (; nbCompares && (dictMatchIndex > dictLowLimit); --nbCompares) { in ZSTD_DUBT_findBetterDictMatch()
268 U32 nbCompares = 1U << cParams->searchLog; in ZSTD_DUBT_findBestMatch() local
269 U32 nbCandidates = nbCompares; in ZSTD_DUBT_findBestMatch()
325 for (; nbCompares && (matchIndex > windowLow); --nbCompares) { in ZSTD_DUBT_findBestMatch()
347 nbCompares = 0; /* in addition to avoiding checking any in ZSTD_DUBT_findBestMatch()
373 assert(nbCompares <= (1U << ZSTD_SEARCHLOG_MAX)); /* Check we haven't underflowed. */ in ZSTD_DUBT_findBestMatch()
374 if (dictMode == ZSTD_dictMatchState && nbCompares) { in ZSTD_DUBT_findBestMatch()
[all …]