Searched refs:ml2 (Results 1 – 2 of 2) sorted by relevance
| /linux/lib/lz4/ |
| H A D | lz4hc_compress.c | 357 int ml, ml2, ml3, ml0; in LZ4HC_compress_generic() local 392 ml2 = LZ4HC_InsertAndGetWiderMatch(ctx, in LZ4HC_compress_generic() 397 ml2 = ml; in LZ4HC_compress_generic() 399 if (ml2 == ml) { in LZ4HC_compress_generic() 419 ml = ml2; in LZ4HC_compress_generic() 437 if (ip + new_ml > start2 + ml2 - MINMATCH) in LZ4HC_compress_generic() 438 new_ml = (int)(start2 - ip) + ml2 - MINMATCH; in LZ4HC_compress_generic() 445 ml2 -= correction; in LZ4HC_compress_generic() 453 if (start2 + ml2 < mflimit) in LZ4HC_compress_generic() 455 start2 + ml2 - 3, start2, in LZ4HC_compress_generic() [all …]
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_lazy.c | 1609 …size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &offbaseFound, mls, rowLog, searchMethod, dictMode… in ZSTD_compressBlock_lazy_generic() local 1610 if (ml2 > matchLength) in ZSTD_compressBlock_lazy_generic() 1611 matchLength = ml2, start = ip, offBase = offbaseFound; in ZSTD_compressBlock_lazy_generic() 1657 …size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &ofbCandidate, mls, rowLog, searchMethod, dictMode… in ZSTD_compressBlock_lazy_generic() local 1658 … int const gain2 = (int)(ml2*4 - ZSTD_highbit32((U32)ofbCandidate)); /* raw approx */ in ZSTD_compressBlock_lazy_generic() 1660 if ((ml2 >= 4) && (gain2 > gain1)) { in ZSTD_compressBlock_lazy_generic() 1661 matchLength = ml2, offBase = ofbCandidate, start = ip; in ZSTD_compressBlock_lazy_generic() 1693 …size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &ofbCandidate, mls, rowLog, searchMethod, dictMode… in ZSTD_compressBlock_lazy_generic() local 1694 … int const gain2 = (int)(ml2*4 - ZSTD_highbit32((U32)ofbCandidate)); /* raw approx */ in ZSTD_compressBlock_lazy_generic() 1696 if ((ml2 >= 4) && (gain2 > gain1)) { in ZSTD_compressBlock_lazy_generic() [all …]
|