| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| | |
since it's now supported by decompress_unsafe().
The goal is to improve maintenability of decompress_generic()
by reducing its complexity.
|
| |
| |
| |
| |
| |
| |
| | |
designed to support specifically LZ4_decompress_fast*() variants.
The end goal is to offload this support from LZ4_decompress_generic
to improve its maintenance.
|
| | |
|
|/
|
|
|
|
|
|
| |
This changeset introduces the following external macros.
- Add new macro LZ4_memset() which enables to inject external function as memset().
- Similar macro LZ4_memmove() for memmove().
- In same manner, LZ4_memcpy() also can be overriden by external macro.
|
|
|
|
|
| |
on command line, using existing long command --no-frame-crc.
Note : it's effectively more than that, since _all_ checksums are disabled.
|
| |
|
|
|
|
| |
requires an LZ4 Frame as input
|
|
|
|
| |
to prepare bench.c for multiple decoding functions.
|
|\
| |
| | |
Support for Custom Memory managers
|
| | |
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
for compression context only for the time being,
using LZ4F_createCompressionContext_advanced().
Added basic test in frametest.c
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| | |
fix #977
fseek() doesn't work for pipe,
switch to "read and forget" mode in such case.
|
| | |
|
|/
|
|
|
| |
and proper documentation.
Also : updated manual
|
|
|
|
| |
replaced by ->dictStart
|
|
|
|
| |
replaced by ->prefixStart
|
|
|
|
|
| |
produces less padding, notably on OS400
following #1070 by @jonrumsey
|
| |
|
| |
|
|\
| |
| | |
Change definitions of LZ4_xxxSIZE defines for OS400
|
| |
| |
| |
| |
| |
| | |
LZ4_STREAMHCSIZE to factor in OS400 pointer length and structure alignment rules
Update the length values on platforms where pointers are 16-bytes, factor in implicit compiler padding to ensure proper alignment of members and overall structure lengths
|
|/
|
|
| |
one less argument
|
|\
| |
| | |
frame-api: add function to insert uncomressed data
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* replace assert with test for LZ4F_uncompressedUpdate
* update documentation to incldue correct docstring
* remove unecessary entry point
* remove compress_linked_block_mode from fuzzing test
Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
|
| |
| |
| |
| | |
Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
when the block mode changes a flush is executed, to prevent
mixing compressed and uncompressed data.
Prior to this commit dstStart, dstPtr, dstCapacity
where not updated to include the offset from bytesWritten.
For inputs > blockSize this meant the flushed data was
overwritten.
Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
|
| |
| |
| |
| | |
add static dependency to examples
|
| |
| |
| |
| |
| | |
change the context to const to make
clear that the context is not modified
|
| |
| |
| |
| | |
Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
|
| |
| |
| |
| |
| |
| | |
add a fuzzing test for uncompressed frame api
Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
|
| |
| |
| |
| |
| |
| | |
This commit fixes the review findings
Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
|
| |
| |
| |
| |
| |
| | |
This commit fixes the review findings
Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
new method `uncompressed_update` allows to insert blocks without
compression into the lz4 stream.
The usage is documented in the frameCompress example
Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
feature request: #1051
Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
|
|/
|
|
| |
to answer #1090
|
|
|
|
|
|
| |
and removed prefix from RETURN_ERROR(_IF)
to improve brevity
as it's just a local macro (no bleeding in user's namespace).
|
| |
|
| |
|
|
|
|
| |
created a new error code in the process : LZ4F_ERROR_compressionState_uninitialized
|
|
|
|
| |
to reduce confusion in traces between dev branch and latest v1.9.3 release.
|
| |
|
| |
|
|
|
|
|
|
| |
operate lz4 compressed files as a general files
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
|
|
|
|
| |
and run it in GA CI
|
|
|
|
|
|
|
| |
ensure that `frametest` works fine with these values,
notably with low LZ4_MEMORY_USAGE (dict test notably)
following suggestions from @t-mat at #1016
|