]> git.ipfire.org Git - thirdparty/zstd.git/log
thirdparty/zstd.git
4 years agoMoved ZSTD_defaultCLevel() into stable API 2580/head
Sen Huang [Fri, 16 Apr 2021 16:58:42 +0000 (09:58 -0700)] 
Moved ZSTD_defaultCLevel() into stable API

4 years agoMerge pull request #2574 from senhuang42/repcode_mismatch_detector_fix
sen [Tue, 13 Apr 2021 03:27:43 +0000 (23:27 -0400)] 
Merge pull request #2574 from senhuang42/repcode_mismatch_detector_fix

Correct the block splitter mismatched repcodes detection.

4 years agoMerge pull request #2572 from senhuang42/row_hash_hashcache_one_off_error_fix
sen [Mon, 12 Apr 2021 19:38:53 +0000 (15:38 -0400)] 
Merge pull request #2572 from senhuang42/row_hash_hashcache_one_off_error_fix

Adjust nb elements to prefetch in ZSTD_row_fillHashCache()

4 years agoAdjust nb elements to prefetch in ZSTD_row_fillHashCache() 2572/head
Sen Huang [Fri, 9 Apr 2021 02:54:19 +0000 (19:54 -0700)] 
Adjust nb elements to prefetch in ZSTD_row_fillHashCache()

4 years agoCorrect the detection of mismatched repcodes 2574/head
Sen Huang [Fri, 9 Apr 2021 15:01:54 +0000 (08:01 -0700)] 
Correct the detection of mismatched repcodes

4 years agoMerge pull request #2494 from senhuang42/row_hash2
sen [Thu, 8 Apr 2021 14:55:14 +0000 (10:55 -0400)] 
Merge pull request #2494 from senhuang42/row_hash2

SIMD Row Based Matchfinder ðŸš€

4 years agoUpdate results.csv, add Row hash to regression test 2494/head
Sen Huang [Fri, 2 Apr 2021 15:07:10 +0000 (08:07 -0700)] 
Update results.csv, add Row hash to regression test

4 years agoAdd and integrate lazy row hash strategy
Nick Terrell [Tue, 3 Nov 2020 01:52:29 +0000 (17:52 -0800)] 
Add and integrate lazy row hash strategy

