Home
last modified time | relevance | path

Searched full:zstd (Results 1 – 25 of 609) sorted by relevance

12345678910>>...25

/external/zstd/tests/
DplayTests.sh19 zstd() { function
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
71 … println "fileRoundTripTest: datagen $1 $local_p > tmp && zstd -v$local_c -c tmp | zstd -d$local_d"
74 zstd --ultra -v$local_c -c tmp | zstd -d$local_d | $MD5SUM > tmp.md5.2
165 ZSTD_BIN="$PRGDIR/zstd"
178 …BIN" ] || die "zstd not found at $ZSTD_BIN! \n Please define ZSTD_BIN pointing to the zstd binary.…
179 …EN_BIN pointing to the datagen binary. You might also consider rebuilding zstd tests following the…
182 if echo hello | zstd -v -T2 2>&1 > $INTOVOID | $GREP -q 'multi-threading is disabled'
190 zstd -vvV
[all …]
DMakefile12 # fullbench : Precisely measure speed for each zstd inner functions
14 # fuzzer : Test tool, to check zstd integrity on target platform
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
99 .PHONY: zstd zstd32 zstd-nolegacy # only external makefile knows how to build or update them
100 zstd zstd32 zstd-nolegacy zstd-dll: target
248 $(PYTHON) test-zstd-versions.py
256 checkTag.o : $(LIB_SRCDIR)/zstd.h
[all …]
DREADME.md6 - `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
16 #### `test-zstd-versions.py` - script for testing zstd interoperability between versions
18 This script creates `versionsTest` directory to which zstd repository is cloned.
19 Then all tagged (released) versions of zstd are compiled.
[all …]
Dtest-zstd-versions.py2 """Test zstd interoperability between versions"""
23 repo_url = 'https://github.com/facebook/zstd.git'
92 cmd = ['./zstd.' + tag, '-D', dict_name]
110 …result = execute('./zstd.' + tag + ' -f --train ' + ' '.join(files) + ' -o ' + dict_name, print_ou…
123 def zstd(tag, args, input_file, output_file): function
125 Zstd compress input_file to output_file.
131 cmd = ['./zstd.' + tag] + args
143 zstd(tag, ['-D', dict_name, '-1'] + verbose, sample, sample + '_01_64_' + tag + '_dictio.zst')
144 zstd(tag, ['-D', dict_name, '-3'], sample, sample + '_03_64_' + tag + '_dictio.zst')
145 zstd(tag, ['-D', dict_name, '-5'], sample, sample + '_05_64_' + tag + '_dictio.zst')
[all …]
Dtest-variants.sh10 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"
74 echo "hello" | "$1" | "$ZSTD" -t
78 echo "hello" | "$ZSTD" | "$1" -t
100 symbol_not_present "$ZSTD" ZSTDv01
[all …]
/external/zstd/programs/
DMakefile10 # 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:
77 NO_ZLIB_MSG := ==> no zlib, building zstd without .gz support
80 ZLIB_MSG := ==> building zstd with .gz compression support
88 NO_LZMA_MSG := ==> no liblzma, building zstd without .xz/.lzma support
[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 :
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…
26 By default, `zstd` supports decoding legacy formats >= v0.4.0 (`ZSTD_LEGACY_SUPPORT=4`).
[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…
29 When compressing a single file, \fBzstd\fR displays progress notifications and result summary by de…
32 \fBzstd\fR displays a short help page when command line is an error\. Use \fB\-q\fR to turn it off\.
[all …]
/external/zstd/tests/cli-tests/compression/
Dbasic.sh9 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
16 zstd -f -- file ; zstd -t file.zst
19 zstd -o file-out.zst ; zstd -t file-out.zst
20 zstd -fo file-out.zst; zstd -t file-out.zst
[all …]
Dlevels.sh9 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
21 zstd --fast file -f -q
24 zstd -0 file -o file-0.zst -q
25 zstd -f file -q
29 zstd -99 file -o file-99.zst -q
31 zstd --fast=200000 file -c | zstd -t
[all …]
Dmulti-threaded.sh6 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
14 zstd -T0 -f file -q ; zstd -t file.zst; zstd -T0 -d file.zst -o file3
15 zstd -T0 -f file -q ; zstd -t file.zst; zstd -T2 -d file.zst -o file4
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
18 zstd --fast file -f -q
21 zstd -0 file -o file-0.zst -q
22 zstd -f file -q
26 zstd -99 file -o file-99.zst -q
28 zstd --fast=200000 file -c | zstd -t
[all …]
Dmultiple-files.sh8 echo "Test zstd ./file1 - file2"
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/build/cmake/programs/
DCMakeLists.txt31 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
58 ${CMAKE_COMMAND} -E copy ${PROGRAMS_DIR}/zstd.1 .
[all …]
/external/zstd/contrib/linux-kernel/
DMakefile16 mkdir -p linux/lib/zstd
19 --output-lib linux/lib/zstd \
25 --rewrite-include '"\.\./zstd.h"=<linux/zstd.h>' \
59 rm linux/lib/zstd/decompress/huf_decompress_amd64.S
60 mv linux/lib/zstd/zstd.h linux/include/linux/zstd_lib.h
61 mv linux/lib/zstd/zstd_errors.h linux/include/linux/
62 cp linux_zstd.h linux/include/linux/zstd.h
63 cp zstd_common_module.c linux/lib/zstd
64 cp zstd_compress_module.c linux/lib/zstd
65 cp zstd_decompress_module.c linux/lib/zstd
[all …]
/external/rust/crates/tonic/src/codec/
Dcompression.rs7 #[cfg(feature = "zstd")]
8 use zstd::stream::read::{Decoder, Encoder};
18 #[cfg(feature = "zstd")]
19 pub(crate) zstd: bool, field
28 #[cfg(feature = "zstd")] in is_enabled()
29 CompressionEncoding::Zstd => self.zstd, in is_enabled()
38 #[cfg(feature = "zstd")] in enable()
39 CompressionEncoding::Zstd => self.zstd = true, in enable()
46 (false, true) => Some(http::HeaderValue::from_static("zstd,identity")), in into_accept_encoding_header_value()
47 (true, true) => Some(http::HeaderValue::from_static("gzip,zstd,identity")), in into_accept_encoding_header_value()
[all …]
/external/zstd/tests/cli-tests/decompression/
Dpass-through.sh15 zstd file
18 zstd -dc --pass-through 1 2 3 4
30 zstd -dc --pass-through file
31 zstd -d --pass-through file -o pass-through-file
34 zstd -dcf file
35 zstd -dcf file file.zst
36 zstd -df < file
37 zstd -dcf < file file.zst -
38 zstd -dcf < file.zst file -
48 # Test zstd without implicit passthrough
[all …]
/external/zstd/build/
DREADME.md6 The following projects are included with the zstd distribution:
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`
23 …ompilation will be fine a compiled executable will be in `projects\VS2010\bin\x64\Release\zstd.exe`
26 #### Projects available within zstd.sln
28 The Visual Studio solution file `visual\VS2010\zstd.sln` contains many projects that will be compil…
29 `visual\VS2010\bin\$(Platform)_$(Configuration)` directory. For example `zstd` set to `x64` and
30 `Release` will be compiled to `visual\VS2010\bin\x64_Release\zstd.exe`. The solution file contains …
33 - `zstd` : Command Line Utility, supporting gzip-like arguments
[all …]
/external/zstd/build/single_file_libs/
DREADME.md3 The script `combine.sh` creates an _amalgamated_ source file that can be used with or without `zstd
5 All it now takes to support Zstd in your own projects is the addition of a single file, two if usin…
12 Create `zstddeclib.c` from the Zstd source using:
14 cd zstd/build/single_file_libs
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:
28 cd zstd/build/single_file_libs
29 python3 combine.py -r ../../lib -x legacy/zstd_legacy.h -k zstd.h -o zstd.c zstd-in.c
31 …ut for the curious, simply remove the files in the _decompress_ section at the end of `zstd-in.c`).
33 …_file_library.sh` will run the script to create `zstd.c` (`build_library_test.sh` will also create…
/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)
17 Usage: zstd [arg] [input] [output]
26 ## The example of usage of static and dynamic ZSTD libraries with gcc/MinGW
29 `fullbench-dll` uses a dynamic ZSTD library from the `dll` directory.
[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,
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
25 [CirrusLink]: https://cirrus-ci.com/github/facebook/zstd
26 [OSSFuzzBadge]: https://oss-fuzz-build-logs.storage.googleapis.com/badges/zstd.svg
[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:
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
18 The further files are supplied with the zstd distribution.
21 #### Embedding the zstd wrapper within your project
26 To compile the zstd wrapper with your project you have to do the following:
28 - compile your project with `zstd_zlibwrapper.c`, `gz*.c` and a static or dynamic zstd library
34 #### Enabling zstd compression within your project
36 After embedding the zstd wrapper within your project the zstd library is turned off by default.
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/zstandard/
DZstdCompressorOutputStream.java24 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
55 * @param closeFrameOnFlush value for zstd-jni's closeFrameOnFlush argument
[all …]

12345678910>>...25