archive/zip.FileHeader.UncompressedSize64 (field)
24 uses
archive/zip (current package)
reader.go#L220: if r.nread != r.f.UncompressedSize64 {
reader.go#L287: f.UncompressedSize64 = uint64(f.UncompressedSize)
reader.go#L348: f.UncompressedSize64 = fieldBuf.uint64()
struct.go#L135: UncompressedSize64 uint64
struct.go#L152: if fi.fh.UncompressedSize64 > 0 {
struct.go#L153: return int64(fi.fh.UncompressedSize64)
struct.go#L181: UncompressedSize64: uint64(size),
struct.go#L185: if fh.UncompressedSize64 > uint32max {
struct.go#L188: fh.UncompressedSize = uint32(fh.UncompressedSize64)
struct.go#L315: return h.CompressedSize64 >= uint32max || h.UncompressedSize64 >= uint32max
writer.go#L113: eb.uint64(h.UncompressedSize64)
writer.go#L343: fh.UncompressedSize64 = 0
writer.go#L466: fh.UncompressedSize64 = uint64(w.rawCount.count)
writer.go#L474: fh.UncompressedSize = uint32(fh.UncompressedSize64)
writer.go#L493: b.uint64(fh.UncompressedSize64)
golang.org/x/mod/zip
zip.go#L451: sz := int64(zf.UncompressedSize64)
zip.go#L658: lr := &io.LimitedReader{R: r, N: int64(zf.UncompressedSize64) + 1}
zip.go#L669: return fmt.Errorf("uncompressed size of file %s is larger than declared size (%d bytes)", zf.Name, zf.UncompressedSize64)
golang.org/x/pkgsite/internal/fetch
package.go#L150: if f.UncompressedSize64 > MaxFileSize {
package.go#L154: f.Name, f.UncompressedSize64, MaxFileSize)
readme.go#L28: if zipFile.UncompressedSize64 > MaxFileSize {
readme.go#L29: return nil, fmt.Errorf("file size %d exceeds max limit %d", zipFile.UncompressedSize64, MaxFileSize)
golang.org/x/pkgsite/internal/licenses
licenses.go#L562: if f.UncompressedSize64 > maxLicenseSize {
licenses.go#L563: return nil, fmt.Errorf("file size %d exceeds max license size %d", f.UncompressedSize64, maxLicenseSize)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |