Home
last modified time | relevance | path

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

/linux-6.3-rc2/lib/zstd/compress/
A Dzstd_double_fast.c603 U32 const matchIndex3 = hashLong[h3]; in ZSTD_compressBlock_doubleFast_extDict_generic() local
604 const BYTE* const match3Base = matchIndex3 < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
605 const BYTE* match3 = match3Base + matchIndex3; in ZSTD_compressBlock_doubleFast_extDict_generic()
608 if ( (matchIndex3 > dictStartIndex) && (MEM_read64(match3) == MEM_read64(ip+1)) ) { in ZSTD_compressBlock_doubleFast_extDict_generic()
609 const BYTE* const matchEnd = matchIndex3 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()
610 … const BYTE* const lowMatchPtr = matchIndex3 < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic()
613 offset = curr+1 - matchIndex3; in ZSTD_compressBlock_doubleFast_extDict_generic()
A Dzstd_opt.c657 U32 const matchIndex3 = ZSTD_insertAndFindFirstIndexHash3(ms, nextToUpdate3, ip); in ZSTD_insertBtAndGetAllMatches() local
658 if ((matchIndex3 >= matchLow) in ZSTD_insertBtAndGetAllMatches()
659 & (curr - matchIndex3 < (1<<18)) /*heuristic : longer distance likely too expensive*/ ) { in ZSTD_insertBtAndGetAllMatches()
661 …noDict) /*static*/ || (dictMode == ZSTD_dictMatchState) /*static*/ || (matchIndex3 >= dictLimit)) { in ZSTD_insertBtAndGetAllMatches()
662 const BYTE* const match = base + matchIndex3; in ZSTD_insertBtAndGetAllMatches()
665 const BYTE* const match = dictBase + matchIndex3; in ZSTD_insertBtAndGetAllMatches()
674 assert(curr > matchIndex3); in ZSTD_insertBtAndGetAllMatches()
676 matches[0].off = STORE_OFFSET(curr - matchIndex3); in ZSTD_insertBtAndGetAllMatches()

Completed in 9 milliseconds