Home
last modified time | relevance | path

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

/dragonfly/contrib/zstd/lib/compress/
H A Dzstd_double_fast.c432 U32 const matchIndex3 = hashLong[h3]; in ZSTD_compressBlock_doubleFast_extDict_generic() local
433 const BYTE* const match3Base = matchIndex3 < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
434 const BYTE* match3 = match3Base + matchIndex3; in ZSTD_compressBlock_doubleFast_extDict_generic()
437 if ( (matchIndex3 > dictStartIndex) && (MEM_read64(match3) == MEM_read64(ip+1)) ) { in ZSTD_compressBlock_doubleFast_extDict_generic()
438 const BYTE* const matchEnd = matchIndex3 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()
439 … const BYTE* const lowMatchPtr = matchIndex3 < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic()
442 offset = curr+1 - matchIndex3; in ZSTD_compressBlock_doubleFast_extDict_generic()
H A Dzstd_opt.c610 U32 const matchIndex3 = ZSTD_insertAndFindFirstIndexHash3(ms, nextToUpdate3, ip); in ZSTD_insertBtAndGetAllMatches() local
611 if ((matchIndex3 >= matchLow) in ZSTD_insertBtAndGetAllMatches()
612 & (curr - matchIndex3 < (1<<18)) /*heuristic : longer distance likely too expensive*/ ) { in ZSTD_insertBtAndGetAllMatches()
614 …noDict) /*static*/ || (dictMode == ZSTD_dictMatchState) /*static*/ || (matchIndex3 >= dictLimit)) { in ZSTD_insertBtAndGetAllMatches()
615 const BYTE* const match = base + matchIndex3; in ZSTD_insertBtAndGetAllMatches()
618 const BYTE* const match = dictBase + matchIndex3; in ZSTD_insertBtAndGetAllMatches()
627 assert(curr > matchIndex3); in ZSTD_insertBtAndGetAllMatches()
629 matches[0].off = (curr - matchIndex3) + ZSTD_REP_MOVE; in ZSTD_insertBtAndGetAllMatches()