- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for uncompress (0.24 sec)
-
src/archive/zip/reader_test.go
// Second, if ContentErr==nil, the content should match Content. // If content is large, an alternative to setting Content is to set File, // which names a file in the testdata/ directory containing the // uncompressed expected content. // If content is very large, an alternative to setting Content or File // is to set Size, which will then be checked against the header-reported size // but will bypass the decompressing of the actual data.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
src/archive/zip/writer_test.go
t.Errorf("unexpected method and flags: %v", b[6:10]) } if !bytes.Equal(b[14:26], make([]byte, 12)) { // FileHeader.{CRC32,CompressSize,UncompressedSize} all zero. t.Errorf("unexpected crc, compress and uncompressed size to be 0 was: %v", b[14:26]) } binary.LittleEndian.PutUint32(sig[:], uint32(dataDescriptorSignature)) if bytes.Contains(b, sig[:]) { t.Error("there should be no data descriptor") } }
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) -
src/archive/zip/register.go
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package zip import ( "compress/flate" "errors" "io" "sync" ) // A Compressor returns a new compressing writer, writing to w. // The WriteCloser's Close method must be used to flush pending data to w. // The Compressor itself must be safe to invoke from multiple goroutines
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/struct.go
// CompressedSize is the compressed size of the file in bytes. // If either the uncompressed or compressed size of the file // does not fit in 32 bits, CompressedSize is set to ^uint32(0). // // Deprecated: Use CompressedSize64 instead. CompressedSize uint32 // UncompressedSize is the compressed size of the file in bytes. // If either the uncompressed or compressed size of the file
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/reader.go
// jar tool) don't properly set the storage method on directories // resulting in a file with compressed size > 0 but uncompressed size == // 0. We still want to fail when a directory has associated uncompressed // data, but we are tolerant of cases where the uncompressed size is // zero but compressed size is not. if f.UncompressedSize64 != 0 { return &dirReader{ErrFormat}, nil } else {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
src/archive/tar/reader_test.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package tar import ( "bytes" "compress/bzip2" "crypto/md5" "errors" "fmt" "io" "math" "os" "path" "reflect" "strconv" "strings" "testing" "time" ) func TestReader(t *testing.T) { vectors := []struct {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Nov 21 21:14:38 GMT 2022 - 47.1K bytes - Viewed (0) -
api/go1.16.txt
pkg archive/zip, type FileHeader struct, ModifiedTime //deprecated pkg archive/zip, type FileHeader struct, UncompressedSize //deprecated pkg compress/flate, type ReadError //deprecated pkg compress/flate, type WriteError //deprecated pkg crypto/rc4, method (*Cipher) Reset //deprecated pkg crypto/tls, const VersionSSL30 //deprecated
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Viewed (0) -
src/archive/zip/zip_test.go
testZip64DirectoryRecordLength(buf, t) } func TestZip64EdgeCase(t *testing.T) { if testing.Short() { t.Skip("slow test; skipping") } t.Parallel() // Test a zip file with uncompressed size 0xFFFFFFFF. // That's the magic marker for a 64-bit file, so even though // it fits in a 32-bit field we must use the 64-bit field. // Go 1.5 and earlier got this wrong, // writing an invalid zip file.
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) -
src/archive/zip/writer.go
// 32 bit size fields (and offset later) to signal that the // zip64 extra header should be used. b.uint32(uint32max) // compressed size b.uint32(uint32max) // uncompressed size // append a zip64 extra block to Extra var buf [28]byte // 2x uint16 + 3x uint64 eb := writeBuf(buf[:]) eb.uint16(zip64ExtraID) eb.uint16(24) // size = 3x uint64
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 04 14:28:57 GMT 2024 - 19.3K bytes - Viewed (0) -
api/go1.17.txt
pkg compress/lzw, method (*Reader) Close() error pkg compress/lzw, method (*Reader) Read([]uint8) (int, error) pkg compress/lzw, method (*Reader) Reset(io.Reader, Order, int) pkg compress/lzw, method (*Writer) Close() error pkg compress/lzw, method (*Writer) Reset(io.Writer, Order, int) pkg compress/lzw, method (*Writer) Write([]uint8) (int, error) pkg compress/lzw, type Reader struct
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 18K bytes - Viewed (0)