/lz4-3.4.0-2.7.6/examples/ |
D | blockStreaming_lineByLine.md | 8 - 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 +---+----+ 33 v [all …]
|
D | blockStreaming_doubleBuffer.md | 8 - 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 +----+----+---------+ 33 v 38 +---------+ [all …]
|
D | dictionaryRandomAccess.md | 10 - Dictionary based compression for homogenous files. 11 - Random access to compressed blocks. 23 v 24 +---------+ 26 +----+----+ 28 v 35 v 36 +---------+ 38 +----+----+ 40 v [all …]
|
/lz4-3.4.0-2.7.6/.circleci/ |
D | config.yml | 17 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/ |
D | Makefile | 2 # 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 45 # silent mode by default; verbose can be triggered by V=1 or VERBOSE=1 46 $(V)$(VERBOSE).SILENT: 54 .PHONY: lib lib-release liblz4.a 56 lib lib-release liblz4.a: 57 $(MAKE) -C $(LZ4DIR) $@ [all …]
|
D | appveyor.yml | 4 - 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 …]
|
D | .travis.yml | 7 - 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 …]
|
/lz4-3.4.0-2.7.6/ossfuzz/ |
D | ossfuzz.sh | 1 #!/bin/bash -eu 3 # This script is called by the oss-fuzz main project when compiling the fuzz 16 export MAKEFLAGS+="-j$(nproc)" 19 make V=1 all 23 cp -v ossfuzz/*_fuzzer $OUT/
|
/lz4-3.4.0-2.7.6/contrib/djgpp/ |
D | Makefile | 10 LIBVER_MAJOR=$(shell sed -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lib… 11 LIBVER_MINOR=$(shell sed -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lib… 12 LIBVER_PATCH=$(shell sed -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < l… 17 CROSS ?= i586-pc-msdosdjgpp 18 CC = $(CROSS)-gcc 19 AR = $(CROSS)-ar 20 LD = $(CROSS)-gcc 22 CFLAGS ?= -O3 -std=gnu99 -Wall -Wextra -Wundef -Wshadow -Wcast-qual -Wcast-align -Wstrict-prototype… 23 LDFLAGS ?= -s 38 # Since LDFLAGS defaults to "-s", probably better to override unless [all …]
|
/lz4-3.4.0-2.7.6/tests/ |
D | checkTag.c | 2 checkTag.c - Version validation tool for LZ4 3 Copyright (C) Yann Collet 2018-2020 19 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 22 - LZ4 homepage : http://www.lz4.org 23 - LZ4 source repo : https://github.com/lz4/lz4 28 * checkTag validates tags of following format : v[0-9].[0-9].[0-9]{any} 52 if (tag[0] != 'v') return 0; in validate()
|
D | Makefile | 2 # 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 …]
|
D | test-lz4-speed.py | 4 # Copyright (c) 2016-2020, Przemyslaw Skibinski, Yann Collet, Facebook, Inc. 7 # This source code is licensed under the BSD-style license found in the 13 # - doesn't support filenames with spaces 14 # - dir1/lz4 and dir2/lz4 will be merged in a single results file 24 script_version = 'v1.7.2 (2016-11-08)' 45 print(time.strftime("%Y/%m/%d %H:%M:%S") + ' - ' + text) 53 stderr_lines = stderr_lines.decode("utf-8") 54 stdout_lines = stdout_lines.decode("utf-8") 82 execute('mutt -s "' + topic + '" ' + emails + ' < ' + logFileName, verbose) 84 execute('mail -s "' + topic + '" ' + emails + ' < ' + logFileName, verbose) [all …]
|
D | checkFrame.c | 2 checkFrame - verify frame headers 3 Copyright (C) Yann Collet 2014-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 26 /*-************************************ 45 /*-************************************ 53 /*-************************************ 77 /*-*************************************** 85 /*-******************************************************* [all …]
|
D | test-lz4-versions.py | 5 # Copyright (C) 2011-present, Takayuki Matsuoka 44 stdout, stderr = git(['tag', '-l', 'r[0-9][0-9][0-9]']) 45 tags = stdout.decode('utf-8').split() 46 stdout, stderr = git(['tag', '-l', 'v[1-9].[0-9].[0-9]']) 47 tags += stdout.decode('utf-8').split() 85 git(['--work-tree=' + r_dir, 'checkout', tag, '--', '.'], False) 100 proc(['./lz4c.' + tag, '-1fz', test_dat, test_dat + '_1_64_' + tag + '.lz4']) 101 proc(['./lz4c.' + tag, '-9fz', test_dat, test_dat + '_9_64_' + tag + '.lz4']) 102 proc(['./lz4c32.' + tag, '-1fz', test_dat, test_dat + '_1_32_' + tag + '.lz4']) 103 proc(['./lz4c32.' + tag, '-9fz', test_dat, test_dat + '_9_32_' + tag + '.lz4']) [all …]
|
D | datagencli.c | 4 Copyright (C) Yann Collet 2012-2020 20 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 23 - LZ4 source repository : https://github.com/lz4/lz4 24 - Public forum : https://groups.google.com/forum/#!forum/lz4c 66 DISPLAY( " -g# : generate # data (default:%i)\n", SIZE_DEFAULT); in usage() 67 DISPLAY( " -s# : Select seed (default:%i)\n", SEED_DEFAULT); in usage() 68 DISPLAY( " -P# : Select compressibility in %% (default:%i%%)\n", COMPRESSIBILITY_DEFAULT); in usage() 69 DISPLAY( " -h : display help and exit\n"); in usage() 71 DISPLAY( " -P0 : generate incompressible noise\n"); in usage() 72 DISPLAY( " -P100 : generate sparse files\n"); in usage() [all …]
|
D | frametest.c | 2 frameTest - test tool for lz4frame 3 Copyright (C) Yann Collet 2014-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 26 /*-************************************ 34 /*-************************************ 65 /*-************************************ 80 /*-************************************ 93 /*-*************************************** [all …]
|
D | test-lz4-list.py | 26 if "concat-all" in self.filename or "2f--content-size" in self.filename: 30 uncompressed_filename = self.filename.split("-")[0] 39 …for i, line in enumerate(execute("{} --list -m {}/test_list_*.lz4".format(LZ4, TEMP), print_output… 47 if "concat-all" in nvinfo.filename: 49 elif "2f--content-size" in nvinfo.filename: 55 self.assertNotEqual(None, all_concat_index, "Couldn't find concat-all file index.") 60 if "-lz4f-" in nvinfo.filename: 62 elif "-legc-" in nvinfo.filename: 64 elif "-skip-" in nvinfo.filename: 69 # if "-leg" in nvinfo.filename or "-skip" in nvinfo.filename: [all …]
|
D | fuzzer.c | 2 fuzzer.c - Fuzzer test tool for LZ4 3 Copyright (C) Yann Collet 2012-2020 19 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 22 - LZ4 homepage : http://www.lz4.org 23 - LZ4 source repo : https://github.com/lz4/lz4 26 /*-************************************ 36 /*-************************************ 41 # define _GNU_SOURCE /* MAP_ANONYMOUS even in -std=c99 mode */ 66 /*-************************************ 70 typedef size_t uintptr_t; /* true on most systems, except OpenVMS-64 (which doesn't need address … [all …]
|
/lz4-3.4.0-2.7.6/programs/ |
D | lz4.1 | 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 … 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 …]
|
D | README.md | 8 …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 …]
|
D | lz4.1.md | 1 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 …]
|
D | Makefile | 2 # 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 …]
|
D | lz4cli.c | 2 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 …]
|
/lz4-3.4.0-2.7.6/lib/ |
D | Makefile | 2 # 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 …]
|
D | lz4.c | 2 LZ4 - Fast LZ compression algorithm 3 Copyright (C) 2011-2020, Yann Collet. 5 BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) 31 - LZ4 homepage : http://www.lz4.org 32 - LZ4 source repository : https://github.com/lz4/lz4 35 /*-************************************ 60 /*-************************************ 65 * Unfortunately, on some target/compiler combinations, the generated assembly is sub-optimal. 73 * See https://fastcompression.blogspot.fr/2015/08/accessing-unaligned-memory.html for details. 97 /*-************************************ [all …]
|