- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 49 for decompressor (0.06 seconds)
-
src/archive/zip/register.go
func RegisterCompressor(method uint16, comp Compressor) { if _, dup := compressors.LoadOrStore(method, comp); dup { panic("compressor already registered") } } func compressor(method uint16) Compressor { ci, ok := compressors.Load(method) if !ok { return nil } return ci.(Compressor) } func decompressor(method uint16) Decompressor { di, ok := decompressors.Load(method) if !ok { return nil
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 3.7K bytes - Click Count (0) -
src/archive/zip/reader.go
// RegisterDecompressor registers or overrides a custom decompressor for a // specific method ID. If a decompressor for a given method is not found, // [Reader] will default to looking up the decompressor at the package level. func (r *Reader) RegisterDecompressor(method uint16, dcomp Decompressor) { if r.decompressors == nil { r.decompressors = make(map[uint16]Decompressor) } r.decompressors[method] = dcomp }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 15 18:35:56 GMT 2026 - 28.5K bytes - Click Count (0) -
api/go1.6.txt
pkg archive/zip, method (*ReadCloser) RegisterDecompressor(uint16, Decompressor) pkg archive/zip, method (*Reader) RegisterDecompressor(uint16, Decompressor) pkg archive/zip, method (*Writer) RegisterCompressor(uint16, Compressor) pkg bufio, method (*Scanner) Buffer([]uint8, int) pkg bufio, var ErrFinalToken error pkg crypto/tls, const TLS_RSA_WITH_AES_128_GCM_SHA256 = 156 pkg crypto/tls, const TLS_RSA_WITH_AES_128_GCM_SHA256 uint16
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Jan 13 23:40:13 GMT 2016 - 12.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
/** * Decompresses data that was compressed with the specified algorithm. * * @param compressedData the compressed data * @param algorithm the compression algorithm that was used * @return the decompressed data * @throws CIFSException if decompression fails */ byte[] decompress(byte[] compressedData, int algorithm) throws CIFSException; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
throws CIFSException { byte[] decompressed = decompress(compressedData, offset, length, algorithm); if (outputBuffer.length - outputOffset < decompressed.length) { throw new CIFSException("Output buffer too small"); } System.arraycopy(decompressed, 0, outputBuffer, outputOffset, decompressed.length); return decompressed.length; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
assertArrayEquals(testData, compressed); byte[] decompressed = compressionService.decompress(compressed, CompressionService.COMPRESSION_NONE); assertArrayEquals(testData, decompressed); } @Test @DisplayName("Test LZ77 compression and decompression") public void testLZ77Compression() throws CIFSException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt
val response = chain.proceed(request) decompress(response) } else { chain.proceed(chain.request()) } /** * Returns a decompressed copy of the Response, typically via a streaming Source. * If no known decompression or the response is not compressed, returns the response unmodified. */ internal fun decompress(response: Response): Response { if (!response.promisesBody()) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 15:15:28 GMT 2025 - 2.9K bytes - Click Count (1) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
header("Content-Encoding", "zstd") } val decompressed = zstdInterceptor.decompress(response) assertThat(decompressed.header("Content-Encoding")).isNull() assertFailsWith<IOException> { decompressed.body.string() }.also { ioe -> assertThat(ioe).hasMessage("zstd decompress failed: Unknown frame descriptor") } } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Aug 01 06:04:22 GMT 2025 - 4.8K bytes - Click Count (1) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/SymbolicLinkPreservingTar.java
final ArchiveOutputStreamFactory compressor; switch (getCompression()) { case BZIP2: compressor = Bzip2Archiver.getCompressor(); break; case GZIP: compressor = GzipArchiver.getCompressor(); break; default: compressor = new SimpleCompressor(); break; }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 8.7K bytes - Click Count (0) -
docs/fr/docs/how-to/custom-request-and-route.md
* Décompresser des corps de requête compressés en gzip. * Journaliser automatiquement tous les corps de requête. ## Gérer les encodages personnalisés du corps de la requête { #handling-custom-request-body-encodings } Voyons comment utiliser une sous-classe personnalisée de `Request` pour décompresser des requêtes gzip.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 5.1K bytes - Click Count (0)