Searched refs:repLength (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_lazy.c | 1015 … size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local 1016 int const gain2 = (int)(repLength * 3); in ZSTD_compressBlock_lazy_extDict_generic() 1018 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic() 1019 matchLength = repLength, offset = 0, start = ip; in ZSTD_compressBlock_lazy_extDict_generic() 1047 … size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local 1048 int const gain2 = (int)(repLength * 4); in ZSTD_compressBlock_lazy_extDict_generic() 1050 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic() 1051 matchLength = repLength, offset = 0, start = ip; in ZSTD_compressBlock_lazy_extDict_generic()
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_lazy.c | 1954 … size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local 1955 int const gain2 = (int)(repLength * 3); in ZSTD_compressBlock_lazy_extDict_generic() 1957 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic() 1958 matchLength = repLength, offcode = STORE_REPCODE_1, start = ip; in ZSTD_compressBlock_lazy_extDict_generic() 1986 … size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local 1987 int const gain2 = (int)(repLength * 4); in ZSTD_compressBlock_lazy_extDict_generic() 1989 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic() 1990 matchLength = repLength, offcode = STORE_REPCODE_1, start = ip; in ZSTD_compressBlock_lazy_extDict_generic()
|