Searched refs:repLength (Results 1 – 2 of 2) sorted by relevance
| /freebsd-13.1/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_lazy.c | 1287 … size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local 1288 int const gain2 = (int)(repLength * 3); in ZSTD_compressBlock_lazy_extDict_generic() 1290 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic() 1291 matchLength = repLength, offset = 0, start = ip; in ZSTD_compressBlock_lazy_extDict_generic() 1318 … size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local 1319 int const gain2 = (int)(repLength * 4); in ZSTD_compressBlock_lazy_extDict_generic() 1321 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic() 1322 matchLength = repLength, offset = 0, start = ip; in ZSTD_compressBlock_lazy_extDict_generic()
|
| /freebsd-13.1/sys/contrib/openzfs/module/zstd/lib/ |
| H A D | zstd.c | 19396 … size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local 19397 int const gain2 = (int)(repLength * 3); in ZSTD_compressBlock_lazy_extDict_generic() 19399 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic() 19400 matchLength = repLength, offset = 0, start = ip; in ZSTD_compressBlock_lazy_extDict_generic() 19427 … size_t const repLength = ZSTD_count_2segments(ip+4, repMatch+4, iend, repEnd, prefixStart) + 4; in ZSTD_compressBlock_lazy_extDict_generic() local 19428 int const gain2 = (int)(repLength * 4); in ZSTD_compressBlock_lazy_extDict_generic() 19430 if ((repLength >= 4) && (gain2 > gain1)) in ZSTD_compressBlock_lazy_extDict_generic() 19431 matchLength = repLength, offset = 0, start = ip; in ZSTD_compressBlock_lazy_extDict_generic()
|