Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for decompressors (0.06 seconds)

  1. src/archive/zip/register.go

    }
    
    // RegisterDecompressor allows custom decompressors for a specified method ID.
    // The common methods [Store] and [Deflate] are built in.
    func RegisterDecompressor(method uint16, dcomp Decompressor) {
    	if _, dup := decompressors.LoadOrStore(method, dcomp); dup {
    		panic("decompressor already registered")
    	}
    }
    
    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)
  2. 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)
  3. src/main/java/jcifs/smb/compression/CompressionService.java

         * @return the compressed data
         * @throws CIFSException if compression fails
         */
        byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException;
    
        /**
         * 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
    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)
  4. 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)
  5. src/archive/zip/writer.go

    // 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
    }
    
    // AddFS adds the files from fs.FS to the archive.
    // It walks the directory tree starting at the root of the filesystem
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  6. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/SymbolicLinkPreservingTarIT.java

    import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
    import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
    import org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream;
    import org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream;
    import org.elasticsearch.gradle.internal.test.GradleIntegrationTestCase;
    import org.gradle.api.GradleException;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

                deflater.end();
                return baos.toByteArray();
            } catch (Exception e) {
                throw new CIFSException("LZ77 compression failed", e);
            }
        }
    
        /**
         * Decompresses LZ77 data.
         */
        private byte[] decompressLZ77(byte[] compressedData, int offset, int length) throws CIFSException {
            try {
                Inflater inflater = new Inflater(false);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  8. 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)
  9. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionArchiveSetupPluginFuncTest.groovy

     */
    
    package org.elasticsearch.gradle.internal
    
    import org.apache.commons.compress.archivers.tar.TarArchiveEntry
    import org.apache.commons.compress.archivers.tar.TarArchiveInputStream
    import org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
    import org.apache.tools.zip.ZipEntry
    import org.apache.tools.zip.ZipFile
    import org.elasticsearch.gradle.fixtures.AbstractGradleFuncTest
    import org.gradle.testkit.runner.BuildResult
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.4K bytes
    - Click Count (0)
  10. cmd/warm-backend-gcs.go

    	return gcs.PutWithMeta(ctx, key, data, length, map[string]string{})
    }
    
    func (gcs *warmBackendGCS) Get(ctx context.Context, key string, rv remoteVersionID, opts WarmBackendGetOpts) (r io.ReadCloser, err error) {
    	// GCS storage decompresses a gzipped object by default and returns the data.
    	// Refer to https://cloud.google.com/storage/docs/transcoding#decompressive_transcoding
    	// Need to set `Accept-Encoding` header to `gzip` when issuing a GetObject call, to be able
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top