Yann Collet
1d1737aaf2
fixed frameCompress example
2017-08-09 12:29:38 -07:00
Yann Collet
0beaa356f2
fixed minor scan-build warning
2017-06-08 15:04:55 -07:00
Yann Collet
775e63ee01
refactored simple_buffer.c example ( #363 )
2017-06-08 12:51:56 -07:00
Yann Collet
cc21115cb4
minor warning fix
2016-11-21 19:26:49 -08:00
Yann Collet
8875e7dbb5
fix minor analyzer warning
2016-11-21 16:42:23 -08:00
Yann Collet
ba7a85b463
fixed minor analyzer warning
2016-11-21 15:44:25 -08:00
Yann Collet
2fe3aa9854
added examples to make all
2016-11-21 15:00:50 -08:00
Nick Terrell
7aad356ffd
Add frame decompression example
2016-11-11 11:37:12 -08:00
Nick Terrell
94917c9a04
Add dictionary random access example
2016-11-09 17:39:56 -08:00
Yann Collet
67500142c1
Clarified license ( #115 , #244 )
2016-11-01 19:14:04 -07:00
Georg Sauthoff
681d5010d5
use gnu c99 to get both c99 and POSIX
...
when compiling with gcc
fixes fileno() implicitly defined on Linx and compile error on Solaris 10
2016-08-27 15:24:50 +02:00
Ben Wiederhake
cec38d1b74
Correctly reference self (github, not googlecode)
2016-07-08 00:45:33 +02:00
Julius Werner
4fcb2e17fb
Remove whitespace from ends of lines
...
I'm trying to import LZ4 code into a project with strict linting
requirements. This will make that easier.
Signed-off-by: Julius Werner <jwerner@chromium.org>
2016-02-12 22:49:52 -08:00
KyleJHarper
7aa004377c
Forgot to make clean before commiting. Removing binary.
2015-10-30 00:40:11 -05:00
KyleJHarper
7f96babc4b
Several changes to address a few concerns from Yann. See Google Group LZ4c topic 'Reusing compression/decompression resources' for details.
2015-10-29 21:47:13 -05:00
KyleJHarper
d1be164e49
Added a note about why char* is used. Also removed a binary that wasn't supposed to be in there.
2015-10-28 21:10:01 -05:00
KyleJHarper
0d25185671
Finished the two example files. Decided to avoid adding anything to lz4.c/h to expose LZ4_compress_generic().
2015-10-28 20:54:51 -05:00
KyleJHarper
02be6631be
Took out the basics and placed them into basics.c. Added decompression and a wrapper for the generic call. I will likely break this file up into 2 examples before submission.
2015-10-26 01:38:14 -05:00
KyleJHarper
67b3a24707
Final tests and reporting are done. As expected there isn't much to be gained by jumping the chain. In most of my tests I did see a moderate performance gain when invoking LZ4_compress_generic() directly with normal text. This could very easily be an edge case. Either way it's interesting and worth sharing.
2015-10-23 01:52:23 -05:00
KyleJHarper
bdd9143e02
Didn't add my file for some reason. Odd.
2015-10-22 03:57:56 -05:00
KyleJHarper
73dd936b9d
Wrote the skeleton of the performance test. Need to finish tests for the rest of the call stack and then my own copy of generic().
2015-10-22 03:57:21 -05:00
Yann Collet
15603d9566
Added static analyzer test in Visual
2015-06-28 18:58:16 -08:00
Yann Collet
7273da38ba
minor example clarification
2015-06-28 02:34:12 -08:00
Yann Collet
3d9adf7afc
Merge pull request #122 from keszybz/master
...
New example using frame api as DLL - redirect from #118
2015-06-25 17:45:13 -07:00
Zbigniew Jędrzejewski-Szmek
3bcf68ff35
Use lz4 binary to check output
2015-06-17 23:45:15 -04:00
Zbigniew Jędrzejewski-Szmek
386d216cdf
Add example which uses the frame api through the library
2015-06-17 23:45:15 -04:00
Zbigniew Jędrzejewski-Szmek
0e0c32dfb0
Make git ignore generated files
2015-06-15 21:50:00 -04:00
Yann Collet
e05088d0eb
Updated lz4hc API
2015-05-03 20:57:21 +01:00
Yann Collet
1171303a4f
Updated streaming examples
2015-05-03 18:02:48 +01:00
Takayuki MATSUOKA
fd77bad52f
Replace obsolete functions
2015-04-13 20:16:37 +09:00
Takayuki MATSUOKA
b036eaade6
Add snprintf macro for MSVC
2015-04-13 20:05:20 +09:00
Yann Collet
4a9335bd60
Added : doc authorship
2015-03-25 17:22:26 +01:00
Takayuki MATSUOKA
2af52a90b3
Add "Examples" subtree
2015-03-25 08:12:18 +09:00
Takayuki MATSUOKA
679afea730
Add README.md as table of contents
2015-03-25 07:53:02 +09:00
Takayuki MATSUOKA
19665c93ea
Add document for "Line by Line Text Compression" example
2015-03-25 07:52:35 +09:00
Takayuki MATSUOKA
438fee9169
Add document for "Double Buffer" example
2015-03-25 07:52:17 +09:00
Takayuki MATSUOKA
a38166bd52
Add document : "Streaming API Basics"
2015-03-25 07:51:56 +09:00
Yann Collet
8f844fe700
Fixed : minor warnings under Visual
2014-12-13 11:49:55 +01:00
Yann Collet
d008c87151
New directory structure : library source files into /lib directory
2014-11-30 23:32:12 +01:00
Yann Collet
dc43a1f6b5
Fixed : decompression issue on 32-bits CPU without unaligned memory access
2014-11-29 16:41:28 +01:00
Yann Collet
7050d4b767
Updated unsynchronized buffers tests
2014-11-04 10:04:37 +01:00
Yann Collet
3de7f00a0b
Updated ring buffer examples
2014-11-03 09:29:45 +01:00
Yann Collet
2b421e97d4
HC streaming : support small ringbuffer scenarios
2014-10-25 20:52:10 +01:00
Yann Collet
e2c84118f5
Added : HC streaming ring buffer example
2014-10-22 08:07:56 +01:00
Yann Collet
8c1ae99837
fixed : clang warnings
2014-09-22 18:42:00 +01:00
Yann Collet
43465ae8ff
Added : examples from Takayuki Matsuoka
2014-08-26 14:27:22 +01:00
Yann Collet
769984407a
add new directory 'examples'
2014-08-22 11:23:28 +01:00