| /external/grpc-grpc/examples/python/compression/ |
| D | README.md | 1 ## Compression with gRPC Python 3 gRPC offers lossless compression options in order to decrease the number of bits 4 transferred over the wire. Three levels of compression are available: 6 - `grpc.Compression.NoCompression` - No compression is applied to the payload. (default) 7 - `grpc.Compression.Deflate` - The "Deflate" algorithm is applied to the payload. 8 - `grpc.Compression.Gzip` - The Gzip algorithm is applied to the payload. 10 The default option on both clients and servers is `grpc.Compression.NoCompression`. 12 See [the gRPC Compression Spec](https://github.com/grpc/grpc/blob/master/doc/compression.md) 15 ### Client Side Compression 17 Compression may be set at two levels on the client side. [all …]
|
| /external/grpc-grpc/doc/ |
| D | compression_cookbook.md | 1 # gRPC (Core) Compression Cookbook 5 This document describes compression as implemented by the gRPC C core. See [the 6 full compression specification](compression.md) for details. 10 Wrapped languages developers, for the purposes of supporting compression by 15 1. Be able to set compression at [channel](#per-channel-settings), 20 spec](https://github.com/grpc/grpc/blob/master/doc/compression.md#test-cases). 31 still not symmetric between clients and servers (e.g. the [use of compression 32 levels](https://github.com/grpc/grpc/blob/master/doc/compression.md#compression-levels-and-algorith… 47 document](https://github.com/grpc/grpc/blob/master/doc/compression.md#compression-levels-and-algori… 48 compression _levels_ are the primary mechanism for compression selection _at the [all …]
|
| D | compression.md | 1 ## gRPC Compression 9 Compression is used to reduce the amount of bandwidth used between peers. The 10 compression supported by gRPC acts _at the individual message level_, taking 14 The implementation supports different compression algorithms. A _default 15 compression level_, to be used in the absence of message-specific settings, MAY 18 The ability to control compression settings per call and to enable/disable 19 compression on a per message basis MAY be used to prevent CRIME/BEAST attacks. 20 It also allows for asymmetric compression communication, whereby a response MAY 25 Compression MAY be configured by the Client Application by calling the 26 appropriate API method. There are two scenarios where compression MAY be [all …]
|
| /external/zstd/programs/ |
| D | zstd.1 | 20 …compression algorithm and data compression tool, with command line syntax similar to \fBgzip\fR(1)… 89 Benchmark file(s) using compression level \fI#\fR\. See \fIBENCHMARK\fR below for a description of … 102 …compression level [1\-19] (default: 3)\. Higher compression levels \fIgenerally\fR produce higher … 105 \fB\-\-ultra\fR: unlocks high compression levels 20+ (maximum 22), using a lot more memory\. Note t… 108 …compression levels\. If \fB=#\fR is not present, it defaults to \fB1\fR\. The higher the value, th… 114 \fB\-\-single\-thread\fR: Use a single thread for both I/O and compression\. As compression is seri… 120 Note 2: this mode is different from \fB\-T1\fR, which spawns 1 compression thread in parallel with … 126 …#,max=#]\fR: \fBzstd\fR will dynamically adapt compression level to perceived I/O conditions\. Com… 132 … compressor and decompressor\. This setting is designed to improve the compression ratio for files… 141 …ference point for zstd\'s diff engine\. This is effectively dictionary compression with some conve… [all …]
|
| D | zstd.1.md | 18 `zstd` is a fast lossless compression algorithm and data compression tool, 21 `zstd` offers highly configurable compression speed, 23 to strong modes with excellent compression ratios. 25 which remains roughly stable at all compression settings. 95 Benchmark file(s) using compression level _#_. 109 selects `#` compression level \[1-19\] (default: 3). 110 …Higher compression levels *generally* produce higher compression ratio at the expense of speed and… 111 A rough rule of thumb is that compression speed is expected to be divided by 2 every 2 levels. 115 unlocks high compression levels 20+ (maximum 22), using a lot more memory. 118 switch to ultra-fast compression levels. [all …]
|
| D | README.md | 72 - __ZSTD_NOCOMPRESS__ : `zstd` cli will be compiled without support for compression. 111 which can be loaded before compression and decompression. 113 Using a dictionary, the compression ratio achievable on small data improves dramatically. 114 These compression gains are achieved while simultaneously providing faster compression and decompre… 117 Dictionary gains are mostly effective in the first few KB. Then, the compression algorithm 128 CLI includes in-memory compression benchmark module for zstd. 134 The benchmark measures ratio, compressed size, compression and decompression speed. 135 One can select compression levels starting from `-b` and ending with `-e`. 148 -# : # compression level (1-19, default: 3) 150 -D DICT: use DICT as Dictionary for compression or decompression [all …]
|
| /external/grpc-grpc/src/python/grpcio/grpc/ |
| D | _compression.py | 35 compression: grpc.Compression, argument 37 return _METADATA_STRING_MAPPING[compression] 40 def compression_algorithm_to_metadata(compression: grpc.Compression): argument 43 _compression_algorithm_to_metadata_value(compression), 47 def create_channel_option(compression: Optional[grpc.Compression]): argument 49 ((cygrpc.GRPC_COMPRESSION_CHANNEL_DEFAULT_ALGORITHM, int(compression)),) 50 if compression 56 metadata: Optional[MetadataType], compression: Optional[grpc.Compression] argument 58 if not metadata and not compression: 62 (compression_algorithm_to_metadata(compression),) if compression else ()
|
| D | _interceptor.py | 70 "compression", 82 str, float, MetadataType, grpc.CallCredentials, bool, grpc.Compression 118 compression = ( 119 call_details.compression 122 compression = ( 123 default_details.compression 126 return method, timeout, metadata, credentials, wait_for_ready, compression 275 compression: Optional[grpc.Compression] = None, argument 283 compression=compression, 294 compression: Optional[grpc.Compression] = None, argument [all …]
|
| /external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
| D | ZipMethod.java | 26 * List of known compression methods 35 * Compression method 0 for uncompressed entries. 45 … href="https://www.pkware.com/documents/casestudies/APPNOTE.TXT">Explanation of fields: compression 51 * Reduced with compression factor 1. 53 … href="https://www.pkware.com/documents/casestudies/APPNOTE.TXT">Explanation of fields: compression 59 * Reduced with compression factor 2. 61 … href="https://www.pkware.com/documents/casestudies/APPNOTE.TXT">Explanation of fields: compression 67 * Reduced with compression factor 3. 69 … href="https://www.pkware.com/documents/casestudies/APPNOTE.TXT">Explanation of fields: compression 75 * Reduced with compression factor 4. [all …]
|
| /external/lz4/programs/ |
| D | lz4.1 | 20 …ely fast lossless compression algorithm, based on \fBbyte\-aligned LZ77\fR family of compression s… 32 \fBlz4 file\.lz4\fR will default to decompression (use \fB\-z\fR to force compression) 38 \fBlz4\fR shows real\-time notification statistics during compression or decompression of a single … 58 It\'s possible to opt\-in to erase source files on successful compression or decompression, using \… 94 …\fB\-\-decompress\fR by default)\. \fB\-z\fR can also be used to force compression of an already c… 106 Benchmark mode, using \fB#\fR compression level\. 116 Compression level, with # being any value from 1 to 12\. Higher values trade compression speed for … 120 …compression levels\. The higher the value, the faster the compression speed, at the cost of some c… 124 Set highest compression level\. Same as \-12\. 128 …ing on use cases\. This option only works in combination with very high compression levels (>=10)\. [all …]
|
| D | lz4.1.md | 21 `lz4` is an extremely fast lossless compression algorithm, 22 based on **byte-aligned LZ77** family of compression scheme. 23 `lz4` offers compression speeds > 500 MB/s per core, 36 * `lz4 file.lz4` will default to decompression (use `-z` to force compression) 39 during compression or decompression of a single file 61 on successful compression or decompression, using `--rm` command. 100 `-z` can also be used to force compression of an already compressed 114 Benchmark mode, using `#` compression level. 123 Compression level, with # being any value from 1 to 12. 124 Higher values trade compression speed for compression ratio. [all …]
|
| /external/zstd/ |
| D | README.md | 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. 31 For reference, several fast compression algorithms were tested and compared 36 on the [Silesia compression corpus]. 39 [Silesia compression corpus]: https://sun.aei.polsl.pl//~sdeor/index.php?page=silesia 42 | Compressor name | Ratio | Compression| Decompress.| 59 The negative compression levels, specified with `--fast=#`, 60 offer faster compression and decompression speed 61 at the cost of compression ratio (compared to level 1). 63 Zstd can also offer stronger compression ratios at the cost of compression speed. [all …]
|
| D | CHANGELOG | 5 perf: improved compression of arrays of integers at high compression, by @Cyan4973 39 fix: fix rare corruption bug affecting the high compression mode, reported by @danlark1 (#3517, @te… 40 perf: improve mid-level compression speed (#3529, #3533, #3543, @yoniko and #3552, @terrelln) 59 perf: up to +10% faster streaming compression at levels 1-2 (#3114, @embg) 61 pref: +3-11% compression speed for `arm` target (#3199, #3164, #3145, #3141, #3138, @JunHe77 and #3… 62 perf: +5-30% faster dictionary compression at levels 1-4 (#3086, #3114, #3152, @embg) 63 perf: +10-20% cold dict compression speed by prefetching CDict tables (#3177, @embg) 64 perf: +1% faster compression by removing a branch in ZSTD_fast_noDict (#3129, @felixhandte) 65 perf: Small compression ratio improvements in high compression mode (#2983, #3391, @Cyan4973 and #3… 98 bug: Fixes for Sequence Compression API (#3023, #3040, @Cyan4973) [all …]
|
| /external/squashfs-tools/RELEASE-READMEs/ |
| D | README-4.3 | 8 there are substantial improvements to stability, new compression options 22 2. GZIP compressor now supports compression options, allowing different 23 compression levels to be used. 25 3. Rewritten LZO compressor with compression options, allowing different 26 LZO algorithms and different compression levels to be used. 38 7. The -stat option in Unsquashfs now displays the compression options 40 the compression algorithm used. 65 New compression options and compressors are now supported. 70 -Xcompression-level <compression-level> 71 <compression-level> should be 1 .. 9 (default 9) [all …]
|
| /external/grpc-grpc/src/python/grpcio/grpc/aio/ |
| D | _channel.py | 65 base_options: ChannelArgumentType, compression: Optional[grpc.Compression] argument 68 compression 120 compression: Optional[grpc.Compression] = None, argument 122 """Based on the provided values for <metadata> or <compression> initialise the final 128 if compression: 130 *_compression.augment_metadata(metadata, compression) 146 compression: Optional[grpc.Compression] = None, argument 148 metadata = self._init_metadata(metadata, compression) 191 compression: Optional[grpc.Compression] = None, argument 193 metadata = self._init_metadata(metadata, compression) [all …]
|
| /external/trace-cmd/lib/trace-cmd/ |
| D | trace-compress.c | 113 * tracecmd_compress_lseek - Move the read/write pointer into the compression buffer 114 * @handle: compression handle 164 * tracecmd_compress_pread - pread() on compression buffer 165 * @handle: compression handle 170 * Read a @len of data from the compression buffer at given @offset, 189 * tracecmd_compress_buffer_read - read() from compression buffer 190 * @handle: compression handle 194 * Read a @len of data from the compression buffer 213 * tracecmd_compress_reset - Reset the compression buffer 214 * @handle: compression handle [all …]
|
| /external/libcups/examples/ |
| D | ipp-everywhere.test | 49 …EXPECT compression-supported OF-TYPE keyword IN-GROUP printer-attributes-tag WITH-VALUE "deflate" … 50 …EXPECT compression-supported OF-TYPE keyword IN-GROUP printer-attributes-tag WITH-VALUE "gzip" DEF… 211 ATTR keyword compression deflate 213 COMPRESSION deflate 234 ATTR keyword compression gzip 236 COMPRESSION gzip 277 ATTR keyword compression deflate 279 COMPRESSION deflate 300 ATTR keyword compression gzip 302 COMPRESSION gzip [all …]
|
| /external/grpc-grpc/examples/cpp/compression/ |
| D | README.md | 1 # gRPC C++ Message Compression Tutorial 15 Change your current directory to examples/cpp/compression 18 $ cd examples/cpp/compression/ 39 Additionally, we can configure the compression settings. 41 In the client, set the default compression algorithm of the channel via the channel arg. 45 // Set the default compression algorithm for the channel. 51 Each call's compression configuration can be overwritten by client context. 54 // Overwrite the call's compression algorithm to DEFLATE. 58 In the server, set the default compression algorithm via the server builder. 62 // Set the default compression algorithm for the server. [all …]
|
| /external/squashfs-tools/squashfs-tools/ |
| D | lzo_wrapper.c | 21 * Support for LZO compression http://www.oberhumer.com/opensource/lzo 43 /* default LZO compression algorithm and compression level */ 47 /* user specified compression level */ 89 "compression level\n"); in lzo_options() 111 fprintf(stderr, "lzo: compression algorithm should be one of:\n"); in lzo_options() 124 * compression level has been set (-Xalgorithm used after -Xcompression-level) 132 * Use of compression level only makes sense for in lzo_options_post() 160 * This function returns a pointer to the compression options structure 161 * to be stored (and the size), or NULL if there are no compression 170 * If default compression options of SQUASHFS_LZO1X_999 and in lzo_dump_options() [all …]
|
| /external/zstd/contrib/linux-kernel/ |
| D | linux_zstd.h | 67 * zstd_min_clevel() - minimum allowed compression level 69 * Return: The minimum allowed compression level. 74 * zstd_max_clevel() - maximum allowed compression level 76 * Return: The maximum allowed compression level. 83 * enum zstd_strategy - zstd compression search strategy 90 * struct zstd_compression_parameters - zstd compression parameters 92 * compression, and more memory needed during decompression. 93 * @chainLog: Fully searched segment. Larger means more compression, 95 * @hashLog: Dispatch table. Larger means more compression, 97 * @searchLog: Number of searches. Larger means more compression and slower. [all …]
|
| /external/bzip2/ |
| D | bzip2.1 | 37 text compression algorithm, and Huffman coding. Compression is 105 As with compression, supplying no 120 stdout. Compression of multiple files 146 Compression is always performed, even if the compressed 149 tend to get larger, since the compression mechanism has a constant 199 The complement to \-d: forces compression, regardless of the 220 Keep (don't delete) input files during compression 224 Reduce memory usage, for compression, decompression and testing. Files 229 During compression, \-s selects a block size of 200k, which limits 230 memory use to around the same figure, at the expense of your compression [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Support/ |
| D | Compression.cpp | 1 //===--- Compression.cpp - Compression implementation ---------------------===// 9 // This file implements compression functions. 13 #include "llvm/Support/Compression.h" 28 using namespace llvm::compression; 30 const char *compression::getReasonIfUnsupported(compression::Format F) { in getReasonIfUnsupported() 32 case compression::Format::Zlib: in getReasonIfUnsupported() 37 case compression::Format::Zstd: in getReasonIfUnsupported() 46 void compression::compress(Params P, ArrayRef<uint8_t> Input, in compress() 49 case compression::Format::Zlib: in compress() 52 case compression::Format::Zstd: in compress() [all …]
|
| /external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/impl/ |
| D | compression_types.h | 22 // IWYU pragma: private, include <grpc/compression.h> 31 /** To be used as initial metadata key for the request of a concrete compression 40 /** Default compression algorithm for the channel. 44 /** Default compression level for the channel. 47 /** Compression algorithms supported by the channel. 58 /** The various compression algorithms supported by gRPC (not sorted by 59 * compression level) */ 68 /** Compression levels allow a party with knowledge of its peer's accepted 69 * encodings to request compression in an abstract way. The level-algorithm 71 * compression algorithms. */ [all …]
|
| /external/grpc-grpc/include/grpc/impl/ |
| D | compression_types.h | 22 // IWYU pragma: private, include <grpc/compression.h> 31 /** To be used as initial metadata key for the request of a concrete compression 40 /** Default compression algorithm for the channel. 44 /** Default compression level for the channel. 47 /** Compression algorithms supported by the channel. 58 /** The various compression algorithms supported by gRPC (not sorted by 59 * compression level) */ 68 /** Compression levels allow a party with knowledge of its peer's accepted 69 * encodings to request compression in an abstract way. The level-algorithm 71 * compression algorithms. */ [all …]
|
| /external/rust/crates/grpcio-sys/grpc/include/grpc/impl/ |
| D | compression_types.h | 22 // IWYU pragma: private, include <grpc/compression.h> 31 /** To be used as initial metadata key for the request of a concrete compression 40 /** Default compression algorithm for the channel. 44 /** Default compression level for the channel. 47 /** Compression algorithms supported by the channel. 58 /** The various compression algorithms supported by gRPC (not sorted by 59 * compression level) */ 68 /** Compression levels allow a party with knowledge of its peer's accepted 69 * encodings to request compression in an abstract way. The level-algorithm 71 * compression algorithms. */ [all …]
|