Home
last modified time | relevance | path

Searched +full:- +full:o (Results 1 – 19 of 19) sorted by relevance

/lz4-3.4.0-2.7.6/ossfuzz/
DMakefile2 # LZ4 oss fuzzer - Makefile
18 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 # - LZ4 homepage : http://www.lz4.org
22 # - LZ4 source repository : https://github.com/lz4/lz4
32 DEBUGFLAGS = -g -DLZ4_DEBUG=$(DEBUGLEVEL)
36 LZ4_CPPFLAGS = $(CPPFLAGS) -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_ \
37 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
56 $(MAKE) -C $(LZ4DIR) CFLAGS="$(LZ4_CFLAGS)" liblz4.a
58 %.o: %.c
59 $(CC) -c $(LZ4_CFLAGS) $(LZ4_CPPFLAGS) $< -o $@
[all …]
/lz4-3.4.0-2.7.6/examples/
DMakefile2 # LZ4 examples - Makefile
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 forum froup : https://groups.google.com/forum/#!forum/lz4c
30 CPPFLAGS += -I../lib
31 CFLAGS ?= -O3
32 CFLAGS += -std=gnu99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wstrict-prototypes
47 $(MAKE) -C $(LZ4DIR) liblz4.a
50 $(CC) $(FLAGS) $^ -o $@$(EXT)
[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_install.sh2 set -e
5 make="make -C $lz4_root"
8 make="make -C $lz4_root"
9 elif [ "$unamestr" = 'FreeBSD' -o "$unamestr" = 'OpenBSD' ]; then
10 make="gmake -C $lz4_root"
16 tmp_lower="$(pwd)/tmp-lower-$lower/"
17 tmp_upper="$(pwd)/tmp-upper-$lower/"
22 command diff -r "$tmp_lower" "$tmp_upper" && echo "SAME!" || false
24 test -z "$(find "$tmp_lower" -type f)" && echo "EMPTY!" || false
25 rm -rf "$tmp_upper" "$tmp_lower"
/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 …]
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.
28 It makes benchmark more precise as it eliminates I/O overhead.
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.
[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
25 OBJ = $(SRC:.c=.o)
[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 …]
DREADME.md1 LZ4 - Library Files
51 - `LZ4_FAST_DEC_LOOP` : this triggers a speed optimized decompression loop, more powerful on modern…
54 For example, with `gcc` : `-DLZ4_FAST_DEC_LOOP=1`,
55 and with `make` : `CPPFLAGS+=-DLZ4_FAST_DEC_LOOP=1 make lz4`.
57 - `LZ4_DISTANCE_MAX` : control the maximum offset that the compressor will allow.
64 - `LZ4_DISABLE_DEPRECATE_WARNINGS` : invoking a deprecated function will make the compiler generate…
67 for example with `-Wno-deprecated-declarations` on `gcc`,
69 This build macro offers another project-specific method
72 - `LZ4_USER_MEMORY_FUNCTIONS` : replace calls to <stdlib>'s `malloc`, `calloc` and `free`
73 by user-defined functions, which must be called `LZ4_malloc()`, `LZ4_calloc()` and `LZ4_free()`.
[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/lib/dll/example/
DMakefile2 # LZ4 programs - Makefile
3 # Copyright (C) Yann Collet 2016-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
31 CFLAGS ?= -O3 # can select custom flags. For example : CFLAGS="-O2 -g" make
32 CFLAGS += -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum \
33 -Wdeclaration-after-statement -Wstrict-prototypes \
34 -Wpointer-arith -Wstrict-aliasing=1
36 CPPFLAGS:= -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_
[all …]
DREADME.md6 - `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
16 Command Line Interface (CLI) supports gzip-like arguments.
21 The full list of commands for CLI can be obtained with `-h` or `-H`. The ratio can
22 be improved with commands from `-3` to `-16` but higher levels also have slower
23 compression. CLI includes in-memory compression benchmark module with compression
[all …]
/lz4-3.4.0-2.7.6/contrib/debian/
Dchangelog7 * Makefile: Generates object files (*.o) for faster (re)compilation on low power systems
10 -- Yann Collet <Cyan4973@github.com> Sun, 28 Jun 2015 01:00:00 +0000
/lz4-3.4.0-2.7.6/
D.gitignore2 *.o
30 infer-out
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 …]
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 …]
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 …]
/lz4-3.4.0-2.7.6/contrib/gen_manual/
DMakefile2 # Copyright (C) Przemyslaw Skibinski 2016-present
28 # - LZ4 source repository : https://github.com/Cyan4973/lz4
29 # - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c
33 CXXFLAGS ?= -O2
34 CXXFLAGS += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wno-
42 LIBVER_MAJOR_SCRIPT:=`sed -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < $(…
43 LIBVER_MINOR_SCRIPT:=`sed -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < $(…
44 LIBVER_PATCH_SCRIPT:=`sed -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < …
60 $(CXX) $(FLAGS) $^ -o $@$(EXT)
/lz4-3.4.0-2.7.6/doc/
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 …]