Home
last modified time | relevance | path

Searched full:lz4 (Results 1 – 25 of 128) sorted by relevance

123456

/lz4-3.4.0-2.7.6/tests/
DMakefile2 # LZ4 programs - Makefile
22 # - LZ4 homepage : http://www.lz4.org
23 # - LZ4 source repository : https://github.com/lz4/lz4
25 # fuzzer : Test tool, to check lz4 integrity on target platform
27 # fullbench : Precisely measure speed for each LZ4 function variant
48 LZ4 := $(PRGDIR)/lz4$(EXT) macro
64 lz4: target
70 lz4c unlz4 lz4cat: lz4
71 $(LN_SF) $(LZ4) $(PRGDIR)/$@
80 fullbench : lz4.o lz4hc.o lz4frame.o xxhash.o fullbench.c
[all …]
Dtest_custom_block_sizes.sh4 LZ4=../lz4
17 $LZ4 -f -B31 $TMPFILE1 && failures="31 (should fail) "
22 $LZ4 -f -B$blocksize $TMPFILE1
23 $LZ4 -f -B$blocksize $TMPFILE2
24 cat $TMPFILE1.lz4 $TMPFILE2.lz4 > $TMPFILE.lz4
25 $CHECKFRAME -B$blocksize -b4 $TMPFILE.lz4 || failures="$failures $blocksize "
31 $LZ4 -f -B$blocksize $TMPFILE1
32 $LZ4 -f -B$blocksize $TMPFILE2
33 cat $TMPFILE1.lz4 $TMPFILE2.lz4 > $TMPFILE.lz4
34 $CHECKFRAME -B$blocksize -b5 $TMPFILE.lz4 || failures="$failures $blocksize "
[all …]
Dtest-lz4-versions.py2 """Test LZ4 interoperability between versions"""
18 repo_url = 'https://github.com/lz4/lz4.git'
57 base_dir = os.getcwd() + '/..' # /path/to/lz4
58 tmp_dir = base_dir + '/' + tmp_dir_name # /path/to/lz4/tests/versionsTest
59 clone_dir = tmp_dir + '/' + 'lz4' # /path/to/lz4/tests/versionsTest/lz4
60 programs_dir = base_dir + '/programs' # /path/to/lz4/programs
78 dst_lz4c = '{}/lz4c.{}' .format(tmp_dir, tag) # /path/to/lz4/test/lz4test/lz4c.<TAG>
79 dst_lz4c32 = '{}/lz4c32.{}'.format(tmp_dir, tag) # /path/to/lz4/test/lz4test/lz4c32.<TAG>
82 r_dir = '{}/{}'.format(tmp_dir, tag) # /path/to/lz4/test/lz4test/<TAG>
86 os.chdir(r_dir + '/programs') # /path/to/lz4/lz4test/<TAG>/programs
[all …]
DREADME.md1 Programs and scripts for automated testing of LZ4
7 - `fullbench` : Precisely measure speed for each lz4 inner functions
8 - `fuzzer` : Test tool, to check lz4 integrity on target platform
9 - `test-lz4-speed.py` : script for testing lz4 speed difference between commits
10 - `test-lz4-versions.py` : compatibility test between lz4 versions stored on Github
13 #### `test-lz4-versions.py` - script for testing lz4 interoperability between versions
15 This script creates `versionsTest` directory to which lz4 repository is cloned.
16 Then all taged (released) versions of lz4 are compiled.
17 In the following step interoperability between lz4 versions is checked.
20 #### `test-lz4-speed.py` - script for testing lz4 speed difference between commits
[all …]
DcheckTag.c2 checkTag.c - Version validation tool for LZ4
22 - LZ4 homepage : http://www.lz4.org
23 - LZ4 source repo : https://github.com/lz4/lz4
29 * The tag is then compared to LZ4 version number.
40 #include "lz4.h" /* LZ4_VERSION_STRING */
73 printf("OK : tag is compatible with lz4 version \n"); in main()
Dtest-lz4-list.py11 LZ4 = os.path.dirname(os.path.realpath(__file__)) + "/../lz4" variable
12 if not os.path.exists(LZ4):
13 LZ4 = os.path.dirname(os.path.realpath(__file__)) + "/../programs/lz4" variable
39 …for i, line in enumerate(execute("{} --list -m {}/test_list_*.lz4".format(LZ4, TEMP), print_output…
115 …xecute("{} --list -m -v {}/test_list_concat-all.lz4 {}/test_list_*M-lz4f-2f--content-size.lz4".for…
125 concat_file_list = glob.glob("/tmp/test_list_[!concat]*.lz4")
133 self.cvinfo.compressed_size = os.path.getsize("{}/test_list_concat-all.lz4".format(TEMP))
243 # file format ~ test_list<frametype>-<no_frames>f<create-args>.lz4 ~
250 lz4file = "{}-lz4f-1f{}.lz4".format(filename, j)
251 execute("{} {} {} {}".format(LZ4, j, filename, lz4file))
[all …]
/lz4-3.4.0-2.7.6/programs/
Dlz4.12 .TH "LZ4" "1" "July 2019" "lz4 1.9.2" "User Commands"
5 \fBlz4\fR \- lz4, unlz4, lz4cat \- Compress or decompress \.lz4 files
8 \fBlz4\fR [\fIOPTIONS\fR] [\-|INPUT\-FILE] \fIOUTPUT\-FILE\fR
11 \fBunlz4\fR is equivalent to \fBlz4 \-d\fR
14 \fBlz4cat\fR is equivalent to \fBlz4 \-dcfm\fR
17 …s, it is recommended to always use the name \fBlz4\fR with appropriate arguments (\fBlz4 \-d\fR or…
20lz4\fR is an extremely fast lossless compression algorithm, based on \fBbyte\-aligned LZ77\fR fami…
22 .SS "Difference between lz4 and gzip"
23 \fBlz4\fR supports a command line syntax similar \fIbut not identical\fR to \fBgzip(1)\fR\. Differe…
26 \fBlz4\fR compresses a single file by default (see \fB\-m\fR for multiple files)
[all …]
DMakefile2 # LZ4 programs - Makefile
24 # - LZ4 homepage : http://www.lz4.org
25 # - LZ4 source repository : https://github.com/lz4/lz4
27 # lz4 : Command Line Utility, supporting gzip-like arguments
35 LIBVER_SRC := $(LZ4DIR)/lz4.h
59 MD2ROFF_FLAGS = --roff --warnings --manual="User Commands" --organization="lz4 $(LZ4_VERSION)"
63 default: lz4-release
68 all: lz4 lz4c
74 lz4-exe.rc: lz4-exe.rc.in
76 $(SED) -e 's|@PROGNAME@|lz4|' \
[all …]
Dlz4.1.md1 lz4(1) -- lz4, unlz4, lz4cat - Compress or decompress .lz4 files
7 `lz4` [*OPTIONS*] [-|INPUT-FILE] <OUTPUT-FILE>
9 `unlz4` is equivalent to `lz4 -d`
11 `lz4cat` is equivalent to `lz4 -dcfm`
14 it is recommended to always use the name `lz4` with appropriate arguments
15 (`lz4 -d` or `lz4 -dc`) instead of the names `unlz4` and `lz4cat`.
21 `lz4` is an extremely fast lossless compression algorithm,
23 `lz4` offers compression speeds of 400 MB/s per core, linearly scalable with
27 The native file format is the `.lz4` format.
29 ### Difference between lz4 and gzip argument
[all …]
DREADME.md1 Command Line Interface for LZ4 library
13 - `lz4` : default CLI, with a command line syntax close to gzip
14 - `lz4c` : Same as `lz4` with additional support legacy lz4 commands (incompatible with gzip)
17 The CLI generates and decodes [LZ4-compressed frames](../doc/lz4_Frame_format.md).
25 CLI includes in-memory compression benchmark module for lz4.
40 lz4 [arg] [input] [output]
47 -d : decompression (default for .lz4 extension)
/lz4-3.4.0-2.7.6/build/
DREADME.md6 The following projects are included with the lz4 distribution:
12 #### How to compile lz4 with Visual Studio
15 2. Download the latest version of lz4 from https://github.com/lz4/lz4/releases
17 4. Go to decompressed directory then to `build` then `VS2010` and open `lz4.sln`
21 8. If compilation will be fine a compiled executable will be in `build\VS2010\bin\x64_Release\lz4.e…
24 #### Projects available within lz4.sln
26 The Visual Studio solution file `lz4.sln` contains many projects that will be compiled to the
27 `build\VS2010\bin\$(Platform)_$(Configuration)` directory. For example `lz4` set to `x64` and
28 `Release` will be compiled to `build\VS2010\bin\x64_Release\lz4.exe`. The solution file contains the
31 - `lz4` : Command Line Utility, supporting gzip-like arguments
[all …]
/lz4-3.4.0-2.7.6/
DREADME.md1 LZ4 - Extremely fast compression
4 LZ4 is lossless compression algorithm,
17 LZ4 is also compatible with [dictionary compression](https://github.com/facebook/zstd#the-case-for-…
18 …[API](https://github.com/lz4/lz4/blob/v1.8.3/lib/lz4frame.h#L481) and [CLI](https://github.com/lz4
24 LZ4 library is provided as open-source software using BSD 2-Clause license.
31 [travisDevBadge]: https://travis-ci.org/lz4/lz4.svg?branch=dev "Continuous Integration test suite"
32 [travisLink]: https://travis-ci.org/lz4/lz4
33 [AppveyorDevBadge]: https://ci.appveyor.com/api/projects/status/github/lz4/lz4?branch=dev&svg=true …
34 [AppveyorLink]: https://ci.appveyor.com/project/YannCollet/lz4-1lndh
52 |**LZ4 default (v1.9.0)** |**2.101**| **780 MB/s**| **4970 MB/s** |
[all …]
Dappveyor.yml50 make -C programs lz4 &&
55 …make -C programs lz4 CC=clang MOREFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sig…
66 COPY lib\lz4.h bin\include\ &&
74 COPY programs\lz4.exe bin\lz4.exe
77 …7z.exe a -bb1 bin\lz4_x64.zip NEWS .\bin\lz4.exe .\bin\README.md .\bin\example .\bin\dll .\bin\sta…
81 …7z.exe a -bb1 bin\lz4_x86.zip NEWS .\bin\lz4.exe .\bin\README.md .\bin\example .\bin\dll .\bin\sta…
89 …msbuild "build\VS2010\lz4.sln" %ADDITIONALPARAM% /m /verbosity:minimal /property:PlatformToolset=v…
93 …msbuild "build\VS2010\lz4.sln" /m /verbosity:minimal /property:PlatformToolset=v110 /t:Clean,Build…
97 …msbuild "build\VS2010\lz4.sln" /m /verbosity:minimal /property:PlatformToolset=v120 /t:Clean,Build…
101 …msbuild "build\VS2010\lz4.sln" /m /verbosity:minimal /property:PlatformToolset=v140 /t:Clean,Build…
[all …]
DNEWS21 doc : updated LZ4 frame format, clarify EndMark
83 cli : fix : `lz4 -d --rm` preserves timestamp (#441)
102 doc : Updated LZ4 Frame format to v1.6.0, restoring Dictionary-ID field
103 doc : lz4 api manual, by Przemyslaw Skibinski
135 cli : fix : -t correctly validates lz4-compressed files, by Nick Terrell
158 Changed: New lz4 and lz4hc compression API. Previous function prototypes still supported.
160 New : LZ4 CLI improved performance compressing/decompressing multiple files (#86, kind contribut…
172 New : lz4 cli supports long commands (suggested by Takayuki Matsuoka)
176 New : lz4 cli supports "pass-through" mode, requested by Neil Wilson
191 Fixed : bug within LZ4 HC streaming mode, reported by James Boyle
[all …]
DMakefile2 # LZ4 - Makefile
29 # - LZ4 source repository : https://github.com/lz4/lz4
30 # - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c
43 default: lib-release lz4-release
52 allmost: lib lz4
59 .PHONY: lz4 lz4-release
60 lz4 : liblz4.a target
61 lz4-release : lib-release
62 lz4 lz4-release : target
64 cp $(PRGDIR)/lz4$(EXT) .
[all …]
/lz4-3.4.0-2.7.6/lib/dll/example/
DREADME.md1 LZ4 Windows binary package
6 - `lz4.exe` : Command Line Utility, supporting gzip-like arguments
7 - `dll\liblz4.dll` : The DLL of LZ4 library
8 - `dll\liblz4.lib` : The import library of LZ4 library for Visual C++
9 - `example\` : The example of usage of LZ4 library
10 - `include\` : Header files required with LZ4 library
11 - `static\liblz4_static.lib` : The static LZ4 library
19 Usage: lz4 [arg] [input] [output]
29 #### The example of usage of static and dynamic LZ4 libraries with gcc/MinGW
32 `fullbench-dll` uses a dynamic LZ4 library from the `dll` directory.
[all …]
/lz4-3.4.0-2.7.6/ossfuzz/
Dtravisoss.sh8 if [[ ! -d /tmp/ossfuzz/projects/lz4 ]]
10 echo "Could not find the lz4 project in ossfuzz"
17 …sed -i "s@https://github.com/lz4/lz4.git@-b ${TRAVIS_BRANCH} https://github.com/lz4/lz4.git@" /tmp…
19 …s://github.com/lz4/lz4.git@-b ${TRAVIS_PULL_REQUEST_BRANCH} https://github.com/${TRAVIS_PULL_REQUE…
24 python infra/helper.py build_image --pull lz4
25 python infra/helper.py build_fuzzers lz4
/lz4-3.4.0-2.7.6/lib/
DREADME.md1 LZ4 - Library Files
7 #### Minimal LZ4 build
9 The minimum required is **`lz4.c`** and **`lz4.h`**,
11 They generate and decode data using the [LZ4 block format].
19 This variant also compresses data using the [LZ4 block format],
20 and depends on regular `lib/lz4.*` source files.
25 In order to produce compressed data compatible with `lz4` command line utility,
30 including, lz4 and lz4hc, and also **xxhash**.
55 and with `make` : `CPPFLAGS+=-DLZ4_FAST_DEC_LOOP=1 make lz4`.
58 Set to 65535 by default, which is the maximum value supported by lz4 format.
[all …]
/lz4-3.4.0-2.7.6/build/cmake/
DCMakeLists.txt1 # CMake support for LZ4
10 # LZ4's CMake support is maintained by Evan Nemerson; when filing
15 option(LZ4_BUILD_CLI "Build lz4 program" ON)
19 file(STRINGS "${LZ4_TOP_SOURCE_DIR}/lib/lz4.h" LZ4_VERSION_MAJOR REGEX "^#define LZ4_VERSION_MAJOR …
21 file(STRINGS "${LZ4_TOP_SOURCE_DIR}/lib/lz4.h" LZ4_VERSION_MINOR REGEX "^#define LZ4_VERSION_MINOR …
23 file(STRINGS "${LZ4_TOP_SOURCE_DIR}/lib/lz4.h" LZ4_VERSION_RELEASE REGEX "^#define LZ4_VERSION_RELE…
29 project(LZ4 C) project
32 project(LZ4 project
39 # If LZ4 is being bundled in another project, we don't want to
42 # set it to OFF in your project before you add_subdirectory(lz4/contrib/cmake_unofficial).
[all …]
/lz4-3.4.0-2.7.6/examples/
DMakefile2 # LZ4 examples - Makefile
22 # - LZ4 source repository : https://github.com/lz4/lz4
23 # - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c
26 # example programs, using (mostly) LZ4 streaming library,
37 LZ4 = ../programs/lz4 macro
46 $(LZ4DIR)/liblz4.a: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c $(LZ4DIR)/lz4.h $(LZ4DIR…
76 $(LZ4) :
77 $(MAKE) -C ../programs lz4
79 test : all $(LZ4)
88 @echo "\n=== Ring Buffer + LZ4 HC ==="
[all …]
DblockStreaming_doubleBuffer.md1 # LZ4 Streaming API Example : Double Buffer
4 `blockStreaming_doubleBuffer.c` is LZ4 Streaming API example which implements double buffer (de)com…
8 - Firstly, read "LZ4 Streaming API Basics".
22 First of all, allocate "Double Buffer" for input and LZ4 compressed data buffer for output.
74 For the first time, LZ4 doesn't know any previous dependencies,
75 so it just compress the line without dependencies and generates compressed block {Out#1} to LZ4 com…
79 This time, LZ4 can use dependency to Block#1 to improve compression ratio.
83 Also this time, LZ4 can use dependency to Block#2.
DblockStreaming_lineByLine.md1 # LZ4 Streaming API Example : Line by Line Text Compression
4 `blockStreaming_lineByLine.c` is LZ4 Straming API example which implements line by line incremental…
8 - Firstly, read "LZ4 Streaming API Basics".
23 First of all, allocate "Ring Buffer" for input and LZ4 compressed data buffer for output.
94 For the first time, LZ4 doesn't know any previous dependencies,
95 so it just compress the line without dependencies and generates compressed line {Out#1} to LZ4 comp…
99 But in this time, LZ4 can use dependency to Line#1 to improve compression ratio.
104 After resetting, at Line#X+1 pointer is not adjacent, but LZ4 still maintain its memory.
107 In Line#X+2 (see (5)), finally LZ4 forget almost all memories but still remains Line#X+1.
/lz4-3.4.0-2.7.6/contrib/debian/
Dcontrol10 Homepage: http://www.lz4.org/
11 Vcs-Git: git://github.com/lz4/lz4.git
12 Vcs-Browser: https://github.com/lz4/lz4
17 Description: Extremely Fast Compression algorithm http://www.lz4.org
22 Description: Extremely Fast Compression algorithm http://www.lz4.org
/lz4-3.4.0-2.7.6/contrib/snap/
Dsnapcraft.yaml1 name: lz4
5 LZ4 is lossless compression algorithm, providing compression
16 LZ4 is also compatible with dictionary compression, and can ingest any
20 LZ4 library is provided as open-source software using BSD 2-Clause license.
25 lz4:
26 command: usr/local/bin/lz4
29 lz4:
/lz4-3.4.0-2.7.6/contrib/gen_manual/
Dgen-lz4-manual.sh3 …SCRIPT=`sed -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ../../lib/lz4.h`
4 …SCRIPT=`sed -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ../../lib/lz4.h`
5 …RIPT=`sed -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ../../lib/lz4.h`
9 ./gen_manual "lz4 $LIBVER_SCRIPT" ../../lib/lz4.h ./lz4_manual.html

123456