Searched refs:repLength (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/lib/zstd/compress/ |
H A D | zstd_lazy.c | 1952 size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local 1953 int const gain2 = (int)(repLength * 3); in ZSTD_compressBlock_lazy_extDict_generic() 1955 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic() 1956 matchLength = repLength, offcode = STORE_REPCODE_1, start = ip; in ZSTD_compressBlock_lazy_extDict_generic() 1984 size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local 1985 int const gain2 = (int)(repLength * 4); in ZSTD_compressBlock_lazy_extDict_generic() 1987 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic() 1988 matchLength = repLength, offcode = STORE_REPCODE_1, start = ip; in ZSTD_compressBlock_lazy_extDict_generic()
|
/kernel/linux/linux-5.10/lib/zstd/ |
H A D | compress.c | 2136 size_t const repLength = in ZSTD_compressBlock_lazy_extDict_generic() local 2139 int const gain2 = (int)(repLength * 3); in ZSTD_compressBlock_lazy_extDict_generic() 2141 if ((repLength >= EQUAL_READ32) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic() 2142 matchLength = repLength, offset = 0, start = ip; in ZSTD_compressBlock_lazy_extDict_generic() 2171 size_t repLength = ZSTD_count_2segments(ip + EQUAL_READ32, repMatch + EQUAL_READ32, iend, in ZSTD_compressBlock_lazy_extDict_generic() local 2174 int gain2 = (int)(repLength * 4); in ZSTD_compressBlock_lazy_extDict_generic() 2176 if ((repLength >= EQUAL_READ32) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic() 2177 matchLength = repLength, offset = 0, start = ip; in ZSTD_compressBlock_lazy_extDict_generic()
|
Completed in 17 milliseconds