Home
last modified time | relevance | path

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

12

/lz4-3.4.0-2.7.6/contrib/gen_manual/
Dgen_manual.cpp2 Copyright (c) 2016-present, Przemyslaw Skibinski
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
61 s = s.substr(spos+3, epos-(spos+3)); in trim_comments()
74 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
111 size_t spos, l; in main() local
146 for (l=0; l<lines.size(); l++) { in main()
147 print_line(sout, lines[l]); in main()
168 spos = line.find("/*-"); in main()
[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 …]
Ddatagencli.c4 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
52 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } argument
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()
[all …]
Dtest-lz4-versions.py5 # 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 …]
DcheckFrame.c2 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 /*-************************************
57 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } argument
77 /*-***************************************
[all …]
Dframetest.c2 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 /*-************************************
84 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } argument
[all …]
Dtest-lz4-list.py26 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 …]
/lz4-3.4.0-2.7.6/programs/
Dutil.h2 util.h - utility functions
3 Copyright (C) 2016-2020, Przemyslaw Skibinski, Yann Collet
17 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
29 /*-****************************************
45 # if PLATFORM_POSIX_VERSION < 200809L
58 /*-**************************************************************
61 …(defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) )
86 #elif !defined(__64BIT__) && (PLATFORM_POSIX_VERSION >= 200112L) /* No point defining Large file fo…
95 /*-****************************************
96 * Sleep functions: Windows - Posix - others
[all …]
Dbench.c2 bench.c - Demo program to benchmark open-source compression algorithms
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 repository : https://github.com/lz4/lz4
27 /*-************************************
85 pThis->LZ4_stream = NULL; in LZ4_compressInitNoStream()
86 pThis->LZ4_dictStream = NULL; in LZ4_compressInitNoStream()
87 pThis->LZ4_streamHC = NULL; in LZ4_compressInitNoStream()
88 pThis->LZ4_dictStreamHC = NULL; in LZ4_compressInitNoStream()
[all …]
Dplatform.h2 platform.h - compiler and OS detection
3 Copyright (C) 2016-2020, Przemyslaw Skibinski, Yann Collet
17 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
35 # define _CRT_SECURE_NO_DEPRECATE /* VS2005 - must be declared before <io.h> and <windows.h> */
42 * Detect 64-bit OS
46 …__ppc64__ || defined __PPC64__ /* POWER 64-bit */ \
47 …arcv9 || defined __sparc_v9__ || defined __arch64__)) || defined __sparc64__ /* SPARC 64-bit */ \
48 …_X64 /* x86 64-bit */ \
49 …rch64__ || defined __ARM64_ARCH_8__ /* ARM 64-bit */ \
50 … || __mips == 4 || __mips == 3)) /* MIPS 64-bit */ \
[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 …]
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 …]
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 /*-************************************
72 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); } argument
73 … 2; /* 0 : no display ; 1: errors only ; 2 : downgradable normal ; 3 : non-downgradable normal; …
[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 …]
Dlz4io.c2 LZ4io.c - LZ4 File/Stream 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.
28 - The license of LZ4 library is BSD.
29 - The license of xxHash library is BSD.
30 - The license of this source file is GPLv2.
34 /*-************************************
[all …]
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 …]
/lz4-3.4.0-2.7.6/lib/
Dliblz4.pc.in1 # LZ4 - Fast LZ compression algorithm
2 # Copyright (C) 2011-2020, Yann Collet.
3 # BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
13 Libs: -L@LIBDIR@ -llz4
14 Cflags: -I@INCLUDEDIR@
Dxxhash.h2 xxHash - Extremely Fast Hash algorithm
4 Copyright (C) 2012-2016, Yann Collet.
6 BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
32 - xxHash source repository : https://github.com/Cyan4973/xxHash
53 MD5-32 0.33 GB/s 10 Ronald L. Rivest
54 SHA1-32 0.28 GB/s 10
60 A 64-bit version, named XXH64, is available since r35.
61 It offers much better speed, but for 64-bit applications only.
101 # elif defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C9…
159 /*-**********************************************************************
[all …]
Dxxhash.c2 * xxHash - Fast Hash algorithm
3 * Copyright (C) 2012-2016, Yann Collet
5 * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
31 * - xxHash homepage: http://www.xxhash.com
32 * - xxHash source repository : https://github.com/Cyan4973/xxHash
41 * Unfortunately, on some target/compiler combinations, the generated assembly is sub-optimal.
68 * It it is, result for null input pointers is the same as a null-length input.
75 …* By default, xxHash library provides endian-independent Hash values, based on little-endian conve…
76 * Results are therefore identical for little-endian and big-endian CPU.
77 …* This comes at a performance cost for big-endian CPU, since some swapping is required to emulate …
[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/contrib/djgpp/
DMakefile10 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/ossfuzz/
Dfuzz_helpers.h2 * Copyright (c) 2016-present, Facebook, Inc.
5 * This source code is licensed under both the BSD-style license (found in the
51 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */)
66 *size -= toHash; in FUZZ_seed()
71 #define FUZZ_rotl32(x, r) (((x) << (r)) | ((x) >> (32 - (r))))
87 return min + (random % (max - min + 1)); in FUZZ_rand32()
/lz4-3.4.0-2.7.6/examples/
Dcompress_functions.c28 … can help avoid some test cases and branching which might be useful in some implementation-specific
42 …* size of the compressed buffer (it will simply be read-to-end, hence it's non-saf…
55 #if __STDC_VERSION__ >= 199901L
60 #define _POSIX_C_SOURCE 199309L
74 #define BILLION 1000000000L
87 * Easy show-error-and-bail function.
221 time_taken = BILLION *(end.tv_sec - start.tv_sec) + end.tv_nsec - start.tv_nsec; in bench()
244 …create 2 sources (char *) of 2000 bytes each. One normal text, the other highly-compressible text. in main()
258 …// Create known-good buffers to verify our tests with other functions will produce the same result… in main()
261 …run_screaming("Couldn't create a known-good destination buffer for comparison... this is bad.", 1); in main()
[all …]
/lz4-3.4.0-2.7.6/
DNEWS10 api : fix alignment test on 32-bit systems (state initialization)
12 cli : `-l` legacy format is now compatible with `-m` multiple files, by Filipe Calasans
14 cli : fix --fast with large argument, detected by @picoHz
15 build: link to user-defined memory functions with LZ4_USER_MEMORY_FUNCTIONS, suggested by Yuriy Lev…
24 fix : out-of-bound read in exceptional circumstances when using decompress_partial(), by @terrelln
25 fix : slim opportunity for out-of-bound write with compress_fast() with a large enough input and wh…
31 api: better in-place decompression and compression support
32 cli : --list supports multi-frames files, by @gstedman
33 cli: --version outputs to stdout
34 cli : add option --best as an alias of -12 , by @Low-power
[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 …]

12