Home
last modified time | relevance | path

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

/linux/lib/lz4/
H A Dlz4hc_compress.c357 int ml, ml2, ml3, ml0; in LZ4HC_compress_generic()
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()
428 * ml2 > ml1, and 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 < mflimi in LZ4HC_compress_generic()
358 int ml, ml2, ml3, ml0; LZ4HC_compress_generic() local
[all...]
/linux/lib/zstd/compress/
H A Dzstd_lazy.c1566 …size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &offsetFound, mls, rowLog, searchMethod, dictMode); in ZSTD_compressBlock_lazy_generic() local
1567 if (ml2 > matchLength) in ZSTD_compressBlock_lazy_generic()
1568 matchLength = ml2, start = ip, offcode=offsetFound; in ZSTD_compressBlock_lazy_generic()
1605 … size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &offset2, mls, rowLog, searchMethod, dictMode); in ZSTD_compressBlock_lazy_generic() local
1606 …int const gain2 = (int)(ml2*4 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offset2))); /* raw approx … in ZSTD_compressBlock_lazy_generic()
1608 if ((ml2 >= 4) && (gain2 > gain1)) { in ZSTD_compressBlock_lazy_generic()
1609 matchLength = ml2, offcode = offset2, start = ip; in ZSTD_compressBlock_lazy_generic()
1641 … size_t const ml2 = ZSTD_searchMax(ms, ip, iend, &offset2, mls, rowLog, searchMethod, dictMode); in ZSTD_compressBlock_lazy_generic() local
1642 …int const gain2 = (int)(ml2*4 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offset2))); /* raw approx … in ZSTD_compressBlock_lazy_generic()
1644 if ((ml2 >= 4) && (gain2 > gain1)) { in ZSTD_compressBlock_lazy_generic()
[all …]