- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for compressors (0.05 sec)
-
src/archive/zip/writer.go
} // RegisterCompressor registers or overrides a custom compressor for a specific // method ID. If a compressor for a given method is not found, [Writer] will // default to looking up the compressor at the package level. func (w *Writer) RegisterCompressor(method uint16, comp Compressor) { if w.compressors == nil { w.compressors = make(map[uint16]Compressor) } w.compressors[method] = comp }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 19.4K bytes - Viewed (0) -
cmd/object-api-utils.go
return sealETag(key, md5sumcurr) } return fn } // compressOpts are the options for writing compressed data. var compressOpts []s2.WriterOption func init() { if runtime.GOARCH == "amd64" { // On amd64 we have assembly and can use stronger compression. compressOpts = append(compressOpts, s2.WriterBetterCompression()) } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 25 15:08:54 UTC 2025 - 37.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
/** * Compresses data using the specified algorithm. * * @param data the data to compress * @param algorithm the compression algorithm to use * @return the compressed data * @throws CIFSException if compression fails */ byte[] compress(byte[] data, int algorithm) throws CIFSException; /** * Compresses data using the specified algorithm with offset and length.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
case COMPRESSION_PATTERN_V1: return "Pattern_V1"; default: return "Unknown(0x" + Integer.toHexString(algorithm) + ")"; } } /** * Compresses data using LZ77 algorithm (implemented using Java's Deflater). */ private byte[] compressLZ77(byte[] data, int offset, int length) throws CIFSException { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/archive/zip/reader.go
func (r *Reader) RegisterDecompressor(method uint16, dcomp Decompressor) { if r.decompressors == nil { r.decompressors = make(map[uint16]Decompressor) } r.decompressors[method] = dcomp } func (r *Reader) decompressor(method uint16) Decompressor { dcomp := r.decompressors[method] if dcomp == nil { dcomp = decompressor(method) } return dcomp }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 28.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java
System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new RequestBodyCompression().run(); } /** This interceptor compresses the HTTP request body. Many webservers can't handle this! */ static class GzipRequestInterceptor implements Interceptor { @Override public Response intercept(Chain chain) throws IOException {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 04 17:43:43 UTC 2025 - 3.1K bytes - Viewed (0) -
docs/compression/README.md
Such objects do not produce efficient [`LZ compression`](https://en.wikipedia.org/wiki/LZ77_and_LZ78) which is a fitness factor for a lossless data compression. Pre-compressed input typically compresses in excess of 2GiB/s per core, so performance impact should be minimal even if precompressed data is re-compressed. Decompressing incompressible data has no significant performance impact.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
} /** * Stores current search parameters in a browser cookie for later retrieval. * * This method serializes the current request parameters, compresses them using GZIP, * encodes them with Base64, and stores them in a secure HTTP cookie. */ public void storeSearchParameters() { LaRequestUtil.getOptionalRequest().ifPresent(req -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
src/archive/zip/reader_test.go
// log.Fatal(err) // } // if err := w.Close(); err != nil { // log.Fatal(err) // } // return buf.Bytes() // } // // The 4 GB of zeros compresses to 4 MB, which compresses to 20 kB, // which compresses to 1252 bytes (in the hex dump below). // // It's here in hex for the same reason as rZipBytes above: to avoid // problems with on-disk virus scanners or other zip processors.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 56.6K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
* Returns the string representation of an {@link InetAddress} suitable for inclusion in a URI. * * <p>For IPv4 addresses, this is identical to {@link InetAddress#getHostAddress()}, but for IPv6 * addresses it compresses zeroes and surrounds the text with square brackets; for example {@code * "[2001:db8::1]"}. * * <p>Per section 3.2.2 of <a target="_parent"
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0)