- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for zip64 (0.02 sec)
-
src/archive/zip/testdata/zip64.zip
README This small file is in ZIP64 format....
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 242 bytes - Viewed (0) -
src/archive/zip/testdata/zip64-2.zip
README This small file is in ZIP64 format....
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 266 bytes - Viewed (0) -
src/archive/zip/zip_test.go
} } } // 16k-1 records shouldn't make a zip64: t.Run("uint16max-1_NoZip64", func(t *testing.T) { t.Parallel() if generatesZip64(t, gen(0xfffe)) { t.Error("unexpected zip64") } }) // 16k records should make a zip64: t.Run("uint16max_Zip64", func(t *testing.T) { t.Parallel() if !generatesZip64(t, gen(0xffff)) { t.Error("expected zip64") } }) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
src/archive/zip/writer.go
b.uint32(h.CRC32) if h.isZip64() || h.offset >= uint32max { // the file needs a zip64 header. store maxint in both // 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[:])
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 19.4K bytes - Viewed (0) -
src/archive/zip/reader.go
return -1, nil // the file is not a valid zip64-file } p := b.uint64() // relative offset of the zip64 end of central directory record if b.uint32() != 1 { // total number of disks return -1, nil // the file is not a valid zip64-file } return int64(p), nil } // readDirectory64End reads the zip64 directory end and updates the
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sat Aug 03 01:05:29 UTC 2024 - 28.1K bytes - Viewed (0) -
src/archive/zip/struct.go
See the [ZIP specification] for details. This package does not support disk spanning. A note about ZIP64: To be backwards compatible the FileHeader has both 32 and 64 bit Size fields. The 64 bit fields will always contain the correct value and for normal archives both fields will be the same. For files requiring the ZIP64 format the 32 bit fields will be 0xffffffff and the 64 bit fields must be used instead.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue May 28 21:41:09 UTC 2024 - 12.1K bytes - Viewed (0) -
src/archive/zip/reader_test.go
}, }, }, { Name: "zip64.zip", File: []ZipTestFile{ { Name: "README", Content: []byte("This small file is in ZIP64 format.\n"), Modified: time.Date(2012, 8, 10, 14, 33, 32, 0, time.UTC), Mode: 0644, }, }, }, // Another zip64 file with different Extras fields. (golang.org/issue/7069) { Name: "zip64-2.zip", File: []ZipTestFile{ {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 55.6K bytes - Viewed (0)