- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 35 for intSize (1.1 sec)
-
cmd/background-newdisks-heal-ops_gen.go
} // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z *healingTracker) Msgsize() (s int) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Feb 28 17:05:40 UTC 2024 - 21.5K bytes - Viewed (0) -
src/encoding/base64/base64_test.go
{StdEncoding, 0, 0}, {StdEncoding, 1, 4}, {StdEncoding, 2, 4}, {StdEncoding, 3, 4}, {StdEncoding, 4, 8}, {StdEncoding, 7, 12}, } // check overflow switch strconv.IntSize { case 32: tests = append(tests, test{RawStdEncoding, (math.MaxInt-5)/8 + 1, 357913942}) tests = append(tests, test{RawStdEncoding, math.MaxInt/4*3 + 2, math.MaxInt}) case 64:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Sep 03 18:57:29 UTC 2023 - 15.9K bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
im := r.mpfloat(b) val = constant.BinaryOp(re, token.ADD, constant.MakeImag(im)) default: errorf("unexpected type %v", typ) // panics panic("unreachable") } return } func intSize(b *types.Basic) (signed bool, maxBytes uint) { if (b.Info() & types.IsUntyped) != 0 { return true, 64 } switch b.Kind() { case types.Float32, types.Complex64: return true, 3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0) -
cmd/batch-expire_gen.go
for za0002 := range z.Metadata { s += z.Metadata[za0002].Msgsize() } s += 5 + z.Size.Msgsize() + 5 + msgp.StringPrefixSize + len(z.Type) + 5 + msgp.StringPrefixSize + len(z.Name) + 6 + 1 + 15 + msgp.IntSize return } // DecodeMsg implements msgp.Decodable func (z *BatchJobExpirePurge) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 19.8K bytes - Viewed (0) -
cmd/batch-job-common-types_gen.go
} } } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z BatchJobRetry) Msgsize() (s int) { s = 1 + 9 + msgp.IntSize + 6 + msgp.DurationSize return } // DecodeMsg implements msgp.Decodable func (z *BatchJobSize) DecodeMsg(dc *msgp.Reader) (err error) { { var zb0001 int64 zb0001, err = dc.ReadInt64()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 21.9K bytes - Viewed (0) -
src/encoding/base32/base32_test.go
{rawStdEncoding, 4, 7}, {rawStdEncoding, 5, 8}, {rawStdEncoding, 6, 10}, {rawStdEncoding, 7, 12}, {rawStdEncoding, 10, 16}, {rawStdEncoding, 11, 18}, } // check overflow switch strconv.IntSize { case 32: tests = append(tests, test{rawStdEncoding, (math.MaxInt-4)/8 + 1, 429496730}) tests = append(tests, test{rawStdEncoding, math.MaxInt/8*5 + 4, math.MaxInt}) case 64:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 16:25:54 UTC 2024 - 26K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_gen.go
} } } o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z *PoolStatus) Msgsize() (s int) { s = 1 + 3 + msgp.IntSize + 3 + msgp.StringPrefixSize + len(z.CmdLine) + 3 + msgp.TimeSize + 4 if z.Decommission == nil { s += msgp.NilSize } else { s += z.Decommission.Msgsize() } return }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jul 04 21:02:54 UTC 2022 - 26.7K bytes - Viewed (0) -
cmd/bucket-replication-metrics_gen.go
} o = bts return } // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z ActiveWorkerStat) Msgsize() (s int) { s = 1 + 5 + msgp.IntSize + 4 + msgp.Float32Size + 4 + msgp.IntSize return } // DecodeMsg implements msgp.Decodable func (z *InQueueMetric) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 33.3K bytes - Viewed (0) -
src/flag/flag_test.go
if got != defaultOutput { t.Errorf("got:\n%q\nwant:\n%q", got, defaultOutput) } } // Issue 19230: validate range of Int and Uint flag values. func TestIntFlagOverflow(t *testing.T) { if strconv.IntSize != 32 { return } ResetForTesting(nil) Int("i", 0, "") Uint("u", 0, "") if err := Set("i", "2147483648"); err == nil { t.Error("unexpected success setting Int") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 22K bytes - Viewed (0) -
src/encoding/base64/base64.go
// Lift the nil check outside of the loop. enc.decodeMap is directly // used later in this function, to let the compiler know that the // receiver can't be nil. _ = enc.decodeMap si := 0 for strconv.IntSize >= 64 && len(src)-si >= 8 && len(dst)-n >= 8 { src2 := src[si : si+8] if dn, ok := assemble64( enc.decodeMap[src2[0]], enc.decodeMap[src2[1]], enc.decodeMap[src2[2]], enc.decodeMap[src2[3]],
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 17.6K bytes - Viewed (0)