- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for CompressedSize64 (0.11 sec)
-
src/archive/zip/writer_test.go
} if got.CRC32 != want.crc32 { t.Errorf("%s: got CRC32 %#x; want %#x", want.name, got.CRC32, want.crc32) } if got.CompressedSize64 != want.compressedSize { t.Errorf("%s: got CompressedSize64 %d; want %d", want.name, got.CompressedSize64, want.compressedSize) } if got.UncompressedSize64 != want.uncompressedSize {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 14.4K bytes - Viewed (0) -
src/archive/zip/writer.go
fh.CRC32 = w.crc32.Sum32() fh.CompressedSize64 = uint64(w.compCount.count) fh.UncompressedSize64 = uint64(w.rawCount.count) if fh.isZip64() { fh.CompressedSize = uint32max fh.UncompressedSize = uint32max fh.ReaderVersion = zipVersion45 // requires 4.5 - File uses ZIP64 format extensions } else { fh.CompressedSize = uint32(fh.CompressedSize64) fh.UncompressedSize = uint32(fh.UncompressedSize64)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 19.4K bytes - Viewed (0) -
src/archive/zip/reader.go
// The ZIP specification (APPNOTE.TXT) specifies that directories, which // are technically zero-byte files, must not have any associated file // data. We previously tried failing here if f.CompressedSize64 != 0, // but it turns out that a number of implementations (namely, the Java // jar tool) don't properly set the storage method on directories // resulting in a file with compressed size > 0 but uncompressed size ==
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 28.4K bytes - Viewed (0) -
cmd/s3-zip-handlers.go
if file.UncompressedSize64 > 0 { // There may be number of header bytes before the content. // Reading 64K extra. This should more than cover name and any "extra" details. end := min(file.Offset+int64(file.CompressedSize64)+64<<10, zipObjInfo.Size) rs := &HTTPRangeSpec{Start: file.Offset, End: end} gr, err := objectAPI.GetObjectNInfo(ctx, bucket, zipPath, rs, nil, opts) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.8K bytes - Viewed (0) -
src/archive/zip/reader_test.go
t.Fatal(err) } defer z.Close() for _, f := range z.File { // Make file a directory f.Name += "/" t.Run(f.Name, func(t *testing.T) { t.Logf("CompressedSize64: %d, Flags: %#x", f.CompressedSize64, f.Flags) rd, err := f.Open() if err != nil { t.Fatal(err) } defer rd.Close() n, got := io.Copy(io.Discard, rd)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 56.6K bytes - Viewed (0)