4 years agoMove clevel override to after initLocalDict() (#2571)
sen [Wed, 7 Apr 2021 01:05:37 +0000 (21:05 -0400)] 
Move clevel override to after initLocalDict() (#2571)

4 years agoMaintain two repcode histories for block splitting, replace invalid repcodes (#2569)
sen [Tue, 6 Apr 2021 21:25:55 +0000 (17:25 -0400)] 
Maintain two repcode histories for block splitting, replace invalid repcodes (#2569)

4 years agoFix dictionary force reloading clevel selection (#2570)
sen [Tue, 6 Apr 2021 19:35:09 +0000 (15:35 -0400)] 
Fix dictionary force reloading clevel selection (#2570)

* Move cdict clevel override to before localdict init

* Update results.csv after dict load changes

4 years agoMerge pull request #2541 from ihsinme/patch-1
Nick Terrell [Fri, 2 Apr 2021 20:01:09 +0000 (13:01 -0700)] 
Merge pull request #2541 from ihsinme/patch-1

simple fix for using bit operator.

4 years agoStop complaining about hash tool not found
Niclas Rosenvik [Sun, 28 Mar 2021 12:36:13 +0000 (14:36 +0200)] 
Stop complaining about hash tool not found

If build_dir is set the zstd build complains about md5sum not being found.
Fix this by checking if build_dir is set before checking and using the hash tool
just like in lib/Makefile .

4 years ago[cwksp] Align all allocated "tables" and "aligneds" to 64 bytes (#2546)
sen [Fri, 2 Apr 2021 00:07:19 +0000 (20:07 -0400)] 
[cwksp] Align all allocated "tables" and "aligneds" to 64 bytes (#2546)

* Perform 64-byte alignment of wksp tables and aligneds internally

* Clean up cwskp_finalize() function to only do two allocs

* Refactor aligned/buffer reservation code, remove ASAN req for alignment reservations

* Change from allocating 128 bytes always to allocating only buffer space as needed for tables/aligned

* Back out aligned/table reservation order restriction

* Add stricter bounds for new/resized wksps, fix comment in zstd_cwksp.h

4 years agoFix repcode-related OSS-fuzz issues in block splitter (#2560)
sen [Wed, 31 Mar 2021 19:14:59 +0000 (15:14 -0400)] 
Fix repcode-related OSS-fuzz issues in block splitter (#2560)

* Do not emit last partitions of blocks as RLE/uncompressed

* Fix repcode updates within block splitter

* Add a entropytables confirm function, redo ZSTD_confirmRepcodesAndEntropyTables() for better function signature

* Add a repcode updater to block splitter, no longer need to force emit compressed blocks

4 years ago[contrib][linux-kernel] Add zstd_min_clevel() and zstd_max_clevel()
Nick Terrell [Tue, 30 Mar 2021 00:52:28 +0000 (17:52 -0700)] 
[contrib][linux-kernel] Add zstd_min_clevel() and zstd_max_clevel()

4 years ago[copyright][license] Switch to yearless copyright and some cleanup in the linux-kerne...
Nick Terrell [Mon, 29 Mar 2021 21:23:36 +0000 (14:23 -0700)] 
[copyright][license] Switch to yearless copyright and some cleanup in the linux-kernel files

* Switch to yearless copyright per FB policy
* Fix up SPDX-License-Identifier lines in `contrib/linux-kernel` sources
* Add zstd copyright/license header to the `contrib/linux-kernel` sources
* Update the `tests/test-license.py` to check for yearless copyright
* Improvements to `tests/test-license.py`
* Check `contrib/linux-kernel` in `tests/test-license.py`

4 years agoMerge pull request #2561 from senhuang42/longlength_enum
sen [Fri, 26 Mar 2021 19:55:12 +0000 (15:55 -0400)] 
Merge pull request #2561 from senhuang42/longlength_enum

Add enum for representing long length ID

4 years agoAdd enum for representing long length ID 2561/head
Sen Huang [Fri, 26 Mar 2021 17:35:52 +0000 (10:35 -0700)] 
Add enum for representing long length ID

4 years agoMerge pull request #2559 from senhuang42/add_dict_regression_tests_backup
sen [Thu, 25 Mar 2021 23:26:06 +0000 (19:26 -0400)] 
Merge pull request #2559 from senhuang42/add_dict_regression_tests_backup

Add different dict modes to compression ratio regression test, update results.csv

4 years agoUpdate results.csv 2559/head
Sen Huang [Thu, 25 Mar 2021 17:43:10 +0000 (10:43 -0700)] 
Update results.csv

4 years agoMerge pull request #2558 from senhuang42/msan_block_splitter_fix
sen [Thu, 25 Mar 2021 17:51:43 +0000 (13:51 -0400)] 
Merge pull request #2558 from senhuang42/msan_block_splitter_fix

Fix block splitter minor MSAN warning.

4 years agoRestrict dictmode regression tests only to advanced API, fix some compiler warnings
Sen Huang [Thu, 25 Mar 2021 17:38:56 +0000 (10:38 -0700)] 
Restrict dictmode regression tests only to advanced API, fix some compiler warnings

4 years agoAdd tests to regression tests for dict
Sen Huang [Thu, 25 Mar 2021 00:16:49 +0000 (17:16 -0700)] 
Add tests to regression tests for dict

4 years agoMerge pull request #2555 from senhuang42/default_clevel_func
sen [Thu, 25 Mar 2021 17:07:28 +0000 (13:07 -0400)] 
Merge pull request #2555 from senhuang42/default_clevel_func

Add ZSTD_defaultCLevel() function to public API

4 years agoAdd clang msan fuzz test to github actions 2558/head
Sen Huang [Thu, 25 Mar 2021 16:11:43 +0000 (09:11 -0700)] 
Add clang msan fuzz test to github actions

4 years agoMove lastCountSize into a returned struct, fix MSAN error
Sen Huang [Thu, 25 Mar 2021 14:30:53 +0000 (07:30 -0700)] 
Move lastCountSize into a returned struct, fix MSAN error

4 years agoAdd ZSTD_defaultCLevel() function to public API 2555/head
Sen Huang [Wed, 24 Mar 2021 17:43:48 +0000 (10:43 -0700)] 
Add ZSTD_defaultCLevel() function to public API

4 years agoMerge pull request #2539 from terrelln/linux-kernel-fixes
Nick Terrell [Wed, 24 Mar 2021 17:34:29 +0000 (10:34 -0700)] 
Merge pull request #2539 from terrelln/linux-kernel-fixes

Fixes for the next linux kernel patch version

4 years agoMerge pull request #2447 from senhuang42/block_splitter_v2
sen [Wed, 24 Mar 2021 16:27:22 +0000 (12:27 -0400)] 
Merge pull request #2447 from senhuang42/block_splitter_v2

Recursive block splitting

4 years agoMerge pull request #2554 from facebook/fix2553
Yann Collet [Wed, 24 Mar 2021 15:55:33 +0000 (08:55 -0700)] 
Merge pull request #2554 from facebook/fix2553

fix man page typo

4 years agoRename *compressSequences*() functions for clarity 2447/head
Sen Huang [Mon, 22 Mar 2021 22:25:57 +0000 (15:25 -0700)] 
Rename *compressSequences*() functions for clarity

4 years agoAdd a fallback in case the total blocksize of split blocks exceeds raw block size
Sen Huang [Mon, 22 Mar 2021 21:38:21 +0000 (14:38 -0700)] 
Add a fallback in case the total blocksize of split blocks exceeds raw block size

4 years agoEnable block splitter by default when applicable
Sen Huang [Mon, 22 Mar 2021 15:54:24 +0000 (08:54 -0700)] 
Enable block splitter by default when applicable

4 years agoClean up various functions, add debuglogging for estimate vs. actual sizes
Sen Huang [Tue, 16 Mar 2021 21:15:56 +0000 (14:15 -0700)] 
Clean up various functions, add debuglogging for estimate vs. actual sizes

4 years agoFix various fuzzer failures: repcode history, superblocks
Sen Huang [Wed, 24 Feb 2021 21:21:49 +0000 (13:21 -0800)] 
Fix various fuzzer failures: repcode history, superblocks

4 years agoChange 1.3.4 bugfix to be cross-compatible with superblocks and normal compression
senhuang42 [Mon, 11 Jan 2021 13:30:16 +0000 (08:30 -0500)] 
Change 1.3.4 bugfix to be cross-compatible with superblocks and normal compression

4 years agoRefactor buildSequencesStatistics() to avoid pointer increment for superblocks
senhuang42 [Fri, 8 Jan 2021 20:50:19 +0000 (15:50 -0500)] 
Refactor buildSequencesStatistics() to avoid pointer increment for superblocks

4 years agoAdd unit tests and fuzzer param
senhuang42 [Tue, 29 Dec 2020 20:56:13 +0000 (15:56 -0500)] 
Add unit tests and fuzzer param

4 years agoAdd recursive block split algorithm
senhuang42 [Thu, 10 Dec 2020 17:18:43 +0000 (12:18 -0500)] 
Add recursive block split algorithm

4 years agoUpdate function names for consistency
senhuang42 [Tue, 8 Dec 2020 18:06:18 +0000 (13:06 -0500)] 
Update function names for consistency

4 years agoAdd block splitter to experimental params
senhuang42 [Mon, 7 Dec 2020 22:11:23 +0000 (17:11 -0500)] 
Add block splitter to experimental params

4 years agoRefactor block compression logic into single function
senhuang42 [Mon, 7 Dec 2020 18:12:41 +0000 (13:12 -0500)] 
Refactor block compression logic into single function

4 years agoCentralize entropy statistics calculations to zstd_compress.c
senhuang42 [Mon, 30 Nov 2020 18:41:03 +0000 (13:41 -0500)] 
Centralize entropy statistics calculations to zstd_compress.c

4 years agofix man page typo 2554/head
Yann Collet [Wed, 24 Mar 2021 12:55:04 +0000 (05:55 -0700)] 
fix man page typo

fix #2553 detected by @jwilk

4 years agoMerge pull request #2538 from senhuang42/monotonicity_test
sen [Mon, 22 Mar 2021 20:54:34 +0000 (16:54 -0400)] 
Merge pull request #2538 from senhuang42/monotonicity_test

Add memory monotonicity test over srcSize

4 years agoMerge pull request #2524 from terrelln/huf-stack-reduction
Nick Terrell [Mon, 22 Mar 2021 19:37:54 +0000 (12:37 -0700)] 
Merge pull request #2524 from terrelln/huf-stack-reduction

[huf] Reduce stack usage of HUF_readDTableX2 by ~972 bytes

4 years ago[FSE] Clean up workspace using dynamically sized struct 2524/head
Nick Terrell [Fri, 19 Mar 2021 23:04:59 +0000 (16:04 -0700)] 
[FSE] Clean up workspace using dynamically sized struct

4 years agoMerge pull request #2550 from facebook/vvv_srcSize
Yann Collet [Mon, 22 Mar 2021 17:44:44 +0000 (10:44 -0700)] 
Merge pull request #2550 from facebook/vvv_srcSize

fix #2549

4 years agoMake ZSTD_estimateCCtxSize_internal() loop through all srcSize parameter sets as... 2538/head
Sen Huang [Fri, 19 Mar 2021 23:56:58 +0000 (16:56 -0700)] 
Make ZSTD_estimateCCtxSize_internal() loop through all srcSize parameter sets as well

4 years agofix #2549 2550/head
Yann Collet [Sun, 21 Mar 2021 00:29:41 +0000 (17:29 -0700)] 
fix #2549

4 years agoMerge pull request #2548 from SupervisedThinking/build_fix
Yann Collet [Fri, 19 Mar 2021 22:20:14 +0000 (15:20 -0700)] 
Merge pull request #2548 from SupervisedThinking/build_fix

meson: fix build by adding missing files

4 years agomeson: fix build by adding missing files 2548/head
SupervisedThinking [Fri, 19 Mar 2021 18:52:45 +0000 (19:52 +0100)] 
meson: fix build by adding missing files

fixes https://github.com/facebook/zstd/issues/2519

4 years agoMerge pull request #2540 from senhuang42/fix_dds_supported
sen [Thu, 18 Mar 2021 03:25:53 +0000 (23:25 -0400)] 
Merge pull request #2540 from senhuang42/fix_dds_supported

Fix dedicated dict search isSupported() requirements.

4 years ago[huf][fse] Clean up workspaces
Nick Terrell [Wed, 17 Mar 2021 23:50:37 +0000 (16:50 -0700)] 
[huf][fse] Clean up workspaces

* Move `counting` to a struct in `FSE_decompress_wksp_body()`
* Fix error code in `FSE_decompress_wksp_body()`
* Rename a variable in `HUF_ReadDTableX2_Workspace`

4 years agosimple fix for using bit operator. 2541/head
ihsinme [Wed, 17 Mar 2021 08:37:42 +0000 (11:37 +0300)] 
simple fix for using bit operator.

good day.
It seems to me that the developer intended to use a logical operator.
so I suggest a simple fix.

4 years agoFix ZSTD_dedicatedDictSearch_isSupported() requirements 2540/head
Sen Huang [Wed, 17 Mar 2021 00:36:05 +0000 (17:36 -0700)] 
Fix ZSTD_dedicatedDictSearch_isSupported() requirements

4 years agoAdd a nbSeq argument to compressSequences()
senhuang42 [Mon, 12 Oct 2020 22:33:11 +0000 (18:33 -0400)] 
Add a nbSeq argument to compressSequences()
Refactor ZSTD_compressBlock_internal() to do the block header write within and add nbSeq argument to compressSequences()

4 years agoMove block header write into compressBlock_internal()
senhuang42 [Mon, 12 Oct 2020 22:27:54 +0000 (18:27 -0400)] 
Move block header write into compressBlock_internal()

4 years ago[lib] Bump zstd version number 2539/head
Nick Terrell [Tue, 16 Mar 2021 00:48:56 +0000 (17:48 -0700)] 
[lib] Bump zstd version number

4 years ago[lib][tracing] Add ZSTD_NO_TRACE macro
Nick Terrell [Mon, 15 Mar 2021 21:46:26 +0000 (14:46 -0700)] 
[lib][tracing] Add ZSTD_NO_TRACE macro

When defined, it disables tracing, and avoids including the header.

4 years ago[contrib][freestanding] Remove tracing support
Nick Terrell [Mon, 15 Mar 2021 18:19:21 +0000 (11:19 -0700)] 
[contrib][freestanding] Remove tracing support

Remove tracing support from `freestanding.py` to keep things simple.

4 years ago[contrib][linux] Expose zstd headers to avoid duplication
Nick Terrell [Thu, 3 Dec 2020 20:37:30 +0000 (12:37 -0800)] 
[contrib][linux] Expose zstd headers to avoid duplication

Expose the zstd headers in `include/linux` to avoid struct duplication.
This makes the member names not follow Kernel style guidelines, and
exposes the zstd symbols. But, the LMKL reviewers are okay with that.

4 years ago[contrib][linux-kernel] Update test include stubs
Nick Terrell [Fri, 12 Mar 2021 23:31:38 +0000 (15:31 -0800)] 
[contrib][linux-kernel] Update test include stubs

Update the test include stubs so they are able to run the current zstd
version in the kernel, so I can compare stack usage.

4 years ago[contrib][linux-kernel] Fix unaligned.h
Nick Terrell [Fri, 5 Mar 2021 05:13:52 +0000 (21:13 -0800)] 
[contrib][linux-kernel] Fix unaligned.h

Fix the `unaligned.h` shim in the tests that was causing corruption in
the tests. Note that this is a problem with the test shim, not the
kernel code.

4 years agoMerge pull request #2534 from foxeng/fix-seek-descriptor-check
sen [Tue, 16 Mar 2021 17:09:00 +0000 (13:09 -0400)] 
Merge pull request #2534 from foxeng/fix-seek-descriptor-check

Fix seek table descriptor check when loading

4 years agoAdd mem monotonicity test over srcSize
Sen Huang [Tue, 16 Mar 2021 15:22:13 +0000 (08:22 -0700)] 
Add mem monotonicity test over srcSize

4 years agoMerge pull request #2535 from felixhandte/gha-release-artifacts
Felix Handte [Mon, 15 Mar 2021 17:58:27 +0000 (13:58 -0400)] 
Merge pull request #2535 from felixhandte/gha-release-artifacts

Add GitHub Action to Automatically Publish Release Tarballs

4 years agoAllow a Passphrase on the Key 2535/head
W. Felix Handte [Mon, 15 Mar 2021 16:11:53 +0000 (12:11 -0400)] 
Allow a Passphrase on the Key

4 years agoMaintain Artifact Name Backwards Compatibility
W. Felix Handte [Mon, 15 Mar 2021 15:59:31 +0000 (11:59 -0400)] 
Maintain Artifact Name Backwards Compatibility

When the tag is `v1.2.3`, name the artifacts `zstd-1.2.3.tar*` rather than
`zstd-v1.2.3.tar*`. When the tag doesn't match, use the full tag.

4 years agoRun generic-dev:gcc-8-asan-ubsan-testzstd on latest Ubuntu 2534/head
Fotis Xenakis [Sat, 13 Mar 2021 09:42:47 +0000 (11:42 +0200)] 
Run generic-dev:gcc-8-asan-ubsan-testzstd on latest Ubuntu

4 years agoRemove CircleCI Artifact Generation
W. Felix Handte [Fri, 12 Mar 2021 22:35:11 +0000 (17:35 -0500)] 
Remove CircleCI Artifact Generation

4 years agoFix seekable test to provide valid descriptor
Fotis Xenakis [Fri, 12 Mar 2021 22:00:08 +0000 (00:00 +0200)] 
Fix seekable test to provide valid descriptor

4 years agoFix seek table descriptor check when loading
Fotis Xenakis [Fri, 12 Mar 2021 21:07:15 +0000 (23:07 +0200)] 
Fix seek table descriptor check when loading

4 years agoAdd GitHub Action to Automatically Publish Release Tarballs
W. Felix Handte [Thu, 11 Mar 2021 21:06:25 +0000 (16:06 -0500)] 
Add GitHub Action to Automatically Publish Release Tarballs

This commit introduces a GitHub action that is triggered on release creation,
which creates the release tarball, compresses it, hashes it, signs it, and
attaches all of those files to the release.

4 years agoMerge pull request #2517 from PaulBone/num_cores
sen [Mon, 8 Mar 2021 16:14:34 +0000 (11:14 -0500)] 
Merge pull request #2517 from PaulBone/num_cores

Make the number of physical CPU cores detection more robust

4 years agoMerge pull request #2521 from animalize/doc_free
Yann Collet [Sun, 7 Mar 2021 05:33:28 +0000 (21:33 -0800)] 
Merge pull request #2521 from animalize/doc_free

doc: ZSTD_free*() functions accept NULL pointer

4 years ago[fse] Reduce stack usage of FSE_decompress_wksp() by 512 bytes
Nick Terrell [Fri, 5 Mar 2021 21:14:06 +0000 (13:14 -0800)] 
[fse] Reduce stack usage of FSE_decompress_wksp() by 512 bytes

* Move `counting` into the workspace
* Inrease `HUF_DECOMPRESS_WORKSPACE_SIZE` by 512 bytes

4 years ago[huf] Reduce stack usage of HUF_readDTableX2 by ~460 bytes
Nick Terrell [Fri, 5 Mar 2021 20:36:50 +0000 (12:36 -0800)] 
[huf] Reduce stack usage of HUF_readDTableX2 by ~460 bytes

* Use `HUF_readStats_wksp()`
* Use workspace in `HUF_fillDTableX2*()`
* Clean up workspace usage to use a workspace struct

4 years agoMerge pull request #2523 from terrelln/huf-stack-reduction
Nick Terrell [Fri, 5 Mar 2021 20:35:09 +0000 (12:35 -0800)] 
Merge pull request #2523 from terrelln/huf-stack-reduction

Add HUF_writeCTable_wksp() function

4 years agoAdd HUF_writeCTable_wksp() function 2523/head
Nick Terrell [Mon, 21 Dec 2020 18:23:08 +0000 (10:23 -0800)] 
Add HUF_writeCTable_wksp() function

This saves ~700 bytes of stack space in HUF_writeCTable.

4 years agoMerge pull request #2522 from terrelln/stack-reduction
Nick Terrell [Fri, 5 Mar 2021 04:55:58 +0000 (20:55 -0800)] 
Merge pull request #2522 from terrelln/stack-reduction

Reduce stack usage of ZSTD_buildCTable()

4 years agoReduce stack usage of ZSTD_buildCTable() 2522/head
Nick Terrell [Thu, 4 Mar 2021 18:50:34 +0000 (10:50 -0800)] 
Reduce stack usage of ZSTD_buildCTable()

It is a stack high-point for some compression strategies and has an easy
fix. This moves the normalized count into the entropy workspace.

4 years agoMerge pull request #2518 from facebook/seekTable
Yann Collet [Thu, 4 Mar 2021 23:29:23 +0000 (15:29 -0800)] 
Merge pull request #2518 from facebook/seekTable

New direct seekTable access methods

4 years agoadded code comments for new API ZSTD_seekTable 2518/head
Yann Collet [Thu, 4 Mar 2021 06:54:04 +0000 (22:54 -0800)] 
added code comments for new API ZSTD_seekTable

4 years agoMerge branch 'seekTable' of github.com:facebook/zstd into seekTable
Yann Collet [Thu, 4 Mar 2021 02:56:54 +0000 (18:56 -0800)] 
Merge branch 'seekTable' of github.com:facebook/zstd into seekTable

4 years agodoc: ZSTD_free*() functions accept NULL pointer 2521/head
animalize [Thu, 4 Mar 2021 03:47:43 +0000 (11:47 +0800)] 
doc: ZSTD_free*() functions accept NULL pointer

4 years agoadded test case for seekTable API
Yann Collet [Thu, 4 Mar 2021 02:55:34 +0000 (18:55 -0800)] 
added test case for seekTable API

and simple roundtrip test

4 years agofixed gcc-7 conversion warning
Yann Collet [Thu, 4 Mar 2021 02:00:41 +0000 (18:00 -0800)] 
fixed gcc-7 conversion warning

4 years agofixed wrong assert condition
Yann Collet [Wed, 3 Mar 2021 23:30:55 +0000 (15:30 -0800)] 
fixed wrong assert condition

4 years agofixed gcc conversion warnings
Yann Collet [Wed, 3 Mar 2021 23:17:12 +0000 (15:17 -0800)] 
fixed gcc conversion warnings

4 years agoMerge branch 'dev' into seekTable
Yann Collet [Wed, 3 Mar 2021 23:08:40 +0000 (15:08 -0800)] 
Merge branch 'dev' into seekTable

4 years agoMerge pull request #2516 from senhuang42/seekable_hang_fix
sen [Wed, 3 Mar 2021 22:30:46 +0000 (17:30 -0500)] 
Merge pull request #2516 from senhuang42/seekable_hang_fix

Seekable hang fix

4 years agovarious minor style fixes
Yann Collet [Wed, 3 Mar 2021 00:03:18 +0000 (16:03 -0800)] 
various minor style fixes

4 years agoOnly set numPhysicalCores if ratio is valid 2517/head
Paul Bone [Tue, 2 Mar 2021 09:31:23 +0000 (20:31 +1100)] 
Only set numPhysicalCores if ratio is valid

4 years agoIf cpuinfo parsing fails fallback to sysconf
Paul Bone [Tue, 2 Mar 2021 09:13:51 +0000 (20:13 +1100)] 
If cpuinfo parsing fails fallback to sysconf

4 years agostrengthen compilation flags
Yann Collet [Tue, 2 Mar 2021 23:43:52 +0000 (15:43 -0800)] 
strengthen compilation flags

4 years agofixed const guarantees
Yann Collet [Tue, 2 Mar 2021 23:24:30 +0000 (15:24 -0800)] 
fixed const guarantees

read-only objects are properly const-ified in parameters

4 years agofix potential leak on exit
Yann Collet [Tue, 2 Mar 2021 23:03:37 +0000 (15:03 -0800)] 
fix potential leak on exit

4 years agoFix seekable decompress hanging 2516/head
Sen Huang [Tue, 2 Mar 2021 22:30:03 +0000 (14:30 -0800)] 
Fix seekable decompress hanging