Commit Graph

  • a5500cf2af Refactor separate ldm variables all into one struct senhuang42 2020-10-05 18:10:10 -0400
  • 0731b94e7c Use kNullRawSeqStore constant in zstdmt_compress.c senhuang42 2020-10-05 10:50:49 -0400
  • 0325d878f2 Remove bubbling down matches with longer offCode and same matchLen senhuang42 2020-10-04 21:48:39 -0400
  • 031b7ec15f Disable LDM minMatch adjustment when using opt parser senhuang42 2020-10-04 21:47:25 -0400
  • ddf8a3f1b9 Enable inclusion of mid-flight LDMs in opt parser senhuang42 2020-10-04 21:46:47 -0400
  • 88f72ed942 Correct incorrect offcode calculation senhuang42 2020-10-02 19:08:10 -0400
  • e96ea5d147 Fix static analyze fuzzer.c error senhuang42 2020-10-02 15:27:06 -0400
  • d8b43a4202 Add explicit conversion of size_t to U32 senhuang42 2020-10-02 13:47:54 -0400
  • b8bfc4e63d Add cSize regression test to fuzzer.c senhuang42 2020-10-02 09:49:35 -0400
  • c87d2e5866 Prefix new static ldm helpers with ZSTD_opt senhuang42 2020-10-01 16:14:41 -0400
  • 429dec4f42 Add DEBUGLOG() calls in ldm helpers senhuang42 2020-10-01 12:07:18 -0400
  • 10647924f1 Make function descriptions more accurate senhuang42 2020-10-01 11:47:35 -0400
  • 1a687b3fcb Improve documentation of relevant structs senhuang42 2020-10-01 11:40:52 -0400
  • 37617e23d7 Correct matchLength calculation and remove unnecessary functions senhuang42 2020-10-01 11:35:48 -0400
  • 7dee62c287 Reset ldmSeqStore after initStats_ultra() pass for btultra2 senhuang42 2020-10-01 10:13:06 -0400
  • 0718aa70df Refactor existing functions to use posInSequence senhuang42 2020-10-01 10:12:21 -0400
  • 7348b40a87 Adjustments to ldm_calculateMatchRange() to calculate bounds correctly senhuang42 2020-09-30 19:45:40 -0400
  • a1ef2db5b2 Add ldm_calculateMatchRange() function senhuang42 2020-09-30 19:14:31 -0400
  • ef823e0299 Remove rawSeqStore.base and add rawSeqStore.posInSequence senhuang42 2020-09-30 17:20:47 -0400
  • cfd2aec1b7 Add unit tests into playTests.sh senhuang42 2020-09-30 13:25:02 -0400
  • 4793ae3b84 Prevent duplicate LDMs from being inserted senhuang42 2020-09-30 12:54:45 -0400
  • 65f9cfeeec Add extra bounds check to prevent heap access after free ASAN error senhuang42 2020-09-30 11:25:51 -0400
  • bff5785fd5 Address mixed variables C90 warning senhuang42 2020-09-30 11:06:44 -0400
  • 724b94ed18 ldm_getNextMatch fixed return values senhuang42 2020-09-29 18:12:32 -0400
  • ea92fb3a68 Cleanups, add comments and explanations senhuang42 2020-09-29 16:35:06 -0400
  • 78da2e1808 Fixed sifting algorithm senhuang42 2020-09-29 15:35:13 -0400
  • 6ccd97fc96 Fixed end of match boundary update issues senhuang42 2020-09-29 12:12:58 -0400
  • 28394b64f2 Add proper bounds check on adding ldms senhuang42 2020-09-28 17:58:23 -0400
  • a2f2b58d04 Add a function ldm_voidSequences() senhuang42 2020-09-28 10:29:17 -0400
  • 9c3c7cd20e Fix function argument to getNextMatch() senhuang42 2020-09-27 20:06:44 -0400
  • c8b8572b38 Adjustments to no longer segfault on nci senhuang42 2020-09-27 20:00:14 -0400
  • f57c7e6bbf Add base adjustment correction senhuang42 2020-09-27 13:25:27 -0400
  • 5df9b5e05f Add initial getNextMatch() in opt parser senhuang42 2020-09-27 13:19:54 -0400
  • f8ce7cabc3 Added more debugging senhuang42 2020-09-27 13:02:46 -0400
  • 84009a076a Add re-copying of ldmSeqStore after processing senhuang42 2020-09-26 22:14:21 -0400
  • 42395a70c2 Add debug statements, flesh out functions senhuang42 2020-09-26 21:56:14 -0400
  • dd3dd199bb Get zstd to build with new functions and callsites, fix arguments senhuang42 2020-09-26 21:38:35 -0400
  • 766c4a8c28 Implement part of ldm_maybeAddLdm() senhuang42 2020-09-26 12:28:10 -0400
  • 84777059d2 Implement ldm_getNextMatch() senhuang42 2020-09-26 12:16:15 -0400
  • 28c74bf591 Implement basic splitSequence and skipSequence functions senhuang42 2020-09-26 12:09:19 -0400
  • 634ab7830d Flesh out required args for ldm_handleLdm() senhuang42 2020-09-26 11:59:07 -0400
  • db70761032 Add callsites to appropriate locations in ..opt_generic() senhuang42 2020-09-26 11:24:29 -0400
  • aea61e3c91 Add ldm helper function declarations into opt parser senhuang42 2020-09-26 11:22:50 -0400
  • 35d9f488f5 Modify codepath to use opt parser exclusively if the compression level is high enough senhuang42 2020-09-26 11:13:39 -0400
  • e1ae398ad5 Add rawSeqStore to match state senhuang42 2020-09-26 11:07:52 -0400
  • 7259b258d1 Add callsites to zstdcli.c and tests to playTests.sh senhuang42 2020-10-07 13:47:38 -0400
  • 93cd9d8a6e Add hasStdoutOutput setter to fileio.h senhuang42 2020-10-07 13:44:25 -0400
  • dd3dac9ce0 Fixed logic for stdout output senhuang42 2020-10-07 13:43:27 -0400
  • 1ebe360d0f Add new stdoutOutput field senhuang42 2020-10-07 13:42:34 -0400
  • b684900a4a Allow external creation of POOLs that can be shared. Martin Liska 2020-09-25 14:12:14 +0200
  • f7d4943788
    Merge pull request #2330 from senhuang42/fix_stdinout_error_messages Yann Collet 2020-10-06 15:58:37 -0700
  • 4b4d8b4dc9
    Merge pull request #2338 from terrelln/comments Nick Terrell 2020-10-01 18:56:24 -0700
  • 0057c4acf7
    Merge pull request #2333 from terrelln/stable-dst Nick Terrell 2020-10-01 18:56:11 -0700
  • 2e7d174130 Reset all decompression parameters in ZSTD_DCtx_reset() Nick Terrell 2020-09-29 16:25:03 -0700
  • 27c969ed07 Add comments to ZSTD_getLowest{Match,Prefix}Index() Nick Terrell 2020-10-01 13:21:46 -0700
  • cc88eb7594
    Merge pull request #2317 from animalize/msvc_inline Yann Collet 2020-09-30 08:27:53 -0700
  • 6932216e9a
    Merge pull request #2321 from senhuang42/disallow_repcode_0_in_dict Yann Collet 2020-09-30 08:27:21 -0700
  • 83461ce963
    Merge pull request #2322 from senhuang42/guard_against_stdin_for_warning_prompts Yann Collet 2020-09-30 08:26:50 -0700
  • d69d08ed6c
    Merge pull request #2326 from terrelln/kernel-test-fix Nick Terrell 2020-09-29 13:51:23 -0700
  • ce56810a32 Modify error messages on console input/output senhuang42 2020-09-28 12:15:18 -0400
  • 02422db841 Fix Stdin typo senhuang42 2020-09-25 11:51:35 -0400
  • 236b98e7de
    Merge pull request #2310 from senhuang42/fix_multifile_status_bar Yann Collet 2020-09-25 07:48:33 -0700
  • f1cbeec039 [superblock] Reduce stack usage by correctly sizing header buffers Nick Terrell 2020-09-24 18:04:44 -0700
  • 6a1e526ea7 [lib] Add ZSTD_COMPRESS_HEAPMODE tuning parameter Nick Terrell 2020-09-24 17:52:16 -0700
  • b841387218 [freestanding] Improve macro resolution to handle #if X Nick Terrell 2020-09-24 16:25:58 -0700
  • caecd8c211 Allow user to override ASAN/MSAN detection Nick Terrell 2020-09-24 16:04:21 -0700
  • 88fac5d514 Remove call to memset Nick Terrell 2020-09-24 16:03:28 -0700
  • 683150e59f [linux-kernel] Avoid including <string.h> in the tests Nick Terrell 2020-09-24 15:22:34 -0700
  • 9ae0483858 Reorganize zstd_deps.h and mem.h + replace mem.h for the kernel Nick Terrell 2020-09-24 14:22:56 -0700
  • 260fc75028 Move __has_builtin() fallback define to compiler.h Nick Terrell 2020-09-24 15:45:08 -0700
  • 4d63ee57f5 Move ASAN/MSAN support declarations to compiler.h Nick Terrell 2020-09-24 14:14:32 -0700
  • b09ec5c2b9 Remove MEM_STATIC_ASSERT and use DEBUG_STATIC_ASSERT instead Nick Terrell 2020-09-24 14:13:16 -0700
  • 9f7212a48b Update unit tests senhuang42 2020-09-24 16:44:33 -0400
  • 88f4410390 Add more useful failure message when stdin is an input senhuang42 2020-09-24 16:29:12 -0400
  • 93d63eaeb8 Expand UTIL_requireUserConfirmation to include stdin input check senhuang42 2020-09-24 15:58:06 -0400
  • 432186cbea Add FIO_determineHasStdinInput() function and member to fCtx senhuang42 2020-09-24 15:55:30 -0400
  • 0e8ac6b995 Add fCtx to FIO_openDstFile() senhuang42 2020-09-24 15:49:30 -0400
  • c6c0a57c53
    Merge pull request #2315 from senhuang42/allow_zstd_suffix Yann Collet 2020-09-24 09:44:48 -0700
  • 9009b59f09 [linux-kernel] Add missing semicolon in zstd_deps.h Nick Terrell 2020-09-23 20:36:47 -0700
  • 9261476b7d [lib] Wrap customMem xor checks in parens for readability Nick Terrell 2020-09-23 20:34:44 -0700
  • 2fc1d50ee7
    Merge pull request #2324 from terrelln/kernel-test-fix Nick Terrell 2020-09-23 15:01:56 -0700
  • a70fa342f0 [CI][linux-kernel] Enable -Wunused-const-variable and -Wunused-but-set-variable Nick Terrell 2020-09-23 12:59:23 -0700
  • dec7fb03ec [lib] Silence -Wunused-const-variable warnings Nick Terrell 2020-09-23 12:58:38 -0700
  • 978659d34f [linux-kernel] Fix unused variable warnings with malloc, calloc, and free Nick Terrell 2020-09-23 12:54:10 -0700
  • 21cd640b93 Add unit tests to guard against bad stdin senhuang42 2020-09-22 14:16:26 -0400
  • 7aa3da1cd7 Use IS_CONSOLE macro to detect that we're indeed using a console senhuang42 2020-09-22 14:15:52 -0400
  • 8170e3ca6d
    Merge pull request #2320 from terrelln/test-fix Nick Terrell 2020-09-22 10:58:48 -0700
  • 8adeb9f1e6 Updated to repcode documentation to reflect dict content size senhuang42 2020-09-22 13:24:27 -0400
  • 9dcfe4d7b7 Update documentation about repcodes in dictionaries senhuang42 2020-09-22 12:58:44 -0400
  • 973f2adeec [tests] Don't write to stdout Nick Terrell 2020-09-22 00:40:27 -0700
  • 5618e000bd update fullbench for compressStream2() Yann Collet 2020-09-21 07:19:20 -0700
  • 2e5d73dd72 Use MEM_STATIC FORCE_INLINE_ATTR instead of FORCE_INLINE_TEMPLATE animalize 2020-09-21 13:26:38 +0800
  • 0a69a6b1ca Let MSVC force inline ZSTD_hashPtr() function animalize 2020-09-21 10:35:47 +0800
  • 200c960f1d
    Merge pull request #2311 from felixhandte/ddss-fix-cparam-derivation Felix Handte 2020-09-18 14:02:14 -0400
  • 07034952df Add -f to .zstd decompression CLI test senhuang42 2020-09-18 13:01:45 -0400
  • 6b6cc80196 Support .zstd suffix only for decompression senhuang42 2020-09-18 12:49:51 -0400
  • 5870c47bc0
    Merge pull request #2313 from felixhandte/fuzzer-separate-long-tests Felix Handte 2020-09-18 12:03:00 -0400
  • e991f9994d Run Long Tests in GitHub CI W. Felix Handte 2020-09-17 13:28:20 -0400
  • 9398acb245 Move Last Two Long Tests in fuzzer.c into Separate --long-tests Section W. Felix Handte 2020-09-17 12:57:39 -0400
  • f23a321781 Update Regression Test Results W. Felix Handte 2020-09-17 12:23:05 -0400