- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for inflate (0.22 sec)
-
src/archive/zip/zip_test.go
h := FileHeader{ Name: filename, Method: Deflate, Extra: []byte(ts.Format(time.RFC3339Nano)), // missing tag and len, but Extra is best-effort parsing } h.SetModTime(ts) testValidHeader(&h, t) } func TestHeaderTooShort(t *testing.T) { h := FileHeader{ Name: "foo.txt", Method: Deflate,
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 19.5K bytes - Viewed (0) -
api/go1.1.txt
pkg bytes, method (*Buffer) Grow(int) pkg bytes, method (*Reader) WriteTo(io.Writer) (int64, error) pkg compress/flate, const BestCompression = 9 pkg compress/flate, const BestSpeed = 1 pkg compress/flate, const DefaultCompression = -1 pkg compress/flate, const NoCompression = 0 pkg compress/gzip, const BestCompression = 9 pkg compress/gzip, const BestSpeed = 1 pkg compress/gzip, const DefaultCompression = -1
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (0) -
src/archive/zip/example_test.go
// 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) { return flate.NewWriter(out, flate.BestCompression) })
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 27 00:22:03 GMT 2016 - 2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue27340/a.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Failed to resolve typedefs consistently. // No runtime test; just make sure it compiles. // In separate directory to isolate #pragma GCC diagnostic. package issue27340 // We use the #pragma to avoid a compiler warning about incompatible // pointer types, because we generate code passing a struct ptr rather
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 1.2K bytes - Viewed (0) -
api/go1.7.txt
pkg bytes, func ContainsAny([]uint8, string) bool pkg bytes, func ContainsRune([]uint8, int32) bool pkg bytes, method (*Reader) Reset([]uint8) pkg compress/flate, const HuffmanOnly = -2 pkg compress/flate, const HuffmanOnly ideal-int pkg context, func Background() Context pkg context, func TODO() Context pkg context, func WithCancel(Context) (Context, CancelFunc) pkg context, func WithDeadline(Context, time.Time) (Context, CancelFunc)
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Jun 28 15:08:11 GMT 2016 - 13.6K bytes - Viewed (0) -
api/go1.2.txt
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) pkg compress/gzip, method (*Writer) Reset(io.Writer) pkg compress/zlib, method (*Writer) Reset(io.Writer) pkg container/heap, func Fix(Interface, int)
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Viewed (2) -
src/archive/zip/struct.go
[ZIP specification]: https://support.pkware.com/pkzip/appnote */ package zip import ( "io/fs" "path" "time" ) // Compression methods. const ( Store uint16 = 0 // no compression Deflate uint16 = 8 // DEFLATE compressed ) const ( fileHeaderSignature = 0x04034b50 directoryHeaderSignature = 0x02014b50 directoryEndSignature = 0x06054b50 directory64LocSignature = 0x07064b50
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 12.1K bytes - Viewed (0) -
src/archive/zip/register.go
compressors.Store(Deflate, Compressor(func(w io.Writer) (io.WriteCloser, error) { return newFlateWriter(w), nil })) decompressors.Store(Store, Decompressor(io.NopCloser)) decompressors.Store(Deflate, Decompressor(newFlateReader)) } // RegisterDecompressor allows custom decompressors for a specified method ID. // The common methods [Store] and [Deflate] are built in.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 3.7K bytes - Viewed (0) -
src/archive/zip/writer_test.go
var compressedContent []byte if f.method == Deflate { var buf bytes.Buffer w, err := flate.NewWriter(&buf, flate.BestSpeed) if err != nil { t.Fatalf("flate.NewWriter err = %v", err) } _, err = w.Write(f.content) if err != nil { t.Fatalf("flate Write err = %v", err) } err = w.Close() if err != nil { t.Fatalf("flate Writer.Close err = %v", err) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Sep 15 19:04:06 GMT 2023 - 14.1K bytes - Viewed (0) -
api/go1.txt
pkg compress/flate, method (*ReadError) Error() string pkg compress/flate, method (*WriteError) Error() string pkg compress/flate, method (*Writer) Close() error pkg compress/flate, method (*Writer) Flush() error pkg compress/flate, method (*Writer) Write([]uint8) (int, error) pkg compress/flate, method (CorruptInputError) Error() string
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1)