| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |
|
|\
| |
| | |
renamed unaligned -> LZ4_unaligned
|
| |
| |
| |
| |
| | |
better name space isolation
suggested by @boris-kolpackov in #1053
|
|/
|
|
| |
discovered by @yoniko.
|
| |
|
|
|
| |
The ARM64EC is a new Microsoft-designed ARM64 ABI that is compatible with AMD64 code. However, not all AMD64 intrinsic functions are supported. For, intrinsics that are lowered to AVX, AVX2 and AVX512 instructions are not supported, including the _tzcnt_u64. To make sure this file compiles for ARM64EC, the use of _tzcnt_u64 should be neutered.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This makes decoding significantly faster on M1; measured on compressed source
code across 8 hardware threads, decompressing 294 MB to 1301 MB takes 513 ms
of cumulative work (2.53 GB/s) before, and 406 ms (3.2 GB/s) after this change
on M1 Pro.
There's no way to check if the target architecture is M1 specifically but the
gains are likely to be similar on recent iterations on Apple processors, and
the original performance issue was probably more specific to Qualcomm.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Ensure that the memory block we're trying
to reuse is large enough for the new state.
Fixes #974
|
|
|
|
|
|
| |
This is required to correctly size a static member
to hold the hash table, whose size is derived from
LZ4_MEMORY_USAGE.
|