summaryrefslogtreecommitdiffstats
path: root/lib/lz4.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #503 from lz4/l120Yann Collet2018-04-191-24/+70
|\ | | | | minor length reduction of several large lines
| * modified indentation for consistencyYann Collet2018-04-191-17/+33
| |
| * minor length reduction of several large linesYann Collet2018-04-181-23/+53
| |
* | Merge pull request #502 from lhacc1/devYann Collet2018-04-191-0/+4
|\ \ | |/ |/| Wrap likely/unlikely macroses with #ifndef
| * Wrap likely/unlikely macroses with #ifndefDmitrii Rodionov2018-04-181-0/+4
| | | | | | | | | | It prevent redefine error when project using lz4 has its own likely/unlikely macroses.
* | fixed LZ4_compress_fast_extState_fastReset() in 32-bit modeYann Collet2018-04-171-2/+2
| |
* | fix dictDelta setting errorYann Collet2018-04-171-1/+1
| | | | | | | | wrong test
* | fix matchIndex overflowYann Collet2018-04-171-12/+4
| | | | | | | | can happen with dictCtx
* | Merge branch 'dev' into lowAddrYann Collet2018-04-171-2/+9
|\ \ | |/
| * Always Bump Offset by 64 KB in LZ4_loadDict()W. Felix Handte2018-04-171-2/+9
| | | | | | | | | | This actually ensures the guarantee referred to in the comment in LZ4_compress_fast_continue().
* | fixed dictCtx compressionYann Collet2018-04-171-7/+12
| |
* | edited a few traces for debuggingYann Collet2018-04-171-7/+7
| |
* | fixed minor format warningsYann Collet2018-04-161-3/+3
| |
* | fixed gcc performance regressionYann Collet2018-04-161-2/+4
| |
* | fixed minor unused variable warningYann Collet2018-04-131-3/+0
| |
* | added comment on variables required after _next_matchYann Collet2018-04-131-0/+8
| |
* | fixed potential ptrdiff_t overflow (32-bits mode)Yann Collet2018-04-131-14/+11
| | | | | | | | Also removed pointer comparison, which should solve #485
* | compatibility with gcc-4.4 string.h versionCyan49732018-04-131-3/+3
| | | | | | | | | | | | | | Someone found it would be a great idea to define there a global variable under the very generic name "index". Cause problem with shadow warnings, so no variable can be named "index" now ... Also : automatically update API manual
* | fixed : counting matches which overlap extDict and prefixtest49732018-04-121-10/+17
| |
* | modified a few traces for debugtest49732018-04-121-2/+3
| |
* | fixed LZ4_compress_fast_extState_fastReset()test49732018-04-111-8/+7
| |
* | Merge branch 'dev' into lowAddrtest49732018-04-111-48/+55
|\ \ | |/
| * Fix Silly Warning (const-ness in declaration has no effect on value types!)W. Felix Handte2018-04-111-1/+1
| |
| * Minor FixesW. Felix Handte2018-04-111-9/+13
| |
| * Add a LZ4_STATIC_LINKING_ONLY Macro to Guard Experimental APIsW. Felix Handte2018-04-111-0/+1
| |
| * Expose dictCtx Functionality in LZ4W. Felix Handte2018-04-111-0/+4
| |
| * Rename _extState_noReset -> _extState_fastReset and Edit CommentsW. Felix Handte2018-04-111-11/+12
| |
| * Remove Extraneous Assignment (clearedTable == 0)W. Felix Handte2018-04-111-1/+0
| |
| * Expose a Faster Stream Reset FunctionW. Felix Handte2018-04-101-25/+28
| |
| * Avoid Calling LZ4_prepareTable() in LZ4_compress_fast_continue()W. Felix Handte2018-04-091-20/+14
| |
* | fixed minor conversion warningtest49732018-04-101-1/+2
| | | | | | | | ptr diff -> U32
* | Merge branch 'dev' into lowAddrtest49732018-04-091-21/+17
|\ \ | |/
| * Return to Allowing Early Returns in LZ4_compress_generic()W. Felix Handte2018-04-061-21/+17
| | | | | | | | | | | | Or: `goto` Considered Harmful Or: https://xkcd.com/292/
* | noticed a bug when re-using hash tabletest49732018-04-061-3/+4
| | | | | | | | ./fuzzer -vv -s4217 -t7518
* | fixed byPtr modetest49732018-04-061-22/+25
| | | | | | | | | | | | switch to byU32 when src address is < 64K note : byPtr is still useful in 32-bits, as it's about ~10% faster
* | fixed byPtr match searchtest49732018-04-061-1/+2
| |
* | fixed immediate match searchtest49732018-04-061-7/+5
| |
* | changed LZ4_compress_generic() logictest49732018-04-051-70/+100
| | | | | | | | | | | | to use indexes (U32) instead of Ptr. byPtr is still present.
* | fixed lz4 compression starting at small addresstest49732018-04-051-3/+67
|/ | | | when using byU32 and byU16 modes
* fix comment styleYann Collet2018-03-211-1/+1
|
* Restore the Other Old Streaming Functions in a Degraded FashionW. Felix Handte2018-03-141-0/+19
|
* Restore LZ4_sizeofStreamState, We Didn't Actually Need to Delete ItW. Felix Handte2018-03-131-0/+3
|
* Rename Enums and Add CommentW. Felix Handte2018-03-131-19/+40
|
* Whitespace FixesW. Felix Handte2018-03-131-45/+44
|
* Add NULL ChecksW. Felix Handte2018-03-121-0/+3
|
* Simpler Ternary StatementsW. Felix Handte2018-03-121-2/+2
|
* Renames and Comment FixesW. Felix Handte2018-03-121-10/+22
|
* Preserve currentOffset==0 When PossibleW. Felix Handte2018-03-121-2/+6
|
* Specialize _extState() for Clean Ctx Rather Than Calling _safeExtState()W. Felix Handte2018-03-121-5/+19
|
* Remove Switch In Favor of Ternary StatementW. Felix Handte2018-03-121-17/+1
|