Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_lazy.c733 size_t const mlRep = ZSTD_count(ip+4, ip+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic() local
734 int const gain2 = (int)(mlRep * 3); in ZSTD_compressBlock_lazy_generic()
736 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
737 matchLength = mlRep, offset = 0, start = ip; in ZSTD_compressBlock_lazy_generic()
747 … size_t const mlRep = ZSTD_count_2segments(ip+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_lazy_generic() local
748 int const gain2 = (int)(mlRep * 3); in ZSTD_compressBlock_lazy_generic()
750 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
751 matchLength = mlRep, offset = 0, start = ip; in ZSTD_compressBlock_lazy_generic()
768 size_t const mlRep = ZSTD_count(ip+4, ip+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic() local
769 int const gain2 = (int)(mlRep * 4); in ZSTD_compressBlock_lazy_generic()
[all …]
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_lazy.c1585 size_t const mlRep = ZSTD_count(ip+4, ip+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic() local
1586 int const gain2 = (int)(mlRep * 3); in ZSTD_compressBlock_lazy_generic()
1588 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
1589 matchLength = mlRep, offcode = STORE_REPCODE_1, start = ip; in ZSTD_compressBlock_lazy_generic()
1599 … size_t const mlRep = ZSTD_count_2segments(ip+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_lazy_generic() local
1600 int const gain2 = (int)(mlRep * 3); in ZSTD_compressBlock_lazy_generic()
1602 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
1603 matchLength = mlRep, offcode = STORE_REPCODE_1, start = ip; in ZSTD_compressBlock_lazy_generic()
1621 size_t const mlRep = ZSTD_count(ip+4, ip+4-offset_1, iend) + 4; in ZSTD_compressBlock_lazy_generic() local
1622 int const gain2 = (int)(mlRep * 4); in ZSTD_compressBlock_lazy_generic()
[all …]