Home
last modified time | relevance | path

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

/src/sys/contrib/zstd/lib/compress/
H A Dzstd_lazy.c1954 … 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()
/src/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_lazy.c2036 … size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local
2037 int const gain2 = (int)(repLength * 3); in ZSTD_compressBlock_lazy_extDict_generic()
2039 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic()
2040 matchLength = repLength, offBase = REPCODE1_TO_OFFBASE, start = ip; in ZSTD_compressBlock_lazy_extDict_generic()
2068 … size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local
2069 int const gain2 = (int)(repLength * 4); in ZSTD_compressBlock_lazy_extDict_generic()
2071 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic()
2072 matchLength = repLength, offBase = REPCODE1_TO_OFFBASE, start = ip; in ZSTD_compressBlock_lazy_extDict_generic()