Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dzstd_opt.c959 static void ZSTD_optLdm_maybeAddMatch(ZSTD_match_t* matches, U32* nbMatches, in ZSTD_optLdm_maybeAddMatch() argument
973 …if (*nbMatches == 0 || ((candidateMatchLength > matches[*nbMatches-1].len) && *nbMatches < ZSTD_OP… in ZSTD_optLdm_maybeAddMatch()
977 matches[*nbMatches].len = candidateMatchLength; in ZSTD_optLdm_maybeAddMatch()
978 matches[*nbMatches].off = candidateOffCode; in ZSTD_optLdm_maybeAddMatch()
979 (*nbMatches)++; in ZSTD_optLdm_maybeAddMatch()
988 ZSTD_match_t* matches, U32* nbMatches, in ZSTD_optLdm_processMatchCandidate() argument
1006 ZSTD_optLdm_maybeAddMatch(matches, nbMatches, optLdm, currPosInBlock); in ZSTD_optLdm_processMatchCandidate()
1083 … U32 nbMatches = getAllMatches(matches, ms, &nextToUpdate3, ip, iend, rep, ll0, minMatch); in ZSTD_compressBlock_opt_generic() local
1084 ZSTD_optLdm_processMatchCandidate(&optLdm, matches, &nbMatches, in ZSTD_compressBlock_opt_generic()
1086 if (!nbMatches) { ip++; continue; } in ZSTD_compressBlock_opt_generic()
[all …]