Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_lazy.c734 int const gain2 = (int)(mlRep * 3); in ZSTD_compressBlock_lazy_generic() local
736 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
748 int const gain2 = (int)(mlRep * 3); in ZSTD_compressBlock_lazy_generic() local
750 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
756 int const gain2 = (int)(ml2*4 - ZSTD_highbit32((U32)offset2+1)); /* raw approx */ in ZSTD_compressBlock_lazy_generic() local
758 if ((ml2 >= 4) && (gain2 > gain1)) { in ZSTD_compressBlock_lazy_generic()
769 int const gain2 = (int)(mlRep * 4); in ZSTD_compressBlock_lazy_generic() local
771 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
783 int const gain2 = (int)(mlRep * 4); in ZSTD_compressBlock_lazy_generic() local
785 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
[all …]
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_lazy.c1586 int const gain2 = (int)(mlRep * 3); in ZSTD_compressBlock_lazy_generic() local
1588 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
1600 int const gain2 = (int)(mlRep * 3); in ZSTD_compressBlock_lazy_generic() local
1602 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
1608 …int const gain2 = (int)(ml2*4 - ZSTD_highbit32((U32)STORED_TO_OFFBASE(offset2))); /* raw approx … in ZSTD_compressBlock_lazy_generic() local
1610 if ((ml2 >= 4) && (gain2 > gain1)) { in ZSTD_compressBlock_lazy_generic()
1622 int const gain2 = (int)(mlRep * 4); in ZSTD_compressBlock_lazy_generic() local
1624 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
1636 int const gain2 = (int)(mlRep * 4); in ZSTD_compressBlock_lazy_generic() local
1638 if ((mlRep >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_generic()
[all …]