Searched refs:ml2 (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/lib/lz4/ |
D | lz4hc_compress.c | 358 int ml, ml2, ml3, ml0; in LZ4HC_compress_generic() local 393 ml2 = LZ4HC_InsertAndGetWiderMatch(ctx, in LZ4HC_compress_generic() 398 ml2 = ml; in LZ4HC_compress_generic() 400 if (ml2 == ml) { in LZ4HC_compress_generic() 420 ml = ml2; in LZ4HC_compress_generic() 438 if (ip + new_ml > start2 + ml2 - MINMATCH) in LZ4HC_compress_generic() 439 new_ml = (int)(start2 - ip) + ml2 - MINMATCH; in LZ4HC_compress_generic() 446 ml2 -= correction; in LZ4HC_compress_generic() 454 if (start2 + ml2 < mflimit) in LZ4HC_compress_generic() 456 start2 + ml2 - 3, start2, in LZ4HC_compress_generic() [all …]
|
/linux-5.19.10/lib/zstd/compress/ |
D | zstd_lazy.c | 972 size_t const ml2 = searchMax(ms, ip, iend, &offsetFound); in ZSTD_compressBlock_lazy_generic() local 973 if (ml2 > matchLength) in ZSTD_compressBlock_lazy_generic() 974 matchLength = ml2, start = ip, offset=offsetFound; in ZSTD_compressBlock_lazy_generic() 1010 size_t const ml2 = searchMax(ms, ip, iend, &offset2); in ZSTD_compressBlock_lazy_generic() local 1011 int const gain2 = (int)(ml2*4 - ZSTD_highbit32((U32)offset2+1)); /* raw approx */ in ZSTD_compressBlock_lazy_generic() 1013 if ((ml2 >= 4) && (gain2 > gain1)) { in ZSTD_compressBlock_lazy_generic() 1014 matchLength = ml2, offset = offset2, start = ip; in ZSTD_compressBlock_lazy_generic() 1045 size_t const ml2 = searchMax(ms, ip, iend, &offset2); in ZSTD_compressBlock_lazy_generic() local 1046 … int const gain2 = (int)(ml2*4 - ZSTD_highbit32((U32)offset2+1)); /* raw approx */ in ZSTD_compressBlock_lazy_generic() 1048 if ((ml2 >= 4) && (gain2 > gain1)) { in ZSTD_compressBlock_lazy_generic() [all …]
|