- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for Compressor (0.22 seconds)
-
src/archive/zip/register.go
} } // RegisterCompressor registers custom compressors for a specified method ID. // The common methods [Store] and [Deflate] are built in. 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 }
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/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 }
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) -
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) -
src/archive/zip/example_test.go
} func ExampleWriter_RegisterCompressor() { // Override the default Deflate compressor with a higher compression level. // Create a buffer to write our archive to. buf := new(bytes.Buffer) // Create a new zip archive. w := zip.NewWriter(buf) // Register a custom Deflate compressor. w.RegisterCompressor(zip.Deflate, func(out io.Writer) (io.WriteCloser, error) {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Jan 27 00:22:03 GMT 2016 - 2K 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) -
internal/s3select/select.go
s3Select.progressReader.Close() var stErr bzip2.StructuralError if errors.As(err, &stErr) { return errInvalidCompression(err, s3Select.Input.CompressionType) } // Test these compressor errors errs := []error{ gzip.ErrHeader, gzip.ErrChecksum, s2.ErrCorrupt, s2.ErrUnsupported, s2.ErrCRC,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 21.2K bytes - Click Count (0) -
cmd/object-api-utils.go
// client closed the stream prematurely. func newS2CompressReader(r io.Reader, on int64, encrypted bool) (rc io.ReadCloser, idx func() []byte) { pr, pw := io.Pipe() // Copy input to compressor opts := compressOpts if encrypted { // The values used for padding are not a security concern, // but we choose pseudo-random numbers instead of just zeros.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 37.3K bytes - Click Count (0) -
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) -
docs/fr/docs/advanced/middleware.md
Le middleware gérera les réponses standard et en streaming. {* ../../docs_src/advanced_middleware/tutorial003_py310.py hl[2,6] *} Les arguments suivants sont pris en charge : - `minimum_size` - Ne pas compresser en GZip les réponses dont la taille est inférieure à ce minimum en octets. Valeur par défaut : `500`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 4.7K bytes - Click Count (0) -
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)