Home
last modified time | relevance | path

Searched +full:zstd +full:- (Results 1 – 25 of 594) sorted by relevance

12345678910>>...24

/external/zstd/tests/
DplayTests.sh3 set -e # exit immediately on error
4 # set -x # print commands before execution (debug)
19 zstd() { function
20 if [ -z "$EXE_PREFIX" ]; then
28 if [ -z "$EXE_PREFIX" ]; then
36 if [ -n "$3" ]; then
43 if [ -n "$4" ]; then
49 rm -f tmp1 tmp2
50 println "roundTripTest: datagen $1 $proba | zstd -v$cLevel | zstd -d$dLevel"
52 datagen $1 $proba | zstd --ultra -v$cLevel | zstd -d$dLevel | $MD5SUM > tmp2
[all …]
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.
12 # fullbench : Precisely measure speed for each zstd inner functions
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
16 # paramgrill : parameter tester for zstd
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
[all …]
DREADME.md5 - `datagen` : Synthetic and parametrable data generator, for tests
6 - `fullbench` : Precisely measure speed for each zstd inner functions
7 - `fuzzer` : Test tool, to check zstd integrity on target platform
8 - `paramgrill` : parameter tester for zstd
9 - `test-zstd-speed.py` : script for testing zstd speed difference between commits
10 - `test-zstd-versions.py` : compatibility test between zstd versions stored on Github (v0.1+)
11 - `zstreamtest` : Fuzzer test tool for zstd streaming API
12 - `legacy` : Test tool to test decoding of legacy zstd frames
13 - `decodecorpus` : Tool to generate valid Zstandard frames, for verifying decoder implementations
16 #### `test-zstd-versions.py` - script for testing zstd interoperability between versions
[all …]
Dtest-zstd-versions.py2 """Test zstd interoperability between versions"""
8 # This source code is licensed under both the BSD-style license (found in the
11 # You may select, at your option, one of the above-listed licenses.
23 repo_url = 'https://github.com/facebook/zstd.git'
26 make_args = ['-j','CFLAGS=-O0']
50 stderr_lines = stderr_lines.decode("utf-8")
51 stdout_lines = stdout_lines.decode("utf-8")
83 stdout, stderr = git(['tag', '-l', 'v[0-9].[0-9].[0-9]'])
84 tags = stdout.decode('utf-8').split()
92 cmd = ['./zstd.' + tag, '-D', dict_name]
[all …]
Dtest-variants.sh2 set -e
3 set -u
4 set -x
10 ZSTD="$PROG_DIR/zstd"
11 ZSTD_COMPRESS="$PROG_DIR/zstd-compress"
12 ZSTD_DECOMPRESS="$PROG_DIR/zstd-decompress"
13 ZSTD_NOLEGACY="$PROG_DIR/zstd-nolegacy"
14 ZSTD_DICTBUILDER="$PROG_DIR/zstd-dictBuilder"
15 ZSTD_FRUGAL="$PROG_DIR/zstd-frugal"
16 ZSTD_NOMT="$PROG_DIR/zstd-nomt"
[all …]
/external/zstd/programs/
DMakefile5 # This source code is licensed under both the BSD-style license (found in the
8 # You may select, at your option, one of the above-listed licenses.
10 # zstd : Command Line Utility, supporting gzip-like arguments
11 # zstd32 : Same as zstd, but forced to compile in 32-bits mode
12 # zstd-nolegacy : zstd without support of decompression of legacy versions
13 # zstd-small : minimal zstd without dictionary builder and benchmark
14 # zstd-compress : compressor-only version of zstd
15 # zstd-decompress : decompressor-only version of zstd
19 zstd-release:
24 ifeq ($(shell $(CC) -v 2>&1 | $(GREP) -c "gcc version "), 1)
[all …]
DREADME.md6 - `zstd` : default CLI supporting gzip-like arguments; includes dictionary builder, benchmark, and …
7 - `zstd_nolegacy` : Same as `zstd` but without support for legacy zstd formats
8 - `zstd-small` : CLI optimized for minimal size; no dictionary builder, no benchmark, and no suppor…
9 - `zstd-compress` : version of CLI which can only compress into zstd format
10 - `zstd-decompress` : version of CLI which can only decompress zstd format
14 `zstd` scope can be altered by modifying the following `make` variables :
16 - __HAVE_THREAD__ : multithreading is automatically enabled when `pthread` is detected.
18 Example : `make zstd HAVE_THREAD=0`
23 - __ZSTD_LEGACY_SUPPORT__ : `zstd` can decompress files compressed by older versions of `zstd`.
24 …Starting v0.8.0, all versions of `zstd` produce frames compliant with the [specification](../doc/z…
[all …]
Dzstd.12 .TH "ZSTD" "1" "March 2024" "zstd 1.5.6" "User Commands"
5 \fBzstd\fR \- zstd, zstdmt, unzstd, zstdcat \- Compress or decompress \.zst files
8 \fBzstd\fR [\fIOPTIONS\fR] [\-|\fIINPUT\-FILE\fR] [\-o \fIOUTPUT\-FILE\fR]
11 \fBzstdmt\fR is equivalent to \fBzstd \-T0\fR
14 \fBunzstd\fR is equivalent to \fBzstd \-d\fR
17 \fBzstdcat\fR is equivalent to \fBzstd \-dcf\fR
20zstd\fR is a fast lossless compression algorithm and data compression tool, with command line synt…
23 \fBzstd\fR command line syntax is generally similar to gzip, but features the following few differe…
26 …served by default\. It\'s possible to remove them automatically by using the \fB\-\-rm\fR command\.
29 When compressing a single file, \fBzstd\fR displays progress notifications and result summary by de…
[all …]
/external/zstd/tests/cli-tests/compression/
Dbasic.sh3 set -e
5 # Uncomment the set -v line for debugging
6 # set -v
9 zstd file ; zstd -t file.zst
10 zstd -f file ; zstd -t file.zst
11 zstd -f -z file ; zstd -t file.zst
12 zstd -f -k file ; zstd -t file.zst
13 zstd -f -C file ; zstd -t file.zst
14 zstd -f --check file ; zstd -t file.zst
15 zstd -f --no-check file ; zstd -t file.zst
[all …]
Dlevels.sh3 set -e
4 set -v
9 zstd --fast=10 file -o file-f10.zst -q
10 zstd --fast=1 file -o file-f1.zst -q
11 zstd -1 file -o file-1.zst -q
12 zstd -19 file -o file-19.zst -q
14 zstd -t file-f10.zst file-f1.zst file-1.zst file-19.zst
16 cmp_size -lt file-19.zst file-1.zst
17 cmp_size -lt file-1.zst file-f1.zst
18 cmp_size -lt file-f1.zst file-f10.zst
[all …]
Dmulti-threaded.sh3 set -e
5 # Test multi-threaded flags
6 zstd --single-thread file -f -q ; zstd -t file.zst
7 zstd -T2 -f file -q ; zstd -t file.zst
8 zstd --rsyncable -f file -q ; zstd -t file.zst
9 zstd -T0 -f file -q ; zstd -t file.zst
10 zstd -T0 --auto-threads=logical -f file -q ; zstd -t file.zst
11 zstd -T0 --auto-threads=physical -f file -q ; zstd -t file.zst
13 # multi-thread decompression warning test
14 zstd -T0 -f file -q ; zstd -t file.zst; zstd -T0 -d file.zst -o file3
[all …]
Dlevels.sh.stderr.exact5 zstd --fast=10 file -o file-f10.zst -q
6 zstd --fast=1 file -o file-f1.zst -q
7 zstd -1 file -o file-1.zst -q
8 zstd -19 file -o file-19.zst -q
10 zstd -t file-f10.zst file-f1.zst file-1.zst file-19.zst
13 cmp_size -lt file-19.zst file-1.zst
14 cmp_size -lt file-1.zst file-f1.zst
15 cmp_size -lt file-f1.zst file-f10.zst
18 zstd --fast file -f -q
19 cmp file.zst file-f1.zst || die "--fast is not level -1"
[all …]
Dmultiple-files.sh2 set -e
8 echo "Test zstd ./file1 - file2"
9 rm -f ./file*.zst
10 echo "stdin" | zstd ./file1 - ./file2 | zstd -d
11 cat file1.zst | zstd -d
12 cat file2.zst | zstd -d
14 echo "Test zstd -d ./file1.zst - file2.zst"
16 echo "stdin" | zstd - | zstd -d ./file1.zst - file2.zst
20 echo "zstd -d ./file1.zst - file2.zst -c"
21 echo "stdin" | zstd | zstd -d ./file1.zst - file2.zst -c
/external/zstd/tests/cli-tests/basic/
Dmemlimit.sh5 println "+ zstd --memory=32LB file"
6 zstd --memory=32LB file && die "Should not allow bogus suffix"
7 println "+ zstd --memory=32LiB file"
8 zstd --memory=32LiB file && die "Should not allow bogus suffix"
9 println "+ zstd --memory=32A file"
10 zstd --memory=32A file && die "Should not allow bogus suffix"
11 println "+ zstd --memory=32r82347dn83 file"
12 zstd --memory=32r82347dn83 file && die "Should not allow bogus suffix"
13 println "+ zstd --memory=32asbdf file"
14 zstd --memory=32asbdf file && die "Should not allow bogus suffix"
[all …]
Dmemlimit.sh.stdout.exact1 + zstd --memory=32LB file
2 + zstd --memory=32LiB file
3 + zstd --memory=32A file
4 + zstd --memory=32r82347dn83 file
5 + zstd --memory=32asbdf file
6 + zstd --memory=hello file
7 + zstd --memory=1 file
8 + zstd --memory=1K file
9 + zstd --memory=1KB file
10 + zstd --memory=1KiB file
[all …]
/external/zstd/contrib/linux-kernel/
DMakefile5 # This source code is licensed under both the BSD-style license (found in the
8 # You may select, at your option, one of the above-listed licenses.
13 rm -rf linux
14 mkdir -p linux
15 mkdir -p linux/include/linux
16 mkdir -p linux/lib/zstd
18 --source-lib ../../lib \
19 --output-lib linux/lib/zstd \
20 --xxhash '<linux/xxhash.h>' \
21 --xxh64-state 'struct xxh64_state' \
[all …]
/external/zstd/build/cmake/programs/
DCMakeLists.txt5 # This source code is licensed under both the BSD-style license (found in the
31 set(MSVC_RESOURCE_DIR ${ZSTD_SOURCE_DIR}/build/VS2010/zstd)
32 set(PlatformDependResources ${MSVC_RESOURCE_DIR}/zstd.rc)
40 add_executable(zstd ${ZSTD_PROGRAM_SRCS}) target
41 target_link_libraries(zstd ${PROGRAMS_ZSTD_LINK_TARGET})
43 target_link_libraries(zstd rt)
45 install(TARGETS zstd
50 …add_custom_target(zstdcat ALL ${CMAKE_COMMAND} -E create_symlink zstd zstdcat DEPENDS zstd COMMENT…
51 …add_custom_target(unzstd ALL ${CMAKE_COMMAND} -E create_symlink zstd unzstd DEPENDS zstd COMMENT "…
57 add_custom_target(zstd.1 ALL
[all …]
/external/rust/crates/tonic/src/codec/
Dcompression.rs7 #[cfg(feature = "zstd")]
8 use zstd::stream::read::{Decoder, Encoder};
10 pub(crate) const ENCODING_HEADER: &str = "grpc-encoding";
11 pub(crate) const ACCEPT_ENCODING_HEADER: &str = "grpc-accept-encoding";
18 #[cfg(feature = "zstd")]
19 pub(crate) zstd: bool, field
24 pub fn is_enabled(&self, encoding: CompressionEncoding) -> bool { in is_enabled()
28 #[cfg(feature = "zstd")] in is_enabled()
29 CompressionEncoding::Zstd => self.zstd, in is_enabled()
38 #[cfg(feature = "zstd")] in enable()
[all …]
/external/zstd/tests/cli-tests/decompression/
Dpass-through.sh3 set -e
15 zstd file
18 zstd -dc --pass-through 1 2 3 4
29 # Test --pass-through
30 zstd -dc --pass-through file
31 zstd -d --pass-through file -o pass-through-file
33 # Test legacy implicit passthrough with -fc
34 zstd -dcf file
35 zstd -dcf file file.zst
36 zstd -df < file
[all …]
/external/zstd/build/
DREADME.md6 The following projects are included with the zstd distribution:
7 - `cmake` - CMake project contributed by Artyom Dymchenko
8 - `VS2005` - Visual Studio 2005 Project (this project has been moved to the contrib directory and w…
9 - `VS2008` - Visual Studio 2008 project
10 - `VS2010` - Visual Studio 2010 project (which also works well with Visual Studio 2012, 2013, 2015)
11 - `VS_scripts` - command line scripts prepared for Visual Studio compilation without IDE
14 #### How to compile zstd with Visual Studio
17 2. Download the latest version of zstd from https://github.com/facebook/zstd/releases
19 4. Go to decompressed directory then to `projects` then `VS2010` and open `zstd.sln`
21 6. Change `Debug` to `Release` and if you have 64-bit Windows change also `Win32` to `x64`.
[all …]
/external/zstd/build/single_file_libs/
DREADME.md3 … _amalgamated_ source file that can be used with or without `zstd.h`. This isn't a _header-only_ f…
5 All it now takes to support Zstd in your own projects is the addition of a single file, two if usin…
8 ------------
10 …n compiled WebAssembly project. Native implementations add a little more, 40-70kB depending on the…
12 Create `zstddeclib.c` from the Zstd source using:
14 cd zstd/build/single_file_libs
15 python3 combine.py -r ../../lib -x legacy/zstd_legacy.h -o zstddeclib.c zstddeclib-in.c
22 ------------
24Zstd library for ease of adding both compression and decompression to a project. The [roundtrip ex…
26 Create `zstd.c` from the Zstd source using:
[all …]
/external/zstd/lib/dll/example/
DREADME.md1 # ZSTD Windows binary package
5 - `zstd.exe` : Command Line Utility, supporting gzip-like arguments
6 - `dll\libzstd.dll` : The ZSTD dynamic library (DLL)
7 - `dll\libzstd.lib` : The import library of the ZSTD dynamic library (DLL) for Visual C++
8 - `example\` : The example of usage of the ZSTD library
9 - `include\` : Header files required by the ZSTD library
10 - `static\libzstd_static.lib` : The static ZSTD library (LIB)
14 Command Line Interface (CLI) supports gzip-like arguments.
17 Usage: zstd [arg] [input] [output]
19 The full list of commands for CLI can be obtained with `-h` or `-H`. The ratio can
[all …]
/external/zstd/
DREADME.md1 <p align="center"><img src="https://raw.githubusercontent.com/facebook/zstd/dev/doc/images/zstd_log…
3 __Zstandard__, or `zstd` as short version, is a fast lossless compression algorithm,
4 targeting real-time compression scenarios at zlib-level and better compression ratios.
8 This repository represents the reference implementation, provided as an open-source dual [BSD](LICE…
11 …and bindings is provided on [Zstandard homepage](https://facebook.github.io/zstd/#other-languages).
20 [travisDevBadge]: https://api.travis-ci.com/facebook/zstd.svg?branch=dev "Continuous Integration te…
21 [travisLink]: https://travis-ci.com/facebook/zstd
22 [CircleDevBadge]: https://circleci.com/gh/facebook/zstd/tree/dev.svg?style=shield "Short test suite"
23 [CircleLink]: https://circleci.com/gh/facebook/zstd
24 [CirrusDevBadge]: https://api.cirrus-ci.com/github/facebook/zstd.svg?branch=dev
[all …]
/external/zstd/zlibWrapper/
DREADME.md4 … main objective of creating a zstd wrapper for [zlib](https://zlib.net/) is to allow a quick and s…
8 To build the zstd wrapper for zlib the following files are required:
9 - zlib.h
10 - a static or dynamic zlib library
11 - zlibWrapper/zstd_zlibwrapper.h
12 - zlibWrapper/zstd_zlibwrapper.c
13 - zlibWrapper/gz*.c files (gzclose.c, gzlib.c, gzread.c, gzwrite.c)
14 - zlibWrapper/gz*.h files (gzcompatibility.h, gzguts.h)
15 - a static or dynamic zstd library
17 The first two files are required by all projects using zlib and they are not included with the zstd
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/zstandard/
DZstdCompressorOutputStream.java9 * http://www.apache.org/licenses/LICENSE-2.0
24 import com.github.luben.zstd.ZstdOutputStream;
29 * Library relies on <a href="https://github.com/luben/zstd-jni/">Zstandard JNI</a>
38 * Wraps the given stream into a zstd-jni ZstdOutputStream.
40 * @param level value for zstd-jni's level argument
41 * @param closeFrameOnFlush value for zstd-jni's closeFrameOnFlush argument
42 * @param useChecksum value for zstd-jni's useChecksum argument
43 * @throws IOException if zstd-jni does
52 …* Wraps the given stream into a zstd-jni ZstdOutputStream using the default value for {@code useCh…
54 * @param level value for zstd-jni's level argument
[all …]

12345678910>>...24