Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for decompressors (0.23 sec)

  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")
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (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
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  3. 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
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. 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
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 13 23:40:13 GMT 2016
    - 12.9K bytes
    - Viewed (0)
  5. cmd/warm-backend-gcs.go

    	}
    
    	return "", w.Close()
    }
    
    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
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. api/go1.2.txt

    pkg archive/zip, func RegisterCompressor(uint16, Compressor)
    pkg archive/zip, func RegisterDecompressor(uint16, Decompressor)
    pkg archive/zip, method (*File) DataOffset() (int64, error)
    pkg archive/zip, type Compressor func(io.Writer) (io.WriteCloser, error)
    pkg archive/zip, type Decompressor func(io.Reader) io.ReadCloser
    pkg bufio, method (*Reader) Reset(io.Reader)
    pkg bufio, method (*Writer) Reset(io.Writer)
    pkg compress/flate, method (*Writer) Reset(io.Writer)
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
Back to top