Home
last modified time | relevance | path

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

12345

/freebsd-src/sys/contrib/zstd/
H A Dappveyor.yml4 -
8 - release
9 - master
10 - /appveyor*/
11 - /visual*/
14 - COMPILER: "gcc"
17 SCRIPT: "make allzstd MOREFLAGS=-static"
20 - COMPILER: "gcc"
23 SCRIPT: "make allzstd MOREFLAGS=-static"
27 - COMPILER: "clang-cl"
[all …]
H A 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 a list of known ports and bindings is provided on [Zstandard homepage](http://www.zstd.net/#other-l…
21 [travisDevBadge]: https://api.travis-ci.com/facebook/zstd.svg?branch=dev "Continuous Integration te…
22 [travisLink]: https://travis-ci.com/facebook/zstd
24 [AppveyorLink]: https://ci.appveyor.com/project/YannCollet/zstd-p0yf0
25 [CircleDevBadge]: https://circleci.com/gh/facebook/zstd/tree/dev.svg?style=shield "Short test suite"
26 [CircleLink]: https://circleci.com/gh/facebook/zstd
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dzfs_set_feature_activation.ksh1 #!/bin/ksh -p
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or https://opensource.org/licenses/CDDL-1.0.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
33 # Setting the compression property to any of the zstd levels should activate
34 # the zstd feature flag. Destroying the last dataset using the zstd feature flag
39 # 2. Check that the zstd feature flag is 'enabled'.
40 # 3. Setting the compression property to zstd.
41 # 4. Check that the zstd feature flag is now 'active'.
48 log_assert "Setting compression=zstd should activate the"\
[all …]
/freebsd-src/contrib/file/tests/
H A DMakefile.am2 test_LDADD = $(top_builddir)/src/libmagic.la
3 test_CPPFLAGS = -I$(top_builddir)/src
6 android-vdex-1.result \
7 android-vdex-1.testfile \
8 android-vdex-2.result \
9 android-vde
[all...]
H A DMakefile.in4 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
18 if test -z '$(MAKELEVEL)'; then \
20 elif test -n '$(MAKE_HOST)'; then \
22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
29 case $${target_option-} in \
32 "target option '$${target_option-}' specified" >&2; \
55 *=*|--*) continue;; \
56 -*
[all...]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/compression/
H A Dcompress_zstd_bswap.ksh1 #!/bin/ksh -p
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or https://opensource.org/licenses/CDDL-1.0.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
34 # Import a pool containing variously-permuted zstd-compressed files,
43 rm -f $TEST_BASE_DIR/testpool_zstd
47 log_assert "Trying to read data from variously mangled zstd datasets"
50 log_must tar --directory $TEST_BASE_DIR -xzSf $TESTPOOL_ZSTD_FILE
51 log_must zpool import -d $TEST_BASE_DIR testpool_zstd
52 log_must dd if=/testpool_zstd/x86_64/zstd of=/dev/null
[all …]
/freebsd-src/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_zstd.c1 /*-
2 * Copyright (c) 2009-2011 Sean Purcell
46 #include <zstd.h>
61 char in_frame; /* True = in the middle of a zstd frame. */
65 /* Zstd Filter. */
71 * Note that we can detect zstd compressed files even if we can't decompress
73 * messages.) So the bid framework here gets compiled even if no zstd library
91 if (__archive_read_register_bidder(a, NULL, "zstd", in archive_read_support_filter_zstd()
99 "Using external zstd program for zstd decompressio in archive_read_support_filter_zstd()
[all...]
H A Darchive_write_add_filter_zstd.c1 /*-
3 * Copyright (c) 2023-2024 Klara, Inc.
48 #include <zstd.h>
56 /* Don't compile this if we don't have zstd.h */
85 #define CLEVEL_MIN -99
86 #define CLEVEL_STD_MIN 0 /* prior to 1.3.4 and more recent without using --fast */
88 #define CLEVEL_STD_MAX 19 /* without using --ultra */
112 * Add a zstd compressio
450 drive_compressor(struct archive_write_filter * f,struct private_data * data,int flush,const void * src,size_t length) drive_compressor() argument
[all...]
/freebsd-src/sys/contrib/openzfs/module/
H A DMakefile.in7 distclean maintainer-clean: clean
12 .PHONY: all distclean maintainer-clean install uninstall check distdir \
13 modules modules-Linux modules-FreeBSD modules-unknown \
14 clean clean-Linux clean-FreeBSD \
15 modules_install modules_install-Linux modules_install-FreeBSD \
16 data_install data_install-Linu
[all...]
H A DKbuild.in5 ZFS_MODULE_CFLAGS += -std=gnu99 -Wno-declaration-after-statement
6 ZFS_MODULE_CFLAGS += -Wmissing-prototypes
12 zstd_include = @abs_srcdir@/zstd/include
13 ZFS_MODULE_CFLAGS += -include @abs_top_builddir@/zfs_config.h
14 ZFS_MODULE_CFLAGS += -
[all...]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/
H A Dhistory_002_pos.ksh1 #!/bin/ksh -p
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or https://opensource.org/licenses/CDDL-1.0.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
49 [[ -f $tmpfile ]] && rm -f $tmpfile
50 [[ -f $tmpfile2 ]] && rm -f $tmpfile2
52 datasetexists $dataset && destroy_dataset $dataset -Rf
54 rm -rf /history.$$
57 log_assert "Verify zfs sub-commands which modify state are logged."
87 compression gzip compression gzip-$((RANDOM%9 + 1))
[all …]
/freebsd-src/sys/contrib/zstd/programs/
H A Dzstd.12 .TH "ZSTD" "1" "January 2022" "zstd 1.5.2" "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 differences…
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 …]
H A Dzstd.1.md1 zstd(1) -- zstd, zstdmt, unzstd, zstdcat - Compress or decompress .zst files
5 --------
7 `zstd` [*OPTIONS*] [-|_INPUT-FILE_] [-o _OUTPUT-FILE_]
9 `zstdmt` is equivalent to `zstd -T0`
11 `unzstd` is equivalent to `zstd -d`
13 `zstdcat` is equivalent to `zstd -dcf`
17 -----------
18 `zstd` is a fast lossless compression algorithm and data compression tool,
21 `zstd` offers highly configurable compression speed,
26 `zstd` command line syntax is generally similar to gzip,
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_from_zstd.ksh1 #!/bin/ksh -p
27 # ZFS should receive a ZSTD compressed block and be able to determine the level
30 # 1. Create a ZSTD compressed dataset (random level)
43 destroy_dataset $TESTPOOL/$TESTFS1 -r
46 destroy_dataset $TESTPOOL/$TESTFS2 -r
51 log_assert "ZFS should track compression level when receiving a ZSTD stream"
57 log_note "Randomly selected ZSTD level: $random_level"
59 log_must zfs create -o compress=zstd-
[all...]
/freebsd-src/sys/contrib/zstd/lib/
H A Dzstd.h5 * 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.
44 zstd, short for Zstandard, is a fast lossless compression algorithm, targeting
45 real-time compression scenarios at zlib-level and better compression ratios.
46 The zstd compression library provides in-memory compression and decompression
50 which is currently 22. Levels >= 20, labeled `--ultra`, should be used with
56 - a single step (described as Simple API)
57 - a single step, reusing a context (described as Explicit context)
58 - unbounded multiple steps (described as Streaming compression)
62 - a single step (described as Simple dictionary API)
[all …]
/freebsd-src/sys/contrib/openzfs/module/zfs/
H A Dzio_compress.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or https://opensource.org/licenses/CDDL-1.0.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
37 #include <sys/zstd/zstd.h>
55 {"gzip-1", 1,
57 {"gzip-2", 2,
59 {"gzip-3", 3,
61 {"gzip-4", 4,
63 {"gzip-
128 zio_compress_data(enum zio_compress c,abd_t * src,void ** dst,size_t s_len,uint8_t level) zio_compress_data() argument
182 zio_decompress_data_buf(enum zio_compress c,void * src,void * dst,size_t s_len,size_t d_len,uint8_t * level) zio_decompress_data_buf() argument
196 zio_decompress_data(enum zio_compress c,abd_t * src,void * dst,size_t s_len,size_t d_len,uint8_t * level) zio_decompress_data() argument
[all...]
/freebsd-src/sys/conf/
H A Dkern.pre.mk5 # Allow user to configure things that only effect src tree builds.
6 # Note: This is duplicated from src.sys.mk to ensure that we include
7 # /etc/src.conf when building the kernel. Kernels can be built without
8 # the rest of /usr/src, but they still always process SRCCONF even though
11 SRCCONF?= /etc/src.conf
12 .if (exists(${SRCCONF}) || ${SRCCONF} != "/etc/src.conf") && !target(_srcconf_included_)
20 .-include <local.kern.pre.mk>
55 CTFFLAGS+= -g
58 _COPTFLAGS_EXTRA=-frename-register
[all...]
/freebsd-src/sys/contrib/zstd/doc/
H A Dzstd_manual.html3 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4 <title>zstd 1.5.2 Manual</title>
7 <h1>zstd 1.5.2 Manual</h1>
18 <li><a href="#Chapter8">Streaming compression - HowTo</a></li>
19 <li><a href="#Chapter9">Streaming decompression - HowTo</a></li>
30 <li><a href="#Chapter20">Buffer-less and synchronous inner streaming functions</a></li>
31 <li><a href="#Chapter21">Buffer-less streaming compression (synchronous mode)</a></li>
32 <li><a href="#Chapter22">Buffer-less streaming decompression (synchronous mode)</a></li>
37 zstd, short for Zstandard, is a fast lossless compression algorithm, targeting
38 real-time compression scenarios at zlib-level and better compression ratios.
[all …]
/freebsd-src/sbin/savecore/
H A DMakefile7 LIBADD= xo z zstd
10 CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib
12 .include <src.opts.mk>
17 CFLAGS+= -DWITH_CASPER
/freebsd-src/sys/contrib/openzfs/module/zcommon/
H A Dzfs_prop.c8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or https://opensource.org/licenses/CDDL-1.0.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
123 { "gzip-1", ZIO_COMPRESS_GZIP_1 }, in zfs_prop_init()
124 { "gzip-2", ZIO_COMPRESS_GZIP_2 }, in zfs_prop_init()
125 { "gzip-3", ZIO_COMPRESS_GZIP_3 }, in zfs_prop_init()
126 { "gzip-4", ZIO_COMPRESS_GZIP_4 }, in zfs_prop_init()
127 { "gzip-5", ZIO_COMPRESS_GZIP_5 }, in zfs_prop_init()
128 { "gzip-6", ZIO_COMPRESS_GZIP_6 }, in zfs_prop_init()
129 { "gzip- in zfs_prop_init()
[all...]
/freebsd-src/sys/contrib/openzfs/module/zstd/lib/decompress/
H A Dzstd_decompress_block.h2 * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc.
5 * 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.
15 /*-*******************************************************
19 #include "../zstd.h" /* DCtx, and some public functions */
26 /* note: prototypes already published within `zstd.h` :
37 * decompress block, starting at `src`,
44 const void* src, size_t srcSize, const int frame);
/freebsd-src/usr.bin/gzip/
H A DMakefile3 .include <src.opts.mk>
8 LIBADD= z lzma zstd
13 CFLAGS+= -DNO_BZIP2_SUPPORT
16 CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib
/freebsd-src/sys/contrib/zstd/lib/decompress/
H A Dzstd_decompress_block.h5 * 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.
15 /*-*******************************************************
19 #include "../zstd.h" /* DCtx, and some public functions */
26 /* note: prototypes already published within `zstd.h` :
43 * decompress block, starting at `src`,
50 … const void* src, size_t srcSize, const int frame, const streaming_operation streaming);
57 * The workspace must be 4-byte aligned and at least ZSTD_BUILD_FSE_TABLE_WKSP_SIZE bytes, which is
/freebsd-src/sys/contrib/zstd/lib/legacy/
H A Dzstd_v02.h5 * 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.
25 * Simple one-step function
28 ZSTDv02_decompress() : decompress ZSTD frames compliant with v0.2.x format
36 const void* src, size_t compressedSize);
39 …ZSTDv02_findFrameSizeInfoLegacy() : get the source length and decompressed bound of a ZSTD frame c…
40 srcSize : The size of the 'src' buffer, at least as large as the frame pointed to by 'src'
43 dBound (output parameter) : an upper-bound for the decompressed size of the data in the frame
48 void ZSTDv02_findFrameSizeInfoLegacy(const void *src, size_t srcSize,
66 const void* src, size_t compressedSize);
[all …]
H A Dzstd_v01.h5 * 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.
25 * Simple one-step function
28 ZSTDv01_decompress() : decompress ZSTD frames compliant with v0.1.x format
36 const void* src, size_t compressedSize);
39 …ZSTDv01_findFrameSizeInfoLegacy() : get the source length and decompressed bound of a ZSTD frame c…
40 srcSize : The size of the 'src' buffer, at least as large as the frame pointed to by 'src'
43 dBound (output parameter) : an upper-bound for the decompressed size of the data in the frame
48 void ZSTDv01_findFrameSizeInfoLegacy(const void *src, size_t srcSize,
66 const void* src, size_t compressedSize);
[all …]

12345