Searched refs:minMatch (Results 1 – 1 of 1) sorted by relevance
/lib/zstd/ |
D | zstd_opt.h | 260 const U32 minMatch = (mls == 3) ? 3 : 4; in ZSTD_insertBtAndGetAllMatches() local 263 if (minMatch == 3) { /* HC3 match finder */ in ZSTD_insertBtAndGetAllMatches() 421 const U32 minMatch = (ctx->params.cParams.searchLength == 3) ? 3 : 4; in ZSTD_compressBlock_opt_generic() local 452 (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repCur, minMatch))) { in ZSTD_compressBlock_opt_generic() 453 mlen = (U32)ZSTD_count(ip + minMatch, ip + minMatch - repCur, iend) + minMatch; in ZSTD_compressBlock_opt_generic() 467 } while (mlen >= minMatch); in ZSTD_compressBlock_opt_generic() 472 match_num = ZSTD_BtGetAllMatches_selectMLS(ctx, ip, iend, maxSearches, mls, matches, minMatch); in ZSTD_compressBlock_opt_generic() 488 best_mlen = (last_pos) ? last_pos : minMatch; in ZSTD_compressBlock_opt_generic() 500 if (last_pos < minMatch) { in ZSTD_compressBlock_opt_generic() 550 best_mlen = minMatch; in ZSTD_compressBlock_opt_generic() [all …]
|