- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 639 for maxint (0.18 sec)
-
src/internal/fuzz/mutator.go
switch v := vals[i].(type) { case int: vals[i] = int(m.mutateInt(int64(v), maxInt)) case int8: vals[i] = int8(m.mutateInt(int64(v), math.MaxInt8)) case int16: vals[i] = int16(m.mutateInt(int64(v), math.MaxInt16)) case int64: vals[i] = m.mutateInt(v, maxInt) case uint: vals[i] = uint(m.mutateUInt(uint64(v), maxUint)) case uint16: vals[i] = uint16(m.mutateUInt(uint64(v), math.MaxUint16)) case uint32:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 20:01:34 UTC 2023 - 6.6K bytes - Viewed (0) -
src/encoding/base32/base32_test.go
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: tests = append(tests, test{rawStdEncoding, (math.MaxInt-4)/8 + 1, 1844674407370955162}) tests = append(tests, test{rawStdEncoding, math.MaxInt/8*5 + 4, math.MaxInt}) } for _, tt := range tests {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 16:25:54 UTC 2024 - 26K bytes - Viewed (0) -
src/go/constant/example_test.go
// -1 (1 + -1i) // -1 (-1 + 1i) // -1 (-1 + -1i) // 0 0 // 0 (0 + 0i) // 1 1 // 1 (0 + 1i) // 1 (1 + 1i) } func ExampleVal() { maxint := constant.MakeInt64(math.MaxInt64) fmt.Printf("%v\n", constant.Val(maxint)) e := constant.MakeFloat64(math.E) fmt.Printf("%v\n", constant.Val(e)) b := constant.MakeBool(true) fmt.Printf("%v\n", constant.Val(b))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/loopbce.go
v := limit.AuxInt if !inclusive { if v == maxSignedValue(limit.Type) { return false // > maxint is never satisfiable. } v++ } if init.isGenericIntConst() { // Use stride to compute a better lower limit. if init.AuxInt < v { return false } v = subU(init.AuxInt, diff(init.AuxInt, v)/uint64(-step)*uint64(-step)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 17:37:47 UTC 2023 - 11.8K bytes - Viewed (0) -
src/math/big/ratmarsh.go
} b := buf[0] if b>>1 != ratGobVersion { return fmt.Errorf("Rat.GobDecode: encoding version %d not supported", b>>1) } const j = 1 + 4 ln := byteorder.BeUint32(buf[j-4 : j]) if uint64(ln) > math.MaxInt-j { return errors.New("Rat.GobDecode: invalid length") } i := j + int(ln) if len(buf) < i { return errors.New("Rat.GobDecode: buffer too small") } z.a.neg = b&1 != 0 z.a.abs = z.a.abs.setBytes(buf[j:i])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 2.2K bytes - Viewed (0) -
src/net/http/routing_index.go
// position. // We could intersect all the possible matches at each position, but we // do something simpler: we find the position with the fewest patterns. var lmin, wmin []*pattern min := math.MaxInt hasLit := false for i, seg := range pat.segments { if seg.multi { break } if !seg.wild { hasLit = true lpats := idx.segments[routingIndexKey{s: seg.s, pos: i}]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 19 18:35:22 UTC 2023 - 4K bytes - Viewed (0) -
cmd/admin-server-info.go
props.PoolNumbers = append(props.PoolNumbers, poolNumber) } sort.Ints(props.PoolNumbers) props.PoolNumber = func() int { if len(props.PoolNumbers) == 1 { return props.PoolNumbers[0] } return math.MaxInt // this indicates that its unset. }() sensitive := map[string]struct{}{ config.EnvAccessKey: {}, config.EnvSecretKey: {}, config.EnvRootUser: {},
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.9K bytes - Viewed (0) -
src/encoding/gob/decgen.go
}, { "int", "Int", `x := state.decodeInt() // MinInt and MaxInt if x < ^int64(^uint(0)>>1) || int64(^uint(0)>>1) < x { error_(ovfl) } slice[i] = int(x)`, }, { "int16", "Int16", `x := state.decodeInt() if x < math.MinInt16 || math.MaxInt16 < x { error_(ovfl) } slice[i] = int16(x)`, }, { "int32", "Int32",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 14:15:38 UTC 2024 - 5.3K bytes - Viewed (0) -
pkg/apis/extensions/v1beta1/defaults.go
} } // Set extensionsv1beta1.DeploymentSpec.ProgressDeadlineSeconds to MaxInt, // which has the same meaning as unset. if obj.Spec.ProgressDeadlineSeconds == nil { obj.Spec.ProgressDeadlineSeconds = new(int32) *obj.Spec.ProgressDeadlineSeconds = math.MaxInt32 } // Set extensionsv1beta1.DeploymentSpec.RevisionHistoryLimit to MaxInt32, // which has the same meaning as unset. if obj.Spec.RevisionHistoryLimit == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 5.3K bytes - Viewed (0) -
pkg/webhooks/webhookpatch.go
controllers.WithRateLimiter(workqueue.NewItemFastSlowRateLimiter(100*time.Millisecond, 1*time.Minute, 5)), // Webhook patching has to be retried forever. But the retries would be rate limited. controllers.WithMaxAttempts(math.MaxInt)) } // Run runs the WebhookCertPatcher func (w *WebhookCertPatcher) Run(stopChan <-chan struct{}) { go w.startCaBundleWatcher(stopChan) w.webhooks.Start(stopChan)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 28 00:36:38 UTC 2023 - 6.1K bytes - Viewed (0)