Home
last modified time | relevance | path

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

/linux-5.19.10/lib/zstd/compress/
Dzstd_double_fast.c430 U32 const matchIndex3 = hashLong[h3]; in ZSTD_compressBlock_doubleFast_extDict_generic() local
431 const BYTE* const match3Base = matchIndex3 < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
432 const BYTE* match3 = match3Base + matchIndex3; in ZSTD_compressBlock_doubleFast_extDict_generic()
435 if ( (matchIndex3 > dictStartIndex) && (MEM_read64(match3) == MEM_read64(ip+1)) ) { in ZSTD_compressBlock_doubleFast_extDict_generic()
436 const BYTE* const matchEnd = matchIndex3 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()
437 … const BYTE* const lowMatchPtr = matchIndex3 < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic()
440 offset = curr+1 - matchIndex3; in ZSTD_compressBlock_doubleFast_extDict_generic()
Dzstd_opt.c622 U32 const matchIndex3 = ZSTD_insertAndFindFirstIndexHash3(ms, nextToUpdate3, ip); in ZSTD_insertBtAndGetAllMatches() local
623 if ((matchIndex3 >= matchLow) in ZSTD_insertBtAndGetAllMatches()
624 & (curr - matchIndex3 < (1<<18)) /*heuristic : longer distance likely too expensive*/ ) { in ZSTD_insertBtAndGetAllMatches()
626 …noDict) /*static*/ || (dictMode == ZSTD_dictMatchState) /*static*/ || (matchIndex3 >= dictLimit)) { in ZSTD_insertBtAndGetAllMatches()
627 const BYTE* const match = base + matchIndex3; in ZSTD_insertBtAndGetAllMatches()
630 const BYTE* const match = dictBase + matchIndex3; in ZSTD_insertBtAndGetAllMatches()
639 assert(curr > matchIndex3); in ZSTD_insertBtAndGetAllMatches()
641 matches[0].off = (curr - matchIndex3) + ZSTD_REP_MOVE; in ZSTD_insertBtAndGetAllMatches()