Home
last modified time | relevance | path

Searched +full:- +full:- +full:- +full:- +full:- (Results 1 – 25 of 144) sorted by relevance

123456

/lz4-3.4.0-2.7.6/examples/
Dstreaming_api_basics.md7 - "Auto Framing" API (lz4frame.h) :
10 such as LZ4 command line utility, node-lz4, etc.
11 - "Block" API : This is recommended for simple purpose.
13 - "Streaming" API : This is designed for complex things.
32 +---------------+---------------+----+----+----+
34 +---------------+---------------+----+----+----+
37 +---------------+---------------+----+----+----+
39 +---------------+---------------+----+----+----+
41 +---------------+---------------+----+----+----+
47 +---------------+---------------+----+----+----+
[all …]
DblockStreaming_lineByLine.md8 - Firstly, read "LZ4 Streaming API Basics".
9 - This is relatively advanced application example.
10 - Output file is not compatible with lz4frame and platform dependent.
15 - Line by line incremental (de)compression.
16 - Handle huge file in small amount of memory
17 - Generally better compression ratio than Block API
18 - Non-uniform block size
29 +--------+
31 +---+----+
39 +----+
[all …]
DblockStreaming_doubleBuffer.md8 - Firstly, read "LZ4 Streaming API Basics".
9 - This is relatively advanced application example.
10 - Output file is not compatible with lz4frame and platform dependent.
15 - Handle huge file in small amount of memory
16 - Always better compression ratio than Block API
17 - Uniform block size
29 +---------+---------+
31 +----+----+---------+
38 +---------+
41 +---------+----+----+
[all …]
DdictionaryRandomAccess.md10 - Dictionary based compression for homogenous files.
11 - Random access to compressed blocks.
24 +---------+
26 +----+----+
36 +---------+
38 +----+----+
50 +------+---------+ +---------+---+----------+ +----------+-----+
52 +------+---------+ +---------+---+----------+ +----------+-----+
59 - Seek to the last 4 bytes of the file and read the number of offsets.
60 - Read each offset into an array.
[all …]
/lz4-3.4.0-2.7.6/tests/
DMakefile2 # LZ4 programs - Makefile
3 # Copyright (C) Yann Collet 2011-2020
19 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 # - LZ4 homepage : http://www.lz4.org
23 # - LZ4 source repository : https://github.com/lz4/lz4
37 DEBUGFLAGS = -g -DLZ4_DEBUG=$(DEBUGLEVEL)
38 CFLAGS ?= -O3 # can select custom optimization flags. Example : CFLAGS=-O2 make
39 CFLAGS += -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow \
40 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes \
41 -Wpointer-arith -Wstrict-aliasing=1
[all …]
Dtest_custom_block_sizes.sh2 set -e
13 $DATAGEN -g12345678 > $TMPFILE1
14 $DATAGEN -g12345678 > $TMPFILE2
16 echo Testing -B31
17 $LZ4 -f -B31 $TMPFILE1 && failures="31 (should fail) "
21 echo Testing -B$blocksize
22 $LZ4 -f -B$blocksize $TMPFILE1
23 $LZ4 -f -B$blocksize $TMPFILE2
25 $CHECKFRAME -B$blocksize -b4 $TMPFILE.lz4 || failures="$failures $blocksize "
30 echo Testing -B$blocksize
[all …]
/lz4-3.4.0-2.7.6/
DMakefile2 # LZ4 - Makefile
3 # Copyright (C) Yann Collet 2011-2020
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
54 .PHONY: lib lib-release liblz4.a
56 lib lib-release liblz4.a:
57 $(MAKE) -C $(LZ4DIR) $@
59 .PHONY: lz4 lz4-release
61 lz4-release : lib-release
[all …]
D.travis.yml7 - name: (macOS) General Test
11 - make # test library build
12 - make clean
13- make test MOREFLAGS='-Werror -Wconversion -Wno-sign-conversion' | tee # test scenario where `std…
15 # Container-based 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes)
16 - name: (Precise) benchmark test
19 - make -C tests test-lz4 test-lz4c test-fullbench
21 - name: (Precise) frame and fuzzer test
24 - sudo sysctl -w vm.mmap_min_addr=4096
26 - make -C tests test-frametest test-fuzzer
[all …]
DREADME.md1 LZ4 - Extremely fast compression
6 scalable with multi-cores CPU.
9 typically reaching RAM speed limits on multi-core systems.
17 …with [dictionary compression](https://github.com/facebook/zstd#the-case-for-small-data-compression…
18 …81) and [CLI](https://github.com/lz4/lz4/blob/v1.8.3/programs/lz4.1.md#operation-modifiers) levels.
20 …onary Builder](https://github.com/facebook/zstd/blob/v1.3.5/programs/zstd.1.md#dictionary-builder),
24 LZ4 library is provided as open-source software using BSD 2-Clause license.
28 |------------|---------|
31 [travisDevBadge]: https://travis-ci.org/lz4/lz4.svg?branch=dev "Continuous Integration test suite"
32 [travisLink]: https://travis-ci.org/lz4/lz4
[all …]
Dappveyor.yml4 - COMPILER: "gcc"
6 - COMPILER: "gcc"
8 - COMPILER: "visual"
11 - COMPILER: "visual"
14 - COMPILER: "visual"
17 - COMPILER: "visual"
20 - COMPILER: "gcc"
24 - ECHO Installing %COMPILER% %PLATFORM% %CONFIGURATION%
25 - MKDIR bin
26 - if [%COMPILER%]==[gcc] SET PATH_ORIGINAL=%PATH%
[all …]
/lz4-3.4.0-2.7.6/build/VS2010/
Dlz4.sln3 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lz4", "lz4\lz4.vcxproj", "{E30329AC-0057-4FE0-
5 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblz4-dll", "liblz4-dll\liblz4-dll.vcxproj", …
7 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblz4", "liblz4\liblz4.vcxproj", "{9092C5CC-3…
9 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fuzzer", "fuzzer\fuzzer.vcxproj", "{18B9F1A7-9…
11 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fullbench", "fullbench\fullbench.vcxproj", "{6…
13 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "frametest", "frametest\frametest.vcxproj", "{3…
15 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "datagen", "datagen\datagen.vcxproj", "{D745AE2…
17 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fullbench-dll", "fullbench-dll\fullbench-dll.v…
19 {9800039D-4AAA-43A4-BB78-FEF6F4836927} = {9800039D-4AAA-43A4-BB78-FEF6F4836927}
30 {E30329AC-0057-4FE0-8FDA-7F650D398C4C}.Debug|Win32.ActiveCfg = Debug|Win32
[all …]
/lz4-3.4.0-2.7.6/doc/
Dlz4_Frame_format.md6 Copyright (c) 2013-2020 Yann Collet
23 ------------
36 and optional [xxHash-32 checksum method](https://github.com/Cyan4973/xxHash),
57 it must produce a non-ambiguous error code
62 -------------------------------------
65 |:-------:|:-------------:| ----- | ----- | ------- | ----------- |
66 | 4 bytes | 3-15 bytes | | | 4 bytes | 0-4 bytes |
89 the 32-bit value `0x00000000`.
94 The content checksum is the result of [xxHash-32 algorithm]
110 without re-framing it.
[all …]
Dlz4_Block_format.md3 Last revised: 2019-03-30.
8 willing to produce LZ4-compatible compressed data blocks
11 LZ4 is an LZ77-type compressor with a fixed, byte-oriented encoding.
12 There is no entropy encoder back-end nor framing layer.
28 -----------------------
30 A sequence is a suite of literals (not-compressed bytes),
34 The `token` is a one byte value, separated into two 4-bits fields.
38 The first field uses the 4 high-bits of the token.
47 (Side note : this is why a not-compressible input block is expanded by 0.4%).
51 - 15 : value for the 4-bits High field
[all …]
/lz4-3.4.0-2.7.6/build/VS2017/
Dlz4.sln5 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblz4-dll", "liblz4-dll\liblz4-dll.vcxproj", …
7 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblz4", "liblz4\liblz4.vcxproj", "{9092C5CC-3…
9 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fuzzer", "fuzzer\fuzzer.vcxproj", "{18B9F1A7-9…
11 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fullbench", "fullbench\fullbench.vcxproj", "{6…
13 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "frametest", "frametest\frametest.vcxproj", "{3…
15 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "datagen", "datagen\datagen.vcxproj", "{D745AE2…
17 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fullbench-dll", "fullbench-dll\fullbench-dll.v…
19 {9800039D-4AAA-43A4-BB78-FEF6F4836927} = {9800039D-4AAA-43A4-BB78-FEF6F4836927}
22 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lz4", "lz4\lz4.vcxproj", "{60A3115E-B988-41EE-
32 {9800039D-4AAA-43A4-BB78-FEF6F4836927}.Debug|Win32.ActiveCfg = Debug|Win32
[all …]
/lz4-3.4.0-2.7.6/programs/
DMakefile2 # LZ4 programs - Makefile
3 # Copyright (C) Yann Collet 2011-2020
21 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
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
29 # lz4c32: Same as lz4c, but forced to compile in 32-bits mode
36 LIBVER_MAJOR_SCRIPT:=`$(SED) -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' <…
37 LIBVER_MINOR_SCRIPT:=`$(SED) -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' <…
38 LIBVER_PATCH_SCRIPT:=`$(SED) -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p'…
[all …]
Dlz4.1.md1 lz4(1) -- lz4, unlz4, lz4cat - Compress or decompress .lz4 files
5 --------
7 `lz4` [*OPTIONS*] [-|INPUT-FILE] <OUTPUT-FILE>
9 `unlz4` is equivalent to `lz4 -d`
11 `lz4cat` is equivalent to `lz4 -dcfm`
15 (`lz4 -d` or `lz4 -dc`) instead of the names `unlz4` and `lz4cat`.
19 -----------
22 based on **byte-aligned LZ77** family of compression scheme.
24 multi-core CPUs.
26 typically reaching RAM speed limit on multi-core systems.
[all …]
Dlz4.15 \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 … always use the name \fBlz4\fR with appropriate arguments (\fBlz4 \-d\fR or \fBlz4 \-dc\fR) instea…
20-aligned LZ77\fR family of compression scheme\. \fBlz4\fR offers compression speeds of 400 MB/s pe…
26 \fBlz4\fR compresses a single file by default (see \fB\-m\fR for multiple files)
32 \fBlz4 file\.lz4\fR will default to decompression (use \fB\-z\fR to force compression)
38 \fBlz4\fR shows real\-time notification statistics during compression or decompression of a single …
44 …output in scripts\. \fB\-c\fR ensures that output will be \fBstdout\fR\. Conversely, providing a d…
[all …]
Dlz4cli.c2 LZ4cli - LZ4 Command Line Interface
3 Copyright (C) Yann Collet 2011-2020
19 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 - LZ4 source repository : https://github.com/lz4/lz4
23 - LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c
26 Note : this is stand-alone program.
53 #define WELCOME_MESSAGE "*** %s %i-bits v%s, by %s ***\n", COMPRESSOR_NAME, (int)(sizeof(void*)*8),…
67 /*-************************************
73 … 2; /* 0 : no display ; 1: errors only ; 2 : downgradable normal ; 3 : non-downgradable normal; …
76 /*-************************************
[all …]
DREADME.md8 …all [standard conventions](https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html),
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)
15 - `lz4c32` : Same as `lz4c`, but forced to compile in 32-bits mode
17 The CLI generates and decodes [LZ4-compressed frames](../doc/lz4_Frame_format.md).
21 CLI supports aggregation of parameters i.e. `-b1`, `-e18`, and `-i1` can be joined into `-b1e18i1`.
25 CLI includes in-memory compression benchmark module for lz4.
31 One can select compression levels starting from `-b` and ending with `-e`.
32 The `-i` parameter selects a number of seconds used for each of tested levels.
37 The full list of commands can be obtained with `-h` or `-H` parameter:
[all …]
/lz4-3.4.0-2.7.6/lib/
DMakefile2 # LZ4 library - Makefile
3 # Copyright (C) Yann Collet 2011-2020
31 # - LZ4 source repository : https://github.com/lz4/lz4
32 # - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c
37 LIBVER_MAJOR_SCRIPT:=`$(SED) -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' <…
38 LIBVER_MINOR_SCRIPT:=`$(SED) -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' <…
39 LIBVER_PATCH_SCRIPT:=`$(SED) -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p'…
49 CPPFLAGS+= -DXXH_NAMESPACE=LZ4_
51 CFLAGS ?= -O3
52 DEBUGFLAGS:= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
[all …]
Dlz4frame.c2 * LZ4 auto-framing library
3 * Copyright (C) 2011-2016, Yann Collet.
5 * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
11 * - Redistributions of source code must retain the above copyright
13 * - Redistributions in binary form must reproduce the above
31 * - LZ4 homepage : http://www.lz4.org
32 * - LZ4 source repository : https://github.com/lz4/lz4
35 /* LZ4F is a stand-alone API to create LZ4-compressed Frames
44 /*-************************************
52 /*-************************************
[all …]
/lz4-3.4.0-2.7.6/.circleci/images/primary/
DDockerfile1 FROM circleci/buildpack-deps:bionic
3 RUN sudo apt-get -y -qq update
4 RUN sudo apt-get -y install software-properties-common
5 RUN sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
6 RUN sudo apt-get -y install cmake
7 RUN sudo apt-get -y install qemu-system-ppc qemu-user-static qemu-system-arm
8 RUN sudo apt-get -y install libc6-dev-armel-cross libc6-dev-arm64-cross libc6-dev-i386
9 RUN sudo apt-get -y install clang clang-tools
10 RUN sudo apt-get -y install gcc-5 gcc-5-multilib gcc-6
11 RUN sudo apt-get -y install valgrind
[all …]
/lz4-3.4.0-2.7.6/.circleci/
Dconfig.yml17 shell: /bin/bash --login
19 …t or see https://circleci.com/docs/2.0/env-vars/#interpolating-environment-variables-to-set-other-
21 CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
22 CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
23 …# In CircleCI 1.0 we used a pre-configured image with a large number of languages and other packag…
24 # In CircleCI 2.0 you can now specify your own image, or use one of our pre-configured images.
26 # We have selected a pre-built image that mirrors the build environment we use on
29 # VM instead of a container) see https://circleci.com/docs/2.0/executor-types/
30 # To see the list of pre-built images that CircleCI provides for most common languages see
31 # https://circleci.com/docs/2.0/circleci-images/
[all …]
/lz4-3.4.0-2.7.6/lib/dll/example/
Dfullbench-dll.sln3 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fullbench-dll", "fullbench-dll.vcxproj", "{139…
13 {13992FD2-077E-4954-B065-A428198201A9}.Debug|Win32.ActiveCfg = Debug|Win32
14 {13992FD2-077E-4954-B065-A428198201A9}.Debug|Win32.Build.0 = Debug|Win32
15 {13992FD2-077E-4954-B065-A428198201A9}.Debug|x64.ActiveCfg = Debug|x64
16 {13992FD2-077E-4954-B065-A428198201A9}.Debug|x64.Build.0 = Debug|x64
17 {13992FD2-077E-4954-B065-A428198201A9}.Release|Win32.ActiveCfg = Release|Win32
18 {13992FD2-077E-4954-B065-A428198201A9}.Release|Win32.Build.0 = Release|Win32
19 {13992FD2-077E-4954-B065-A428198201A9}.Release|x64.ActiveCfg = Release|x64
20 {13992FD2-077E-4954-B065-A428198201A9}.Release|x64.Build.0 = Release|x64
/lz4-3.4.0-2.7.6/ossfuzz/
Dround_trip_stream_fuzzer.c2 * This fuzz target performs a lz4 streaming round-trip test
93 state->level = FUZZ_rand32(&seed, LZ4HC_CLEVEL_MIN, LZ4HC_CLEVEL_MAX); in state_reset()
94 LZ4_resetStream_fast(state->cstream); in state_reset()
95 LZ4_resetStreamHC_fast(state->cstreamHC, state->level); in state_reset()
96 LZ4_setStreamDecode(state->dstream, NULL, 0); in state_reset()
97 state->data.pos = 0; in state_reset()
98 state->compressed.pos = 0; in state_reset()
99 state->roundTrip.pos = 0; in state_reset()
100 state->seed = seed; in state_reset()
105 char* dst = state->roundTrip.buf + state->roundTrip.pos; in state_decompress()
[all …]

123456