- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 528 for overflows (0.3 sec)
-
pilot/pkg/xds/endpoints/endpoint_builder.go
locEps = b.EndpointsWithMTLSFilter(locEps) } return locEps } // addUint32AvoidOverflow returns sum of two uint32 and status. If sum overflows, // and returns MaxUint32 and status. func addUint32(left, right uint32) (uint32, bool) { if math.MaxUint32-right < left { return math.MaxUint32, true } return left + right, false }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 02:18:19 UTC 2024 - 26.1K bytes - Viewed (0) -
src/runtime/hash_test.go
// If the hash is bad, then all (8 choose 4) = 70 keys // have the same hash. If so, we allocate 70/8 = 8 // overflow buckets. If the hash is good we don't // normally allocate any overflow buckets, and the // probability of even one or two overflows goes down rapidly. // (There is always 1 allocation of the bucket array. The map // header is allocated on the stack.) f := func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 17:50:18 UTC 2024 - 18.4K bytes - Viewed (0) -
src/time/sleep_test.go
break } d *= 2 if d > maxDuration { t.Error(err) } t.Logf("%v; trying duration %v", err, d) } } // Test that sleeping (via Sleep or Timer) for an interval so large it // overflows does not result in a short sleep duration. Nor does it interfere // with execution of other timers. If it does, timers in this or subsequent // tests may not fire. func TestOverflowSleep(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:33:57 UTC 2024 - 22.5K bytes - Viewed (0) -
src/runtime/netpoll.go
return } rd0, wd0 := pd.rd, pd.wd combo0 := rd0 > 0 && rd0 == wd0 if d > 0 { d += nanotime() if d <= 0 { // If the user has a deadline in the future, but the delay calculation // overflows, then set the deadline to the maximum possible value. d = 1<<63 - 1 } } if mode == 'r' || mode == 'r'+'w' { pd.rd = d } if mode == 'w' || mode == 'r'+'w' { pd.wd = d }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 20.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/lstm_utils.cc
ArrayRef<int64_t> size_shape, ArrayRef<int64_t> size_values, mlir::Location location) { // If the size of the tensor to be sliced from the input overflows // the input tensor's dimensions, return 0-valued tensor of the requested // shape. ArrayRef<int64_t> input_shape = GetRankedTensorShape(input); for (int i = 0, end = input_shape.size(); i < end; i++) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 36.2K bytes - Viewed (0) -
src/runtime/crash_test.go
t.Error("child process did not fail") } else if want := "runtime.(*Func).Entry"; !bytes.Contains(out, []byte(want)) { t.Errorf("output did not contain expected string %q", want) } } // Test that g0 stack overflows are handled gracefully. func TestG0StackOverflow(t *testing.T) { testenv.MustHaveExec(t) if runtime.GOOS == "ios" { testenv.SkipFlaky(t, 62671) } if os.Getenv("TEST_G0_STACK_OVERFLOW") != "1" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 27K bytes - Viewed (0) -
src/time/time_test.go
sec := notMonoTime.Unix() notMonoTime = notMonoTime.Add(Duration(i * 1e9)) if newSec := notMonoTime.Unix(); newSec != sec+i && newSec+UnixToInternal != maxInt64 { t.Fatalf("time ext: %d overflows with positive delta, overflow threshold: %d", newSec, maxInt64) } } // Test it with negative delta. maxInt64 = -maxInt64 notMonoTime = NotMonoNegativeTime for i := int64(0); i > -100; i-- {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
src/strings/strings.go
// // It panics if count is negative or if the result of (len(s) * count) // overflows. func Repeat(s string, count int) string { switch count { case 0: return "" case 1: return s } // Since we cannot return an error on overflow, // we should panic if the repeat will generate an overflow. // See golang.org/issue/16237. if count < 0 { panic("strings: negative Repeat count")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:48:16 UTC 2024 - 31.2K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/index_test.go
pvc.Spec.StorageClassName = &classSilver }), }, "successful-match-very-large": { expectedMatch: "local-pd-very-large", // we keep the pvc size less than int64 so that in case the pv overflows // the pvc does not overflow equally and give us false matching signals. claim: makePVC("1E", func(pvc *v1.PersistentVolumeClaim) { pvc.Spec.AccessModes = []v1.PersistentVolumeAccessMode{v1.ReadWriteOnce}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 21 13:31:28 UTC 2023 - 44K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go
// TruncatedFloat occurs when a float constant is truncated to an integer // value. // // Example: // var _ int = 98.6 TruncatedFloat // NumericOverflow occurs when a numeric constant overflows its target type. // // Example: // var x int8 = 1000 NumericOverflow /* exprs > operation */ // UndefinedOp occurs when an operator is not defined for the type(s) used // in an operation.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 34K bytes - Viewed (0)