Home
last modified time | relevance | path

Searched +full:libzstd +full:- +full:size (Results 1 – 20 of 20) sorted by relevance

/external/zstd/lib/
DREADME.md4 The __lib__ directory is split into several sub-directories,
10 …ventions](https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html#Makefile-Conventi…
12 - `make` : generates both static and dynamic libraries
13 - `make install` : install libraries and headers in target system directories
15 `libzstd` default scope is pretty large, including compression, decompression, dictionary builder,
22 …by default the dynamic library is multithreaded and static library is single-threaded (for compati…
25 - set build macro `ZSTD_MULTITHREAD` (`-DZSTD_MULTITHREAD` for `gcc`)
26 - for POSIX systems : compile with pthread (`-pthread` compilation flag for `gcc`)
29 - Force enable multithreading on both dynamic and static libraries by appending `-mt` to the target…
30 - Force disable multithreading on both dynamic and static libraries by appending `-nomt` to the tar…
[all …]
Dlibzstd.mk5 # 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.
28 # configures a bunch of other variables to space-optimized defaults.
39 # Build size optimizations
63 # libzstd helpers
75 # When cross-compiling from linux to windows,
83 LIBVER_MAJOR_SCRIPT:=`sed -n '/define ZSTD_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < $…
84 LIBVER_MINOR_SCRIPT:=`sed -n '/define ZSTD_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < $…
85 LIBVER_PATCH_SCRIPT:=`sed -n '/define ZSTD_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' <…
91 CCVER := $(shell $(CC) --version)
[all …]
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.
52 * typically with -Wno-deprecated-declarations for gcc or _CRT_SECURE_NO_WARNINGS in Visual.
77 real-time compression scenarios at zlib-level and better compression ratios.
78 The zstd compression library provides in-memory compression and decompression
82 which is currently 22. Levels >= 20, labeled `--ultra`, should be used with
88 - a single step (described as Simple API)
89 - a single step, reusing a context (described as Explicit context)
90 - unbounded multiple steps (described as Streaming compression)
94 - a single step (described as Simple dictionary API)
[all …]
/external/zstd/.github/workflows/
Ddev-short-tests.yml1 name: dev-short-tests
6 group: fast-${{ github.ref }}
7 cancel-in-progress: true
13 permissions: read-all
16 linux-kernel:
17 runs-on: ubuntu-latest
19 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1
20 - name: linux kernel, library + build + test
21 …run: make -C contrib/linux-kernel test CFLAGS="-Werror -Wunused-const-variable -Wunused-but-set-va…
24 runs-on: ubuntu-latest
[all …]
/external/zstd/examples/
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.
12 CPPFLAGS += -I$(LIBDIR)
13 LIB = $(LIBDIR)/libzstd.a
27 $(MAKE) -C $(LIBDIR) libzstd.a
71 @echo -- Simple compression tests
76 @echo -- Streaming memory usage
78 @echo -- Streaming compression tests
81 @echo -- Edge cases detection
84 touch tmpNull # create 0-size file
[all …]
Dstreaming_compression.c5 * 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.
28 * They may be any size, but we recommend using these functions to size them. in compressFile_orDie()
48 fprintf (stderr, "Note: the linked libzstd library doesn't support multithreading. " in compressFile_orDie()
49 "Reverting to single-thread mode. \n"); in compressFile_orDie()
85 finished = lastChunk ? (remaining == 0) : (input.pos == input.size); in compressFile_orDie()
87 CHECK(input.pos == input.size, in compressFile_orDie()
/external/zstd/
DCHANGELOG6 lib: reduce binary size with selective built-time exclusion, by @felixhandte
9 lib: fix CCtx size estimation with external sequence producer, by @embg
11 lib: fix zdict prototype mismatch in static_only mode, by @ldv-alt
12 lib: fix several bugs in magicless-format decoding, by @embg
13 cli: add common compressed file types to `--exclude-compressed`` by @daniellerozenblit
14 cli: fix mixing `-c` and `-o` commands with `--rm`, by @Cyan4973
15 cli: fix erroneous exclusion of hidden files with `--output-dir-mirror` by @felixhandte
20 …rovements by @terrelln, @sighingnow, @gjasny, @JohanMabille, @Saverio976, @gruenich, @teo-tsirpanis
22 build: fix cross-compiling for AArch64 with lld by @jcelerier
31 port: risc-v support validation in CI, by @Cyan4973
[all …]
DCONTRIBUTING.md30 Zstd uses a branch-based workflow for making changes to the codebase. Typically, zstd
51 git checkout -b <branch-name>
52 git push origin <branch-name>
57 git add -u && git commit -m <message>
58 git push origin <branch-name>
113 executing it. It usually helps us find many simple bugs. Zstd uses clang's `scan-build` tool for
114 …install it by following the instructions for your OS on https://clang-analyzer.llvm.org/scan-build.
122 In general, you can use `scan-build` to static analyze any build script. For example, to static ana…
126 scan-build make -C contrib/largeNbDicts largeNbDicts
130 `scan-build` is part of our regular CI suite. Other static analyzers are not.
[all …]
/external/elfutils/libdwfl/
Dgzip.c85 size_t size; member
93 size_t more = state->size ? state->size * 2 : start; in bigger_buffer()
94 char *b = realloc (state->buffer, more); in bigger_buffer()
95 while (unlikely (b == NULL) && more >= state->size + 1024) in bigger_buffer()
96 b = realloc (state->buffer, more -= 1024); in bigger_buffer()
99 state->buffer = b; in bigger_buffer()
100 state->size = more; in bigger_buffer()
107 state->buffer = in smaller_buffer()
108 realloc (state->buffer, end) ?: end == 0 ? NULL : state->buffer; in smaller_buffer()
109 state->size = end; in smaller_buffer()
[all …]
/external/curl/lib/
Dcurl_config.h.in3 /* Ignore c-ares deprecation warnings */
21 /* disable alt-svc */
63 /* disable headers-api */
66 /* disable alt-svc */
87 /* to disable --libcurl C code generation option */
114 /* disable progress-meter */
305 /* Define to 1 if you have a working glibc-style strerror_r function. */
314 /* if you have GSS-API libraries */
393 /* Define to 1 if you have the `brotlidec' library (-lbrotlidec). */
399 /* Define to 1 if you have the `idn2' library (-lidn2). */
[all …]
Dcurl_config.h4 /* Ignore c-ares deprecation warnings */
22 /* disable alt-svc */
49 /* disable headers-api */
52 /* disable alt-svc */
70 /* to disable --libcurl C code generation option */
94 /* disable progress-meter */
290 /* Define to 1 if you have a working glibc-style strerror_r function. */
299 /* if you have GSS-API libraries */
378 /* Define to 1 if you have the `brotlidec' library (-lbrotlidec). */
384 /* Define to 1 if you have the `idn2' library (-lidn2). */
[all …]
/external/zstd/tests/
Ddecodecorpus.c5 * 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.
38 /*-************************************
68 /*-*******************************************************
73 #define RAND_rotl32(x,r) ((x << r) | (x >> (32 - r))) in RAND()
87 /* Write `size` bytes into `ptr`, all of which are less than or equal to `maxSymb` */
88 static void RAND_bufferMaxSymb(U32* seed, void* ptr, size_t size, int maxSymb) in RAND_bufferMaxSymb() argument
93 for (i = 0; i < size; i++) { in RAND_bufferMaxSymb()
98 /* Write `size` random bytes into `ptr` */
99 static void RAND_buffer(U32* seed, void* ptr, size_t size) in RAND_buffer() argument
[all …]
/external/elfutils/config/
Delfutils.spec.in1 # -*- rpm-spec-*-
7 Source: ftp://sourceware.org/pub/elfutils/%{version}/elfutils-%{version}.tar.bz2
10 Requires: elfutils-libelf = %{version}-%{release}
11 Requires: elfutils-libs = %{version}-%{release}
13 Requires: elfutils-debuginfod-client = %{version}-%{release}
17 BuildRequires: gcc-c++
24 BuildRequires: zlib-devel
25 BuildRequires: bzip2-devel
26 BuildRequires: xz-devel
27 BuildRequires: libzstd-devel
[all …]
/external/kmod/
DNEWS4 - Improvements
5 - Stop adding duplicate information on modules.builtin.alias.bin, just use
8 - Speedup depmod, particularly under qemu with emulated arch, by
13 - Add kmod_module_new_from_name_lookup() which allows doing a lookup by
17 - modinfo learned the --modname option to explicitely show information
28 - depmod.conf learned a new "excludedir" directive so distro/user can
32 - Better group modprobe options on help output under "Management, Query and General".
34 - modprobe learned a --wait <MSEC> option to be used together with -r
44 such users. "rmmod" doesn't have a --wait as it remains a bare minimal over
45 the API provided by the kernel. In future the --wait behavior can be added
[all …]
/external/elfutils/
DNEWS12 readelf: Support readelf -Ds, --use-dynamic --symbol.
21 -wal management during scanning using the
22 --scan-checkpoint option.
28 configure: eu-nm, eu-addr2line and eu-stack can provide demangled symbols
29 when linked with libstdc++. Use --disable-demangler to disable.
31 A new option --enable-sanitize-memory has been added for msan
35 libzstd
40 elfcompress: -t, --type= now support zstd if libelf has been build with
47 readelf: Add -D, --use-dynamic option.
49 debuginfod-client: Add $DEBUGINFOD_HEADERS_FILE setting to supply outgoing
[all …]
/external/zstd/lib/decompress/
Dzstd_decompress_block.c5 * 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.
14 /*-*******************************************************
50 /*-*************************************************************
56 …size_t const blockSizeMax = dctx->isFrameDecompression ? dctx->fParams.blockSizeMax : ZSTD_BLOCKSI… in ZSTD_blockSizeMax()
62 * Provides the size of compressed block from block header `src` */
70 bpPtr->lastBlock = cBlockHeader & 1; in ZSTD_getcBlockSize()
71 bpPtr->blockType = (blockType_e)((cBlockHeader >> 1) & 3); in ZSTD_getcBlockSize()
72 bpPtr->origSize = cSize; /* only useful for RLE */ in ZSTD_getcBlockSize()
73 if (bpPtr->blockType == bt_rle) return 1; in ZSTD_getcBlockSize()
[all …]
/external/zstd/programs/
Dfileio.c5 * 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.
17 # pragma warning(disable : 4204) /* non-constant aggregate initializer */
23 /*-*************************************
108 /*-*************************************
128 /*-************************************
129 * Signal (Ctrl-C trapping)
162 /*-*********************************************************
238 /*-*************************************
259 return fCtx->nbFilesTotal <= 1 || g_display_prefs.displayLevel >= 3; in FIO_shouldDisplayFileSummary()
[all …]
/external/zstd/lib/compress/
Dzstd_compress.c5 * 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.
11 /*-*************************************
47 * Maximum size of the hash table dedicated to find 3-bytes matches,
51 * The actual (selected) size of the hash table is then stored in ZSTD_matchState_t.hashLog3,
58 /*-*************************************
63 * the one-pass compression functions.
65 * if flushes are frequently altering the size of blocks,
76 /*-*************************************
91 … * row-based matchfinder. Unless the cdict is reloaded, we will use
[all …]
/external/mesa3d/
Dmeson.build1 # Copyright © 2017-2020 Intel Corporation
29 'b_ndebug=if-release',
52 '-D__STDC_CONSTANT_MACROS',
53 '-D__STDC_FORMAT_MACROS',
54 '-D__STDC_LIMIT_MACROS',
55 '-DPACKAGE_VERSION="@0@"'.format(meson.project_version()),
56 '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"',
64 with_moltenvk_dir = get_option('moltenvk-dir')
65 with_vulkan_icd_dir = get_option('vulkan-icd-dir')
66 with_tests = get_option('build-tests')
[all …]
/external/curl/
Dconfigure2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for curl -.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
19 ## -------------------------------- ##
21 ## -------------------------------- ##
66 # Try built-in echo, and fail.
77 (`test -n "$xc_tst_str" >/dev/null 2>&1`) && xc_tst_str='success'
93 (`test -n "$PATH" >/dev/null 2>&1`) && xc_tst_str='success'
126 | sed -e 's:unknown:success:' 2>/dev/null`
160 | tr -d "0123456789$xc_tab" 2>/dev/null`
[all …]