- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for isZip64 (0.19 sec)
-
src/archive/zip/writer.go
// adding a zip64 extra in the local header (too late anyway). var buf []byte if w.isZip64() { buf = make([]byte, dataDescriptor64Len) } else { buf = make([]byte, dataDescriptorLen) } b := writeBuf(buf) b.uint32(dataDescriptorSignature) // de-facto standard, required by OS X b.uint32(w.CRC32) if w.isZip64() { b.uint64(w.CompressedSize64) b.uint64(w.UncompressedSize64) } else {
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) -
src/archive/zip/struct.go
if mode&fs.ModeDir != 0 { h.ExternalAttrs |= msdosDir } if mode&0200 == 0 { h.ExternalAttrs |= msdosReadOnly } } // isZip64 reports whether the file size exceeds the 32 bit limit func (h *FileHeader) isZip64() bool { return h.CompressedSize64 >= uint32max || h.UncompressedSize64 >= uint32max } func (h *FileHeader) hasDataDescriptor() bool { return h.Flags&0x8 != 0 }
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_test.go
// The big.zip file is interesting because it has no zip64 header, // much like the innermost zip files in the well-known 42.zip. // // biggest.zip was generated by changing isZip64 to use > uint32max // instead of >= uint32max and then running this program: // // package main // // import ( // "archive/zip" // "bytes" // "io" // "log" // "os" // ) //
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) -
cni/pkg/iptables/iptables.go
return errors.Join(iptErrs...) } func (cfg *IptablesConfigurator) executeIptablesRestoreCommand(iptablesBuilder *builder.IptablesRuleBuilder, iptVer *dep.IptablesVersion, isIpv4 bool) error { cmd := iptablesconstants.IPTablesRestore var data string if isIpv4 { data = iptablesBuilder.BuildV4Restore() } else { data = iptablesBuilder.BuildV6Restore() }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 19.6K bytes - Viewed (0)