Home
last modified time | relevance | path

Searched +full:test +full:- +full:lz4 (Results 1 – 25 of 107) sorted by relevance

12345

/external/lz4/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
25 # fuzzer : Test tool, to check lz4 integrity on target platform
26 # frametest : Test tool, to check lz4frame integrity on target platform
27 # fullbench : Precisely measure speed for each LZ4 function variant
37 DEBUGFLAGS = -g -DLZ4_DEBUG=$(DEBUGLEVEL)
38 CFLAGS ?= -O3 # can select custom optimization flags. Example : CFLAGS=-O2 make
[all …]
DREADME.md1 Programs and scripts for automated testing of LZ4
5 - `datagen` : Synthetic and parametrable data generator, for tests
6 - `frametest` : Test tool that checks lz4frame integrity on target platform
7 - `fullbench` : Precisely measure speed for each lz4 inner functions
8 - `fuzzer` : Test tool, to check lz4 integrity on target platform
9 - `test-lz4-speed.py` : script for testing lz4 speed difference between commits
10 - `test-lz4-versions.py` : compatibility test between lz4 versions stored on Github
13 #### `test-lz4-versions.py` - script for testing lz4 interoperability between versions
15 This script creates `versionsTest` directory to which lz4 repository is cloned.
16 Then all tagged (released) versions of lz4 are compiled.
[all …]
Dtest-lz4-versions.py2 """Test LZ4 interoperability between versions"""
5 # Copyright (C) 2011-present, Takayuki Matsuoka
18 repo_url = 'https://github.com/lz4/lz4.git'
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()
57 base_dir = os.getcwd() + '/..' # /path/to/lz4
58 tmp_dir = base_dir + '/' + tmp_dir_name # /path/to/lz4/tests/versionsTest
59 clone_dir = tmp_dir + '/' + 'lz4' # /path/to/lz4/tests/versionsTest/lz4
[all …]
Dtest-lz4-abi.py2 """Test LZ4 interoperability between versions"""
5 # Copyright (C) 2011-present, Takayuki Matsuoka
18 repo_url = 'https://github.com/lz4/lz4.git'
20 env_flags = ' ' # '-j MOREFLAGS="-g -O0 -fsanitize=address"'
46 env["MOREFLAGS"] = "-fsanitize=address"
47 return proc([make_cmd] + ['-j'] + ['V=1'] + args, pipe, env)
54 stdout, stderr = git(['tag', '-l', 'v[1-9].[0-9].[0-9]'])
55 tags = stdout.decode('utf-8').split()
65 base_dir = os.getcwd() + '/..' # /path/to/lz4
66 tmp_dir = base_dir + '/' + tmp_dir_name # /path/to/lz4/tests/versionsTest
[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)'
25 default_repo_url = 'https://github.com/lz4/lz4.git'
27 working_path = os.getcwd() + '/' + working_dir_name # /path/to/lz4/tests/speedTest
28 clone_path = working_path + '/' + 'lz4' # /path/to/lz4/tests/speedTest/lz4
45 print(time.strftime("%Y/%m/%d %H:%M:%S") + ' - ' + text)
53 stderr_lines = stderr_lines.decode("utf-8")
[all …]
/external/lz4/lib/dll/example/
DREADME.md1 LZ4 Windows binary package
6 - `lz4.exe` : Command Line Utility, supporting gzip-like arguments
7 - `dll\msys-lz4-1.dll` : The DLL of LZ4 library, compiled by msys
8 - `dll\liblz4.dll.a` : 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.
19 Usage: lz4 [arg] [input] [output]
21 The full list of commands for CLI can be obtained with `-h` or `-H`. The ratio can
[all …]
/external/lz4/.github/workflows/
DREADME.md5 ## USAN, ASAN (`lz4-ubsan-x64`, `lz4-ubsan-x86`, `lz4-asan-x64`)
7 For now, `lz4-ubsan-*` ignores the exit code of `make usan` and `make usan32`.
12 See [#983](https://github.com/lz4/lz4/pull/983) for details.
15 ## C Compilers (`lz4-c-compilers`)
17 - Our test doesn't use `gcc-4.5` due to installation issue of its package. (`apt-get install gcc-4…
19 - Currently, the following 32bit executable tests fail with all versions of `clang`.
20 - `CC=clang-X CFLAGS='-O3' make V=1 -C tests clean test-lz4c32`
21 - `CC=clang-X CFLAGS='-O3 -mx32' make V=1 -C tests clean test-lz4c32`
22 - See [#991](https://github.com/lz4/lz4/issues/991) for details.
24 - Currently, the following 32bit executable tests fail with `gcc-11`
[all …]
Dci.yml6 # - gcc
7 # - clang
10 # - All test cases which described as 'fail' must be fixed and replaced with 'true'.
11 # - gcc-11 (x32, x86) : "../lib/lz4hc.c:148: LZ4HC_countBack: Assertion `(size_t)(match - mMin) <…
12 # - all clangs (x32, x86) : "../lib/lz4hc.c:282: int LZ4HC_InsertAndGetWiderMatch(...): Assertion…
14 name: lz4 CI
20 lz4-c-compilers:
23 fail-fast: false # 'false' means Don't stop matrix workflows even if some matrix failed.
28 …# pkgs : apt-get package names. It can include multiple package names which are delimit…
33 # x86 : Set 'true' if compiler supports x86 (-m32). Otherwise, set 'false'.
[all …]
/external/lz4/lib/
DREADME.md1 LZ4 - Library Files
11 #### Level 1 : Minimal LZ4 build
13 The minimum required is **`lz4.c`** and **`lz4.h`**,
15 They generate and decode data using the [LZ4 block format].
23 This variant also compresses data using the [LZ4 block format],
24 and depends on regular `lib/lz4.*` source files.
29 In order to produce compressed data compatible with `lz4` command line utility,
34 including, lz4 and lz4hc, and also **xxhash**.
44 using transparent LZ4 compression / decompression.
48 conformant to the [LZ4 Frame format] specification.
[all …]
/external/lz4/build/
DREADME.md6 The following projects are included with the lz4 distribution:
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
12 #### How to compile lz4 with Visual Studio
15 2. Download the latest version of lz4 from https://github.com/lz4/lz4/releases
17 4. Go to decompressed directory then to `build` then `VS2010` and open `lz4.sln`
19 6. Change `Debug` to `Release` and if you have 64-bit Windows change also `Win32` to `x64`.
21 8. If compilation will be fine a compiled executable will be in `build\VS2010\bin\x64_Release\lz4.e…
24 #### Projects available within lz4.sln
[all …]
/external/lz4/
DNEWS3 perf : faster decoding speed (~+70%) for -BD4 setting in CLI
9 cli : `--list` works on `stdin` input, by @Low-power
10 cli : `--no-crc` does not produce (compression) nor check (decompression) checksums
11 cli : fix: `--test` and `--list` produce an error code when parsing invalid input
14 build: `LZ4_FREESTANDING`, new build macro for freestanding environments, by @t-mat
15 build: `make` and `make test` are compatible with `-j` parallel run
18 build: MSVC 2022 support, by @t-mat
19 build: improved meson script, by @eli-schwartz
20 doc : Updated LZ4 block format, provide an "implementation notes" section
31 api : fix alignment test on 32-bit systems (state initialization)
[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
52 allmost: lib lz4
54 .PHONY: lib lib-release liblz4.a
56 lib lib-release liblz4.a:
57 $(MAKE) -C $(LZ4DIR) $@
59 .PHONY: lz4 lz4-release
[all …]
DREADME.md1 LZ4 - Extremely fast compression
4 LZ4 is lossless compression algorithm,
6 scalable with multi-cores CPU.
9 typically reaching RAM speed limits on multi-core systems.
17 LZ4 is also compatible with [dictionary compression](https://github.com/facebook/zstd#the-case-for-
18 …tps://github.com/lz4/lz4/blob/v1.8.3/lib/lz4frame.h#L481) and [CLI](https://github.com/lz4/lz4/blo…
20 …onary Builder](https://github.com/facebook/zstd/blob/v1.3.5/programs/zstd.1.md#dictionary-builder),
24 LZ4 library is provided as open-source software using BSD 2-Clause license.
28 |------------|---------|
31 [travisDevBadge]: https://travis-ci.org/lz4/lz4.svg?branch=dev "Continuous Integration test suite"
[all …]
/external/lz4/programs/
Dlz4.12 .TH "LZ4" "1" "August 2022" "lz4 v1.9.4" "User Commands"
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 …, it is recommended to always use the name \fBlz4\fR with appropriate arguments (\fBlz4 \-d\fR or …
20lz4\fR is an extremely fast lossless compression algorithm, based on \fBbyte\-aligned LZ77\fR fami…
22 .SS "Difference between lz4 and gzip"
23 \fBlz4\fR supports a command line syntax similar \fIbut not identical\fR to \fBgzip(1)\fR\. Differe…
26 \fBlz4\fR compresses a single file by default (see \fB\-m\fR for multiple files)
[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`
14 it is recommended to always use the name `lz4` with appropriate arguments
15 (`lz4 -d` or `lz4 -dc`) instead of the names `unlz4` and `lz4cat`.
19 -----------
21 `lz4` is an extremely fast lossless compression algorithm,
22 based on **byte-aligned LZ77** family of compression scheme.
[all …]
DREADME.md1 Command Line Interface for LZ4 library
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.
[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
35 LIBVER_SRC := $(LZ4DIR)/lz4.h
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' <…
[all …]
/external/erofs-utils/
Dconfigure.ac1 # -*- Autoconf -*-
6 m4_define([erofs_utils_version], m4_esyscmd_s([scripts/get-version-number]))
7 m4_define([erofs_utils_date], m4_esyscmd([sed -n '2p' VERSION | tr -d '\n']))
9 AC_INIT([erofs-utils], [erofs_utils_version], [linux-erofs@lists.ozlabs.org])
14 AM_INIT_AUTOMAKE([foreign -Wall])
23 # Test presence of pkg-config
24 AC_MSG_CHECKING([pkg-config m4 macros])
25 if test m4_ifdef([PKG_CHECK_MODULES], [yes], [no]) = "yes"; then
29 AC_MSG_ERROR([pkg-config is required. See pkg-config.freedesktop.org])
33 dnl CC_CHECK_CFLAGS_SILENT([FLAG], [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
[all …]
/external/lz4/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
25 # This makefile compile and test
26 # example programs, using (mostly) LZ4 streaming library,
30 CPPFLAGS += -I../lib
31 CFLAGS ?= -O3
32 CFLAGS += -std=gnu99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wstrict-prototypes
[all …]
/external/zstd/tests/
DMakefile6 # This source code is licensed under both the BSD-style license (found in the
9 # You may select, at your option, one of the above-listed licenses.
13 # fullbench32: Same as fullbench, but forced to compile in 32-bits mode
14 # fuzzer : Test tool, to check zstd integrity on target platform
15 # fuzzer32: Same as fuzzer, but forced to compile in 32-bits mode
17 # test-zstd-speed.py : script for testing zstd speed difference between commits
18 # versionsTest : compatibility test between zstd versions stored on Github (v0.1+)
19 # zstreamtest : Fuzzer test tool for zstd streaming API
20 # zstreamtest32: Same as zstreamtest, but forced to compile in 32-bits mode
27 export DEBUGLEVEL # transmit value to sub-makefiles
[all …]
/external/rust/crates/lz4_flex/src/
Dlib.rs1 //! Pure Rust, high performance implementation of LZ4 compression.
3 …ailed explanation of the algorithm can be found [here](http://ticki.github.io/blog/how-lz4-works/).
7 //! This crate provides two ways to use lz4. The first way is through the
12 //! lz4 frame format. Unless you have a specific reason to the contrary, you
13 //! should only use the lz4 frame format. Specifically, the lz4 frame format
20 //! functions. These functions provide access to the lz4 block format, and
22 //! if you know you specifically need the lz4 block format.
32 //! // Wrap the stdout writer in a LZ4 Frame writer.
44 //! // Wrap the stdin reader in a LZ4 FrameDecoder.
61 //! - `safe-encode` uses only safe rust for encode. _enabled by default_
[all …]
/external/rust/crates/lz4_flex/
DREADME.md9 Fastest LZ4 implementation in Rust. Originally based on [redox-os' lz4 compression](https://crates.…
12 AMD Ryzen 7 5900HX, rustc 1.69.0 (84c898d65 2023-04-16), Manjaro, CPU Boost Disabled, CPU Governor:…
16 |----------------------|-------------|---------------|---------------|
20 | lzzz (lz4 1.9.3) | 1469 MiB/s | 5313 MiB/s | 0.2283 |
26 |----------------------|-------------|---------------|---------------|
30 | lzzz (lz4 1.9.3) | 324 MiB/s | 2759 MiB/s | 0.6372 |
35 - Very good logo
36 - LZ4 Block format
37 - LZ4 Frame format (thanks @arthurprs)
38 - High performance
[all …]
/external/lz4/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
24 # compress_fuzzer : OSS Fuzz test tool
25 # decompress_fuzzer : OSS Fuzz test tool
32 DEBUGFLAGS = -g -DLZ4_DEBUG=$(DEBUGLEVEL)
36 LZ4_CPPFLAGS = $(CPPFLAGS) -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_ \
37 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
57 $(MAKE) -C $(LZ4DIR) CFLAGS="$(LZ4_CFLAGS)" liblz4.a
[all …]
/external/perfetto/infra/ci/sandbox/
Dtestrunner.sh8 # http://www.apache.org/licenses/LICENSE-2.0
27 set -eux
38 if [[ -f "$PERFETTO_TEST_GIT_REF" ]]; then
40 git clone -q --no-tags --single-branch --depth=1 "$PERFETTO_TEST_GIT_REF" .
42 git clone -q --no-tags --single-branch \
44 git config user.email "ci-bot@perfetto.dev"
46 git fetch -q origin "$PERFETTO_TEST_GIT_REF"
48 # We really want to test the result of the merge of the CL in ToT main. Don't
49 # really care about whether the CL passes the test at the time it was written.
50 git merge -q FETCH_HEAD -m merge
[all …]
/external/f2fs-tools/
Dconfigure.ac1 # -*- Autoconf -*-
7 m4_define([f2fs_tools_version], m4_esyscmd([sed -n '1p' VERSION | tr -d '\n']))
8 m4_define([f2fs_tools_date], m4_esyscmd([sed -n '2p' VERSION | tr -d '\n']))
10 m4_esyscmd([git log -1 --pretty=format:%ci 2> /dev/null]))
13 [linux-f2fs-devel@lists.sourceforge.net])
17 AC_DEFINE([F2FS_TOOLS_VERSION], "f2fs_tools_version", [f2fs-tools version])
19 [\([0-9]*\)\(\w\|\W\)*], [\1]),
20 [Major version for f2fs-tools])
22 [\([0-9]*\).\([0-9]*\)\(\w\|\W\)*], [\2]),
23 [Minor version for f2fs-tools])
[all …]

12345