zstd/lib/compress
Bimba Shrestha 5b0a452cac
Adding --long support for --patch-from (#1959)
* adding long support for patch-from

* adding refPrefix to dictionary_decompress

* adding refPrefix to dictionary_loader

* conversion nit

* triggering log mode on chainLog < fileLog and removing old threshold

* adding refPrefix to dictionary_round_trip

* adding docs

* adding enableldm + forceWindow test for dict

* separate patch-from logic into FIO_adjustParamsForPatchFromMode

* moving memLimit adjustment to outside ifdefs (need for decomp)

* removing refPrefix gate on dictionary_round_trip

* rebase on top of dev refPrefix change

* making sure refPrefx + ldm is < 1% of srcSize

* combining notes for patch-from

* moving memlimit logic inside fileio.c

* adding display for optimal parser and long mode trigger

* conversion nit

* fuzzer found heap-overflow fix

* another conversion nit

* moving FIO_adjustMemLimitForPatchFromMode outside ifndef

* making params immutable

* moving memLimit update before createDictBuffer call

* making maxSrcSize unsigned long long

* making dictSize and maxSrcSize params unsigned long long

* error on files larger than 4gb

* extend refPrefix test to include round trip

* conversion to size_t

* making sure ldm is at least 10x better

* removing break

* including zstd_compress_internal and removing redundant macros

* exposing ZSTD_cycleLog()

* using cycleLog instead of chainLog

* add some more docs about user optimizations

* formatting
2020-04-17 15:58:53 -05:00
..
fse_compress.c Code replicated in compression and decompression moved to shared headers 2020-04-07 11:02:06 +02:00
hist.c Fix copyright and license lines 2020-03-26 17:02:06 -07:00
hist.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
huf_compress.c Further replication removed 2020-04-07 11:25:16 +02:00
zstd_compress_internal.h Adding --long support for --patch-from (#1959) 2020-04-17 15:58:53 -05:00
zstd_compress_literals.c Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_compress_literals.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_compress_sequences.c Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_compress_sequences.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_compress_superblock.c Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_compress_superblock.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_compress.c Adding --long support for --patch-from (#1959) 2020-04-17 15:58:53 -05:00
zstd_cwksp.h moving consts to zstd_internal and reusing them 2020-04-03 14:26:15 -07:00
zstd_double_fast.c Merge pull request #2040 from caoyzh/dev-2 2020-04-08 13:14:47 -07:00
zstd_double_fast.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_fast.c Merge pull request #2040 from caoyzh/dev-2 2020-04-08 13:14:47 -07:00
zstd_fast.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_lazy.c Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_lazy.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_ldm.c Adding --long support for --patch-from (#1959) 2020-04-17 15:58:53 -05:00
zstd_ldm.h Adding --long support for --patch-from (#1959) 2020-04-17 15:58:53 -05:00
zstd_opt.c Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstd_opt.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00
zstdmt_compress.c Adding --long support for --patch-from (#1959) 2020-04-17 15:58:53 -05:00
zstdmt_compress.h Fix copyright and license lines 2020-03-26 17:02:06 -07:00