Home
last modified time | relevance | path

Searched refs:matchIndex3 (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/compress/
H 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()
H 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 if ((dictMode == ZSTD_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()
/kernel/linux/linux-5.10/lib/zstd/
H A Dzstd_opt.h264 U32 const matchIndex3 = ZSTD_insertAndFindFirstIndexHash3(zc, ip); in ZSTD_insertBtAndGetAllMatches() local
265 if (matchIndex3 > windowLow && (curr - matchIndex3 < (1 << 18))) { in ZSTD_insertBtAndGetAllMatches()
268 if ((!extDict) || matchIndex3 >= dictLimit) { in ZSTD_insertBtAndGetAllMatches()
269 match = base + matchIndex3; in ZSTD_insertBtAndGetAllMatches()
273 match = dictBase + matchIndex3; in ZSTD_insertBtAndGetAllMatches()
275 ZSTD_readMINMATCH(ip, MINMATCH)) /* assumption : matchIndex3 <= dictLimit-4 (by table construction) */ in ZSTD_insertBtAndGetAllMatches()
282 matches[mnum].off = ZSTD_REP_MOVE_OPT + curr - matchIndex3; in ZSTD_insertBtAndGetAllMatches()
H A Dcompress.c1310 U32 const matchIndex3 = hashLong[h3]; in ZSTD_compressBlock_doubleFast_generic() local
1311 const BYTE *match3 = base + matchIndex3; in ZSTD_compressBlock_doubleFast_generic()
1313 if ((matchIndex3 > lowestIndex) && (ZSTD_read64(match3) == ZSTD_read64(ip + 1))) { in ZSTD_compressBlock_doubleFast_generic()
1459 U32 const matchIndex3 = hashLong[h3]; in ZSTD_compressBlock_doubleFast_extDict_generic() local
1460 const BYTE *const match3Base = matchIndex3 < dictLimit ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
1461 const BYTE *match3 = match3Base + matchIndex3; in ZSTD_compressBlock_doubleFast_extDict_generic()
1464 if ((matchIndex3 > lowestIndex) && (ZSTD_read64(match3) == ZSTD_read64(ip + 1))) { in ZSTD_compressBlock_doubleFast_extDict_generic()
1465 const BYTE *matchEnd = matchIndex3 < dictLimit ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()
1466 const BYTE *lowMatchPtr = matchIndex3 < dictLimit ? dictStart : lowPrefixPtr; in ZSTD_compressBlock_doubleFast_extDict_generic()
1469 offset = curr + 1 - matchIndex3; in ZSTD_compressBlock_doubleFast_extDict_generic()
[all...]

Completed in 11 milliseconds