- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for zip64ExtraID (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/archive/zip/zip_test.go
} if err := w.Close(); err != nil { t.Fatal(err) } } func TestHeaderIgnoredSize(t *testing.T) { h := FileHeader{ Name: "foo.txt", Method: Deflate, Extra: []byte{zip64ExtraID & 0xFF, zip64ExtraID >> 8, 24, 0, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8}, // bad size but shouldn't be consulted } testValidHeader(&h, t) }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu May 23 01:00:11 GMT 2024 - 19.6K bytes - Click Count (0) -
src/archive/zip/writer.go
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 eb.uint64(h.UncompressedSize64) eb.uint64(h.CompressedSize64) eb.uint64(h.offset) h.Extra = append(h.Extra, buf[:]...) } else {
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)