Nick Terrell
ac58c8d720
Fix copyright and license lines
...
* All copyright lines now have -2020 instead of -present
* All copyright lines include "Facebook, Inc"
* All licenses are now standardized
The copyright in `threading.{h,c}` is not changed because it comes from
zstdmt.
The copyright and license of `divsufsort.{h,c}` is not changed.
2020-03-26 17:02:06 -07:00
Nick Terrell
1d0c1707d1
[examples] Clean up and comment the examples
2019-04-05 21:02:07 -07:00
Yi Jin
bc4dc606de
break loadFile_orDie() into 2: loadFile_orDie() loads file into a pre-allocated memory buffer, mallocAndLoadFile_orDie() allocates memory first, then calls loadFile_orDie()
2018-12-17 16:54:55 -08:00
Yi Jin
04d06ad885
refactor utils.h and implement simple_compressionCCtx.c
2018-12-14 18:12:05 -08:00
Hung Dang
0f52b0caad
Refactor examples to avoid code duplication.
2018-12-06 22:42:19 -05:00
Yann Collet
3128e03be6
updated license header
...
to clarify dual-license meaning as "or"
2017-09-08 00:09:23 -07:00
Yann Collet
394bdd7db9
changed license for examples
...
intentionnally this time
2017-08-29 09:24:11 -07:00
Yann Collet
232d62b637
fixed a few headers that were too hastily copy/pasted during last license change
2017-08-21 11:24:32 -07:00
Yann Collet
32fb407c9d
updated a bunch of headers
...
for the new license
2017-08-18 16:52:05 -07:00
Yann Collet
1f3d54ddb4
fixed malloc(0) potential issue
...
Added test cases to cover #556 patch
2017-02-22 11:08:00 -08:00
Soojin Nam
971c161318
test for fail to decompress
2017-02-22 16:04:48 +09:00
Soojin Nam
6e18d33122
original size unknown
2017-02-21 09:51:40 +09:00
Yann Collet
4596037042
updated fse version
...
feature minor refactoring (removing FSE_abs())
also : fix a few minor issues recently introduced in examples
2017-02-15 12:00:03 -08:00
Sean Purcell
4e709712e1
Decompressed size functions now handle multiframes and distinguish cases
...
- Add ZSTD_findDecompressedSize
- Traverses multiple frames to find total output size
- Add ZSTD_getFrameContentSize
- Gets the decompressed size of a single frame by reading header
- Deprecate ZSTD_getDecompressedSize
2017-02-08 14:50:10 -08:00
Yann Collet
22de81e87e
updated man page
2016-10-28 13:58:31 -07:00
Yann Collet
a2664649df
better error handling
2016-09-09 19:33:56 +02:00
Yann Collet
4ded9e591c
added boilerplate
2016-08-30 11:06:28 -07:00
Yann Collet
677ed26aa7
Added examples/Makefile
2016-07-10 14:25:38 +02:00
Yann Collet
25c506601c
promote ZSTD_getDecompressedSize() to stable API
2016-07-10 01:46:18 +02:00
Yann Collet
0809a8863d
added simple examples
2016-07-09 18:25:10 +02:00