- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for maxInt64 (0.12 sec)
-
src/archive/zip/reader.go
if err == nil && p >= 0 { directoryEndOffset = p err = readDirectory64End(r, p, d) } if err != nil { return nil, 0, err } } maxInt64 := uint64(1<<63 - 1) if d.directorySize > maxInt64 || d.directoryOffset > maxInt64 { return nil, 0, ErrFormat } baseOffset = directoryEndOffset - int64(d.directorySize) - int64(d.directoryOffset)
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/tar/reader_test.go
wantSize int64 wantName string wantErr error }{{ inputHdrs: nil, wantErr: nil, }, { inputHdrs: map[string]string{ paxGNUSparseNumBlocks: strconv.FormatInt(math.MaxInt64, 10), paxGNUSparseMap: "0,1,2,3", }, wantErr: ErrHeader, }, { inputHdrs: map[string]string{ paxGNUSparseNumBlocks: "4\x00", paxGNUSparseMap: "0,1,2,3", },
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
src/archive/tar/common.go
return false } var pre sparseEntry for _, cur := range sp { switch { case cur.Offset < 0 || cur.Length < 0: return false // Negative values are never okay case cur.Offset > math.MaxInt64-cur.Length: return false // Integer overflow with large length case cur.endOffset() > size: return false // Region extends beyond the actual size case pre.endOffset() > cur.Offset:
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
src/archive/zip/reader_test.go
} if _, err := io.Copy(io.Discard, r); err != nil { t.Fatalf("unexpected error: %v", err) } } } func TestBaseOffsetPlusOverflow(t *testing.T) { // directoryOffset > maxInt64 && size-directoryOffset < 0 data := []byte{ 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 55.6K bytes - Viewed (0) -
internal/pubsub/mask.go
package pubsub import ( "math" "math/bits" ) // Mask allows filtering by a bitset mask. type Mask uint64 const ( // MaskAll is the mask for all entries. MaskAll Mask = math.MaxUint64 ) // MaskFromMaskable extracts mask from an interface. func MaskFromMaskable(m Maskable) Mask { return Mask(m.Mask()) } // Contains returns whether *all* flags in other is present in t. func (t Mask) Contains(other Mask) bool {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 05 21:45:49 UTC 2022 - 1.3K bytes - Viewed (0) -
cni/pkg/repair/netns.go
if err != nil { return "", fmt.Errorf("read procfs: %v", err) } procs, err := fs.AllProcs() if err != nil { return "", fmt.Errorf("read procs: %v", err) } oldest := uint64(math.MaxUint64) best := "" // We will iterate over all processes. Our goal is to find a process whose namespace has a veth with an IP matching the pod.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 19:12:54 UTC 2024 - 4.3K bytes - Viewed (0) -
api/go1.txt
pkg math, const MaxFloat64 ideal-float pkg math, const MaxInt16 ideal-int pkg math, const MaxInt32 ideal-int pkg math, const MaxInt64 ideal-int pkg math, const MaxInt8 ideal-int pkg math, const MaxUint16 ideal-int pkg math, const MaxUint32 ideal-int pkg math, const MaxUint64 ideal-int pkg math, const MaxUint8 ideal-int pkg math, const MinInt16 ideal-int pkg math, const MinInt32 ideal-int
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
api/go1.1.txt
pkg math, const MaxInt16 = 32767 pkg math, const MaxInt32 = 2147483647 pkg math, const MaxInt64 = 9223372036854775807 pkg math, const MaxInt8 = 127 pkg math, const MaxUint16 = 65535 pkg math, const MaxUint32 = 4294967295 pkg math, const MaxUint64 = 18446744073709551615 pkg math, const MaxUint8 = 255 pkg math, const MinInt16 = -32768 pkg math, const MinInt32 = -2147483648
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)