/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 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 | 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 | 1 language: c 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 [all …]
|
D | NEWS | 10 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/tests/ |
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_install.sh | 2 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/lib/dll/example/ |
D | README.md | 6 - `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 …]
|
D | Makefile | 2 # 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 …]
|
/lz4-3.4.0-2.7.6/examples/ |
D | Makefile | 2 # 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 46 $(LZ4DIR)/liblz4.a: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c $(LZ4DIR)/lz4.h $(LZ4DIR… 47 $(MAKE) -C $(LZ4DIR) liblz4.a [all …]
|
D | streaming_api_basics.md | 7 - "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 …]
|
/lz4-3.4.0-2.7.6/contrib/djgpp/ |
D | Makefile | 1 # Copyright (c) 2015, Louis P. Santillan <lpsantil@gmail.com> 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 [all …]
|
/lz4-3.4.0-2.7.6/contrib/meson/meson/examples/ |
D | meson.build | 2 # Copyright (c) 2018-present lzutao <taolzu(at)gmail.com> 5 # This source code is licensed under both the BSD-style license (found in the 12 #examples_c_args = ['-Wextra', '-Wundef', '-Wshadow', '-Wcast-align', '-Wstrict-prototypes'] 15 join_paths(lz4_root_dir, 'examples/printVersion.c'), 19 join_paths(lz4_root_dir, 'examples/blockStreaming_doubleBuffer.c'), 23 join_paths(lz4_root_dir, 'examples/dictionaryRandomAccess.c'), 27 join_paths(lz4_root_dir, 'examples/blockStreaming_ringBuffer.c'), 31 join_paths(lz4_root_dir, 'examples/HCStreaming_ringBuffer.c'), 35 join_paths(lz4_root_dir, 'examples/blockStreaming_lineByLine.c'), 39 join_paths(lz4_root_dir, 'examples/frameCompress.c'), [all …]
|
/lz4-3.4.0-2.7.6/lib/ |
D | README.md | 1 LZ4 - Library Files 9 The minimum required is **`lz4.c`** and **`lz4.h`**, 18 Add files **`lz4hc.c`** and **`lz4hc.h`**. 31 So it's necessary to include all `*.c` and `*.h` files present in `/lib`. 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`, [all …]
|
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 …]
|
/lz4-3.4.0-2.7.6/contrib/meson/meson/tests/ |
D | meson.build | 2 # Copyright (c) 2018-present lzutao <taolzu(at)gmail.com> 5 # This source code is licensed under both the BSD-style license (found in the 19 FUZZER_TIME = '-T90s' 20 NB_LOOPS = '-i1' 26 fullbench_sources = [join_paths(lz4_root_dir, 'tests/fullbench.c')] 33 fuzzer_sources = [join_paths(lz4_root_dir, 'tests/fuzzer.c')] 36 c_args: ['-D_DEFAULT_SOURCE', '-D_BSD_SOURCE'], # since glibc 2.19 41 frametest_sources = [join_paths(lz4_root_dir, 'tests/frametest.c')] 48 roundTripTest_sources = [join_paths(lz4_root_dir, 'tests/roundTripTest.c')] 54 datagen_sources = [join_paths(lz4_root_dir, 'tests/datagencli.c')] [all …]
|
/lz4-3.4.0-2.7.6/build/cmake/ |
D | CMakeLists.txt | 19 …LZ4_TOP_SOURCE_DIR}/lib/lz4.h" LZ4_VERSION_MAJOR REGEX "^#define LZ4_VERSION_MAJOR +([0-9]+) +.*$") 20 string(REGEX REPLACE "^#define LZ4_VERSION_MAJOR +([0-9]+) +.*$" "\\1" LZ4_VERSION_MAJOR "${LZ4_VER… 21 …LZ4_TOP_SOURCE_DIR}/lib/lz4.h" LZ4_VERSION_MINOR REGEX "^#define LZ4_VERSION_MINOR +([0-9]+) +.*$") 22 string(REGEX REPLACE "^#define LZ4_VERSION_MINOR +([0-9]+) +.*$" "\\1" LZ4_VERSION_MINOR "${LZ4_VER… 23 …TOP_SOURCE_DIR}/lib/lz4.h" LZ4_VERSION_RELEASE REGEX "^#define LZ4_VERSION_RELEASE +([0-9]+) +.*$") 24 string(REGEX REPLACE "^#define LZ4_VERSION_RELEASE +([0-9]+) +.*$" "\\1" LZ4_VERSION_RELEASE "${LZ4… 29 project(LZ4 C) 34 LANGUAGES C) 46 # depending on whether or not we are the top-level project. 84 "${LZ4_LIB_SOURCE_DIR}/lz4.c" [all …]
|
/lz4-3.4.0-2.7.6/contrib/meson/meson/lib/ |
D | meson.build | 2 # Copyright (c) 2018-present lzutao <taolzu(at)gmail.com> 5 # This source code is licensed under both the BSD-style license (found in the 13 liblz4_sources = [join_paths(lz4_root_dir, 'lib/lz4.c'), 14 join_paths(lz4_root_dir, 'lib/lz4frame.c'), 15 join_paths(lz4_root_dir, 'lib/lz4hc.c'), 16 join_paths(lz4_root_dir, 'lib/xxhash.c')] 21 liblz4_c_args += '-DLZ4_DEBUG=@0@'.format(debug_level) 23 liblz4_debug_cflags = ['-Wextra', '-Wcast-qual', '-Wcast-align', '-Wshadow', 24 '-Wswitch-enum', '-Wdeclaration-after-statement', '-Wstrict-prototypes', 25 '-Wundef', '-Wpointer-arith', '-Wstrict-aliasing=1'] [all …]
|
/lz4-3.4.0-2.7.6/build/ |
D | README.md | 7 - `cmake` - CMake project 8 - `VS2010` - Visual Studio 2010 project (which also works well with Visual Studio 2012, 2013, 2015) 9 - `VS2017` - Visual Studio 2017 project 19 6. Change `Debug` to `Release` and if you have 64-bit Windows change also `Win32` to `x64`. 31 - `lz4` : Command Line Utility, supporting gzip-like arguments 32 - `datagen` : Synthetic and parametrable data generator, for tests 33 - `frametest` : Test tool that checks lz4frame integrity on target platform 34 - `fullbench` : Precisely measure speed for each lz4 inner functions 35 - `fuzzer` : Test tool, to check lz4 integrity on target platform 36 - `liblz4` : A static LZ4 library compiled to `liblz4_static.lib` [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/contrib/meson/meson/programs/ |
D | meson.build | 2 # Copyright (c) 2018-present lzutao <taolzu(at)gmail.com> 5 # This source code is licensed under both the BSD-style license (found in the 13 lz4_sources = [join_paths(lz4_root_dir, 'programs/bench.c'), 14 join_paths(lz4_root_dir, 'programs/datagen.c'), 15 join_paths(lz4_root_dir, 'programs/lz4cli.c'), 16 join_paths(lz4_root_dir, 'programs/lz4io.c')] 22 lz4_c_args += '-DBACKTRACE_ENABLE=0' 24 lz4_c_args += '-DBACKTRACE_ENABLE=1'
|
/lz4-3.4.0-2.7.6/ossfuzz/ |
D | Makefile | 2 # 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 …]
|
D | fuzz_helpers.h | 2 * Copyright (c) 2016-present, Facebook, Inc. 5 * This source code is licensed under both the BSD-style license (found in the 24 extern "C" { 29 #include "lz4.c" /* LZ4_count, constants, mem */ 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/programs/ |
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 …]
|
/lz4-3.4.0-2.7.6/build/VS2017/lz4/ |
D | lz4.vcxproj | 1 <?xml version="1.0" encoding="utf-8"?> 23 <ProjectGuid>{60A3115E-B988-41EE-8815-F4D4F253D866}</ProjectGuid> 150 <ClCompile Include="..\..\..\lib\lz4.c" /> 151 <ClCompile Include="..\..\..\lib\lz4frame.c" /> 152 <ClCompile Include="..\..\..\lib\lz4hc.c" /> 153 <ClCompile Include="..\..\..\lib\xxhash.c" /> 154 <ClCompile Include="..\..\..\programs\bench.c" /> 155 <ClCompile Include="..\..\..\programs\datagen.c" /> 156 <ClCompile Include="..\..\..\programs\lz4cli.c" /> 157 <ClCompile Include="..\..\..\programs\lz4io.c" />
|
/lz4-3.4.0-2.7.6/build/VS2010/lz4/ |
D | lz4.vcxproj | 1 <?xml version="1.0" encoding="utf-8"?> 22 <ProjectGuid>{E30329AC-0057-4FE0-8FDA-7F650D398C4C}</ProjectGuid> 174 <ClCompile Include="..\..\..\lib\lz4.c" /> 175 <ClCompile Include="..\..\..\lib\lz4frame.c" /> 176 <ClCompile Include="..\..\..\lib\lz4hc.c" /> 177 <ClCompile Include="..\..\..\lib\xxhash.c" /> 178 <ClCompile Include="..\..\..\programs\datagen.c" /> 179 <ClCompile Include="..\..\..\programs\bench.c" /> 180 <ClCompile Include="..\..\..\programs\lz4cli.c" /> 181 <ClCompile Include="..\..\..\programs\lz4io.c" />
|