Home
last modified time | relevance | path

Searched full:compression (Results 1 – 25 of 2837) sorted by relevance

12345678910>>...114

/third_party/grpc/examples/python/compression/
DREADME.md1 ## 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 …]
/third_party/grpc/doc/
Dcompression_cookbook.md1 # 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 …]
Dcompression.md1 ## 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 …]
/third_party/EGL/extensions/EXT/
DEGL_EXT_surface_compression.txt45 Applications may wish to take advantage of framebuffer compression. Some
46 platforms may support framebuffer compression at fixed bitrates. Such
47 compression algorithms generally produce results that are visually lossless,
51 This extension enables applications to opt-in to fixed-rate compression
54 Compression may not be supported for all framebuffer formats. It can still
55 be requested for all formats and applications can query what level of compression
101 EGL_SURFACE_COMPRESSION_EXT specifies the fixed-rate compression that may
104 compression is disabled.
106 then the implementation may enable compression at a default,
109 implementation may enable fixed-rate compression with a bitrate of at
[all …]
/third_party/openssl/doc/man3/
DSSL_COMP_add_compression_method.pod7 - handle SSL/TLS integrated compression methods
26 SSL_COMP_add_compression_method() adds the compression method B<cm> with
27 the identifier B<id> to the list of available compression methods. This
32 compression methods or NULL on error.
34 SSL_COMP_get0_name() returns the name of the compression method B<comp>.
36 SSL_COMP_get_id() returns the id of the compression method B<comp>.
39 maintain the internal table of compression methods.
43 The TLS standard (or SSLv3) allows the integration of compression methods
44 into the communication. The TLS RFC does however not specify compression
46 way to integrate compression with unknown peers. It is therefore currently not
[all …]
/third_party/openGLES/extensions/EXT/
DEXT_texture_storage_compression.txt42 Applications may wish to take advantage of framebuffer compression. Some
43 platforms may support framebuffer compression at fixed bitrates. Such
44 compression algorithms generally produce results that are visually lossless,
48 This extension enables applications to opt-in to compression for
101 compression rate that was actually applied to the texture."
135 SURFACE_COMPRESSION_EXT specifies if fixed-rate compression can be
138 compression is disabled.
140 implementation may enable compression at a default, implementation-defined,
143 implementation may enable fixed-rate compression with a bitrate of at
146 implementation may enable fixed-rate compression with a bitrate of at
[all …]
/third_party/lz4/programs/
Dlz4.120 …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
120compression 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 …]
Dlz4.1.md21 `lz4` is an extremely fast lossless compression algorithm,
22 based on **byte-aligned LZ77** family of compression scheme.
23 `lz4` offers compression speeds of 400 MB/s per core, linearly scalable with
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 …]
/third_party/grpc/src/python/grpcio/grpc/
D_interceptor.py49 'wait_for_ready', 'compression')),
81 compression = call_details.compression
83 compression = default_details.compression
85 return method, timeout, metadata, credentials, wait_for_ready, compression
215 compression=None): argument
221 compression=compression)
230 compression=None): argument
233 wait_for_ready, compression)
247 compression=new_compression)
265 compression=None): argument
[all …]
D_compression.py28 def _compression_algorithm_to_metadata_value(compression): argument
29 return _METADATA_STRING_MAPPING[compression]
32 def compression_algorithm_to_metadata(compression): argument
34 _compression_algorithm_to_metadata_value(compression))
37 def create_channel_option(compression): argument
39 int(compression)),) if compression else ()
42 def augment_metadata(metadata, compression): argument
43 if not metadata and not compression:
47 compression_algorithm_to_metadata(compression),) if compression else ()
D_simple_stubs.py32 Optional[grpc.Compression]]
62 compression: Optional[grpc.Compression]) -> grpc.Channel: argument
65 f"options '{options}' and compression '{compression}'")
69 compression=compression)
133 compression: Optional[grpc.Compression]) -> grpc.Channel: argument
144 key = (target, options, channel_credentials, compression)
155 compression)
179 compression: Optional[grpc.Compression] = None, argument
218 compression: An optional value indicating the compression method to be
219 used over the lifetime of the channel, e.g. grpc.Compression.Gzip.
[all …]
/third_party/grpc/src/python/grpcio/grpc/experimental/aio/
D_channel.py50 compression: Optional[grpc.Compression]): argument
52 compression)
93 compression: Optional[grpc.Compression] = None argument
95 """Based on the provided values for <metadata> or <compression> initialise the final
99 if compression:
101 *_compression.augment_metadata(metadata, compression))
115 compression: Optional[grpc.Compression] = None argument
118 metadata = self._init_metadata(metadata, compression)
145 compression: Optional[grpc.Compression] = None argument
148 metadata = self._init_metadata(metadata, compression)
[all …]
/third_party/grpc/src/python/grpcio/grpc/aio/
D_channel.py50 compression: Optional[grpc.Compression]): argument
52 compression)
94 compression: Optional[grpc.Compression] = None) -> Metadata: argument
95 """Based on the provided values for <metadata> or <compression> initialise the final
99 if compression:
101 *_compression.augment_metadata(metadata, compression))
116 compression: Optional[grpc.Compression] = None argument
119 metadata = self._init_metadata(metadata, compression)
147 compression: Optional[grpc.Compression] = None argument
150 metadata = self._init_metadata(metadata, compression)
[all …]
/third_party/grpc/examples/cpp/compression/
DREADME.md1 # 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 …]
/third_party/flutter/skia/third_party/externals/freetype/src/gzip/
Dzlib.h1 /* zlib.h -- interface of the 'zlib' general purpose compression library
43 The 'zlib' compression library provides in-memory compression and
45 data. This version of the library supports only one compression method
49 Compression can be done in a single step if the buffers are large
51 repeated calls of the compression function. In the latter case, the
96 compression library and must not be updated by the application.
100 memory management. The compression library attaches no meaning to the
114 compression ratio, compile the library with -DMAX_WBITS=14 (see zconf.h).
117 progress reports. After compression, total_in holds the total size of
141 /* Return codes for the compression/decompression functions. Negative
[all …]
/third_party/freetype/src/gzip/
Dzlib.h1 /* zlib.h -- interface of the 'zlib' general purpose compression library
43 The 'zlib' compression library provides in-memory compression and
45 data. This version of the library supports only one compression method
49 Compression can be done in a single step if the buffers are large
51 repeated calls of the compression function. In the latter case, the
96 compression library and must not be updated by the application.
100 memory management. The compression library attaches no meaning to the
114 compression ratio, compile the library with -DMAX_WBITS=14 (see zconf.h).
117 progress reports. After compression, total_in holds the total size of
141 /* Return codes for the compression/decompression functions. Negative
[all …]
/third_party/skia/third_party/externals/freetype/src/gzip/
Dzlib.h1 /* zlib.h -- interface of the 'zlib' general purpose compression library
43 The 'zlib' compression library provides in-memory compression and
45 data. This version of the library supports only one compression method
49 Compression can be done in a single step if the buffers are large
51 repeated calls of the compression function. In the latter case, the
96 compression library and must not be updated by the application.
100 memory management. The compression library attaches no meaning to the
114 compression ratio, compile the library with -DMAX_WBITS=14 (see zconf.h).
117 progress reports. After compression, total_in holds the total size of
141 /* Return codes for the compression/decompression functions. Negative
[all …]
/third_party/grpc/include/grpc/impl/codegen/
Dcompression_types.h28 /** To be used as initial metadata key for the request of a concrete compression
37 /** Default compression algorithm for the channel.
41 /** Default compression level for the channel.
44 /** Compression algorithms supported by the channel.
55 /** The various compression algorithms supported by gRPC (not sorted by
56 * compression level) */
61 /* EXPERIMENTAL: Stream compression is currently experimental. */
67 /** Compression levels allow a party with knowledge of its peer's accepted
68 * encodings to request compression in an abstract way. The level-algorithm
70 * compression algorithms. */
[all …]
/third_party/grpc/src/python/grpcio_tests/tests_aio/unit/
Dcompression_test.py14 """Tests behavior around the compression mechanism."""
49 context.set_compression(grpc.Compression.Deflate)
52 context.set_compression(grpc.Compression.Deflate)
57 # which compression algorithm it should use.
66 context.set_compression(grpc.Compression.Deflate)
73 context.set_compression(grpc.Compression.Deflate)
120 self._address, compression=grpc.Compression.Gzip) as channel:
131 self._address, compression=grpc.Compression.Deflate) as channel:
140 call = multicallable(_REQUEST, compression=grpc.Compression.Gzip)
150 call = multicallable(_REQUEST, compression=grpc.Compression.Deflate)
[all …]
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.8/
Dbzip2.137 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 …]
/third_party/bzip2/
Dbzip2.137 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 …]
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.6/
Dbzip2.137 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 …]
/third_party/skia/third_party/externals/libwebp/man/
Dgif2webp.136 Encode the image using lossy compression.
39 Mixed compression mode: optimize compression of the image by picking either
40 lossy or lossless compression for each frame heuristically.
43 Specify the compression factor for RGB channels between 0 and 100. The default
46 In case of lossless compression (default), a small factor enables faster
47 compression speed, but produces a larger file. Maximum compression is achieved
50 In case of lossy compression (specified by the \-lossy option), a small factor
55 Specify the compression method to use. This parameter controls the
61 larger file size and lower compression quality.
66 uses lossless compression by default, but can be combined with \-q, \-m,
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/man/
Dgif2webp.136 Encode the image using lossy compression.
39 Mixed compression mode: optimize compression of the image by picking either
40 lossy or lossless compression for each frame heuristically.
43 Specify the compression factor for RGB channels between 0 and 100. The default
46 In case of lossless compression (default), a small factor enables faster
47 compression speed, but produces a larger file. Maximum compression is achieved
50 In case of lossy compression (specified by the \-lossy option), a small factor
55 Specify the compression method to use. This parameter controls the
61 larger file size and lower compression quality.
66 lossless compression by default, but can be combined with \-q, \-m, \-lossy or
[all …]
/third_party/icu/docs/userguide/conversion/
Dcompression.md3 title: Compression
12 # Compression chapter
26 bandwidth usage and fewer storage devices. The compression scheme compresses
29 purpose file or disk-block based compression scheme. Note that the combination
30 of the Unicode compression algorithm plus disk-block based compression produces
38 For additional detail about the compression algorithm, which has been approved
40 Standard Compression Scheme for
43 The Standard Compression Scheme for Unicode (SCSU) is used to:
61 The compression scheme is mainly intended for use with short to medium length
64 input to traditional general purpose data compression schemes. It is not
[all …]

12345678910>>...114