Home
last modified time | relevance | path

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

12

/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/programs/
Ddatagen.c2 datagen.c - compressible data generator test tool
3 Copyright (C) Yann Collet 2012-2020
19 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 - LZ4 source repository : https://github.com/lz4/lz4
23 - Public forum : https://groups.google.com/forum/#!forum/lz4c
51 #define LTMASK (LTSIZE-1)
60 #define RDG_rotl32(x,r) ((x << r) | (x >> (32 - r)))
80 U32 const weight = (U32)((double)(LTSIZE - u) * ld) + 1; in RDG_fillLiteralDistrib()
113 size0 += RDG_rand(seed) & (size0-1); /* because size0 is power of 2*/ in RDG_genBlock()
115 memset(buffPtr+pos, 0, buffSize-pos); in RDG_genBlock()
[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 …]
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 …]
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 …]
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 …]
/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-lz4-speed.py4 # 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 …]
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 …]
Dfuzzer.c2 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/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/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 +---------------+---------------+----+----+----+
33 | 4KiB Chunk A | 4KiB Chunk B | C | D |... |
34 +---------------+---------------+----+----+----+
37 +---------------+---------------+----+----+----+
38 | 4KiB Chunk A | 4KiB Chunk B | C | D |... |
39 +---------------+---------------+----+----+----+
[all …]
DdictionaryRandomAccess.c89 *offsetsEnd = *(offsetsEnd - 1) + cmpBytes; in test_compress()
92 if (offsetsEnd - offsets > MAX_BLOCKS) { exit(2); } in test_compress()
100 write_int(outFp, offsetsEnd - offsets); in test_compress()
112 int endBlock = ((offset + length - 1) / BLOCK_BYTES) + 1; in test_decompress()
133 seek_bin(inpFp, -4, SEEK_END); in test_decompress()
136 seek_bin(inpFp, -4 * (numOffsets + 1), SEEK_END); in test_decompress()
149 int cmpBytes = offsets[currentBlock + 1] - offsets[currentBlock]; in test_decompress()
163 int blockLength = MIN(length, (decBytes - offset)); in test_decompress()
166 length -= blockLength; in test_decompress()
183 result = (int) r0 - (int) r1; in compare()
[all …]
DblockStreaming_doubleBuffer.c125 result = (int) r0 - (int) r1; in compare()
151 snprintf(lz4Filename, 256, "%s.lz4s-%d", argv[1], BLOCK_BYTES); in main()
152 snprintf(decFilename, 256, "%s.lz4s-%d.dec", argv[1], BLOCK_BYTES); in main()
163 printf("compress : %s -> %s\n", inpFilename, lz4Filename); in main()
176 printf("decompress : %s -> %s\n", lz4Filename, decFilename); in main()
189 printf("verify : %s <-> %s\n", inpFilename, decFilename); in main()
DblockStreaming_ringBuffer.c74 if(inpOffset >= RING_BUFFER_BYTES - MESSAGE_MAX_BYTES) inpOffset = 0; in test_compress()
108 if(decOffset >= DECODE_RING_BUFFER - MESSAGE_MAX_BYTES) decOffset = 0; in test_decompress()
124 result = (int) r0 - (int) r1; in compare()
147 snprintf(lz4Filename, 256, "%s.lz4s-%d", argv[1], 0); in main()
148 snprintf(decFilename, 256, "%s.lz4s-%d.dec", argv[1], 0); in main()
DHCStreaming_ringBuffer.c15 # pragma GCC diagnostic ignored "-Wmissing-braces" /* GCC bug 53119 : doesn't accept { 0 } as in…
83 if(inpOffset >= RING_BUFFER_BYTES - MESSAGE_MAX_BYTES) in test_compress()
123 if(decOffset >= DEC_BUFFER_BYTES - MESSAGE_MAX_BYTES) in test_decompress()
180 if (!strcmp(argv[1], "-p")) { pause = 1; fileID = 2; } in main()
183 snprintf(lz4Filename, 256, "%s.lz4s-%d", argv[fileID], 9); in main()
184 snprintf(decFilename, 256, "%s.lz4s-%d.dec", argv[fileID], 9); in main()
218 printf("Verify : NG : error at pos %u\n", (unsigned)cmp-1); in main()
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…
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()
265 …run_screaming("Couldn't create a known-good (highly compressible) destination buffer for compariso… in main()
279 …mp(), the value we got in dst from LZ4_compress_fast doesn't match the known-good value. This is … in main()
289 … value we got in dst from LZ4_compress_fast_extState doesn't match the known-good value. This is … in main()
[all …]
/lz4-3.4.0-2.7.6/contrib/meson/meson/
DInstallSymlink.py3 # Copyright (c) 2018-present lzutao <taolzu(at)gmail.com>
6 # This source code is licensed under both the BSD-style license (found in the
10 # This file should be synced with https://github.com/lzutao/meson-symlink
24 print('File exists: {!r} -> {!r}'.format(new_dst, src))
26 print('Installing symlink {!r} -> {!r}'.format(new_dst, src))
33 usage='{0} [-h] [-d] [-m MODE] source dest install_dir\n\n'
39 parser.add_argument('-d', '--isdir',
42 parser.add_argument('-m', '--mode',
/lz4-3.4.0-2.7.6/.github/ISSUE_TEMPLATE/
Dfeature_request.md1 ---
8 ---
13 **Describe the solution you'd like**
/lz4-3.4.0-2.7.6/ossfuzz/
Dtravisoss.sh3 set -ex
5 # Clone the oss-fuzz repository
6 git clone https://github.com/google/oss-fuzz.git /tmp/ossfuzz
8 if [[ ! -d /tmp/ossfuzz/projects/lz4 ]]
14 # Modify the oss-fuzz Dockerfile so that we're checking out the current branch on travis.
17 …sed -i "s@https://github.com/lz4/lz4.git@-b ${TRAVIS_BRANCH} https://github.com/lz4/lz4.git@" /tmp…
19 …sed -i "s@https://github.com/lz4/lz4.git@-b ${TRAVIS_PULL_REQUEST_BRANCH} https://github.com/${TRA…
24 python infra/helper.py build_image --pull lz4
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 …]
/lz4-3.4.0-2.7.6/lib/
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.
159 /*-**********************************************************************
160 * 32-bit hash
[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
26 SDEPS = $(SRC:.c=.d)
[all …]
/lz4-3.4.0-2.7.6/
DMakefile.inc2 # LZ4 - Makefile common definitions
29 # - LZ4 source repository : https://github.com/lz4/lz4
30 # - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c
39 LIBLZ4 = liblz4-$(LIBVER_MAJOR)
49 LIBLZ4 = msys-lz4-$(LIBVER_MAJOR)
53 LIBLZ4 = cyglz4-$(LIBVER_MAJOR)
88 LN_SF = cp -p
91 LN_SF = cp -p
94 LN_SF = cp -p
96 LN_SF = ln -sf
[all …]

12