1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-06 23:56:40 +02:00
Commit Graph

1102 Commits

Author SHA1 Message Date
ea3cb6988f Cast to BYTE to appease appveyor 2019-10-21 15:36:12 -04:00
a727a85a7e merge conflicts round 2 2019-10-21 15:36:12 -04:00
053a35fd64 formatting 2019-10-21 15:35:33 -04:00
3fa4daaa55 Fix error 2019-10-21 15:35:33 -04:00
3328348c63 Add compressionlevel to cdict 2019-10-21 15:32:39 -04:00
cf725630a6 Merge pull request #1795 from felixhandte/workspace-asan
Add Poisoned Redzones to the Workspace When Compiling with ASAN
2019-10-21 12:15:17 -04:00
e8aa3e486d Updated forceAttachDict param bounds 2019-10-20 22:01:08 -04:00
6d297265f9 Add enum to decision process 2019-10-20 19:02:47 -04:00
1daa898c93 Added support for forcing new CDict behavior and updated enum 2019-10-20 14:03:09 -04:00
6323966e53 updated erroneous comments using ZSTD_dm_*
instead of the current ZSTD_dct_*,
reported by @nigeltao (#1822)
2019-10-16 16:14:04 -07:00
4455f00cb8 Changed to int from BYTE 2019-10-16 15:06:02 -04:00
4f7d26b0ee Changed to int from BYTE 2019-10-16 15:05:29 -04:00
cf00ea367a Trailing whitespace 2019-10-16 10:31:27 -04:00
8cb2174446 Fix test 2019-10-16 10:29:31 -04:00
5e901b6f32 Cast to BYTE to appease appveyor 2019-10-15 13:58:44 -04:00
5c010c9d2d merge conflicts round 2 2019-10-15 13:10:05 -04:00
a06b51879c merge conflict 2019-10-15 12:58:50 -04:00
23dac23a49 formatting 2019-10-15 12:44:48 -04:00
0c8df5c928 Fix error 2019-10-15 12:28:23 -04:00
a65eb39f9d Add compressionlevel to cdict 2019-10-15 10:22:06 -04:00
ede31da2ea Fix CCtx Size Estimation 2019-10-10 15:02:08 -04:00
2c80a9f8ac Check if CCtx in Workspace after Null Check 2019-10-10 13:40:16 -04:00
0ffae7e440 Stop Allocating Extra Space for Table Redzones 2019-10-10 13:40:16 -04:00
0cc481ef66 Fix Workspace Size Calculation 2019-10-10 13:40:16 -04:00
b6c0a02a17 Fix ZSTD_sizeof_matchState() Calculation 2019-10-10 13:40:16 -04:00
ef0b5707c5 Refactor Freeing CCtxes / CDicts Inside Workspaces 2019-10-10 13:40:16 -04:00
19a0955ec9 Add ZSTD_cwksp_alloc_size() to Help Calculate Needed Workspace Size 2019-10-10 13:40:16 -04:00
da88c35d41 Stop Assuming Tables are Adjacent 2019-10-10 13:40:16 -04:00
36528b96c4 Manually moving instead of memcpy on decoder and using genBuffer() 2019-10-03 09:26:51 -07:00
61ec4c2e7f Cleaning sequence parsing logic 2019-10-03 06:42:40 -07:00
c04245b257 Replacing assert with memory_allocation error code throw 2019-09-23 15:42:16 -07:00
be0bebd24e Adding test and null check for malloc 2019-09-23 15:08:18 -07:00
f3c4fd17e3 Passing in dummy dst buffer of compressbound(srcSize) 2019-09-20 15:50:58 -07:00
ae6d0e64ae Addressing comments 2019-09-19 15:25:20 -07:00
76fea3fb99 Resolving appveyor test failure implicit conversion 2019-09-16 14:02:23 -07:00
a874435478 Merge branch 'dev' into extract_sequences_api 2019-09-16 13:29:59 -07:00
bff6072e3a Bailing early when collecting sequences and documentation 2019-09-16 08:26:21 -07:00
a10c191613 __msan_poison() Workspace When Preparing for Re-Use 2019-09-11 17:14:45 -04:00
7c57e2b9ca Zero h3size When h3log is 0
This led to a nasty edgecase, where index reduction for modes that don't use
the h3 table would have a degenerate table (size 4) allocated and marked clean,
but which would not be re-indexed.
2019-09-11 13:14:26 -04:00
bc020eec92 Also Shrink Clean Table Area When Reducing Indices 2019-09-11 11:40:57 -04:00
1999b2ed9b Update DEBUGLOG Statements 2019-09-11 11:21:00 -04:00
13e29a56de Shrink Clean Table Area When Copying Table Contents into Context
The source matchState is potentially at a lower current index, which means
that any extra table space not overwritten by the copy may now contain
invalid indices. The simple solution is to unconditionally shrink the valid
table area to just the area overwritten.
2019-09-11 11:18:45 -04:00
edb3ad053e Comments 2019-09-10 18:25:45 -04:00
f31ef28ff8 Only Reset Indexing in ZSTD_resetCCtx_internal() When Necessary 2019-09-10 18:25:45 -04:00
9968a53e91 Remove No-Longer-Used Continuation Functions 2019-09-10 18:25:45 -04:00
1b28e80416 Remove Fast Continue Path in ZSTD_resetCCtx_internal() 2019-09-10 18:25:45 -04:00
ad16eda5e4 ZSTD_reset_matchState Optionally Doesn't Restart Indexing 2019-09-10 18:25:45 -04:00
5b10bb5ec3 Rename ZSTD_compResetPolicy_e Values and Add Comment 2019-09-10 18:25:45 -04:00
0492b9a9ec Accept ZSTD_indexResetPolicy_e Param in ZSTD_reset_matchState() 2019-09-10 18:25:45 -04:00
14c5471d5e Introduce ZSTD_indexResetPolicy_e Enum 2019-09-10 18:25:45 -04:00