- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for Positive (0.12 sec)
-
src/cmd/compile/internal/ssa/prove.go
default: panic("unexpected integer size") } // Check if the recorded limits can prove that the value is positive if l, has := ft.limits[v.ID]; has && (l.min >= 0 || l.umax <= uint64(max)) { return true } // Check if v = x+delta, and we can use x's limits to prove that it's positive if x, delta := isConstDelta(v); x != nil { if l, has := ft.limits[x.ID]; has {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:30:21 UTC 2024 - 48.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
positive, _, num, denom, suffix, err := parseQuantityString(item.input) if err != nil { t.Errorf("%v: unexpected error: %v", item.input, err) continue } if got.Sign() >= 0 && !positive || got.Sign() < 0 && positive { t.Errorf("%v: positive was incorrect: %t", item.input, positive) continue } var value string if !positive {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0) -
pkg/apis/flowcontrol/validation/validation_test.go
concurrencyShares: 0, errExpected: errExpectedFn("assuredConcurrencyShares", 0, "must be positive"), }, { requestVersion: flowcontrolv1beta2.SchemeGroupVersion, concurrencyShares: 0, errExpected: errExpectedFn("assuredConcurrencyShares", 0, "must be positive"), }, { requestVersion: flowcontrolv1beta3.SchemeGroupVersion, concurrencyShares: 0,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 22:22:51 UTC 2023 - 54.7K bytes - Viewed (0) -
src/time/time.go
// // The presentation computations - year, month, minute, and so on - all // rely heavily on division and modulus by positive constants. For // calendrical calculations we want these divisions to round down, even // for negative values, so that the remainder is always positive, but // Go's division (like most hardware division instructions) rounds to // zero. We can still do those computations and then adjust the result
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
src/index/suffixarray/sais2.go
// That one arranges to clear all but the leftmost L-type indexes. // This scan leaves all the L-type indexes and the original S-type // indexes, but it negates the positive leftmost L-type indexes // (the ones that induceS_8_64 needs to process). // expand_8_64 left out the implicit entry sa[-1] == len(text), // corresponding to the identified type-L index len(text)-1.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 23:57:18 UTC 2024 - 52.3K bytes - Viewed (0) -
src/math/big/int_test.go
} func TestMul(t *testing.T) { if err := quick.Check(checkMul, nil); err != nil { t.Error(err) } } var mulRangesZ = []struct { a, b int64 prod string }{ // entirely positive ranges are covered by mulRangesN {-1, 1, "0"}, {-2, -1, "2"}, {-3, -2, "6"}, {-3, -1, "-6"}, {1, 3, "6"}, {-10, -10, "-10"}, {0, -1, "1"}, // empty range
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
pkg/apis/autoscaling/validation/validation_test.go
Name: "somemetric", }, Target: autoscaling.MetricTarget{ Type: autoscaling.ValueMetricType, }, }, }}, }, }, msg: "must specify a positive target averageValue", }, { horizontalPodAutoscaler: autoscaling.HorizontalPodAutoscaler{ ObjectMeta: metav1.ObjectMeta{Name: "myautoscaler", Namespace: metav1.NamespaceDefault},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 56.7K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers.go
}, }, nil } quantity, err := resource.ParseQuantity(val) if err != nil { return nil, err } if quantity.Sign() < 0 || quantity.IsZero() { return nil, fmt.Errorf("eviction threshold %v must be positive: %s", signal, &quantity) } return &evictionapi.Threshold{ Signal: signal, Operator: operator, Value: evictionapi.ThresholdValue{ Quantity: &quantity, }, }, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 53.6K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad.cc
Scope cpu_scope = scope.WithDevice("/cpu:0"); // [3] auto rank = Rank(cpu_scope, op.input(0)); // Normalize any negative indices in the reduction_axes to positive values. auto reduction_indices_pos = Mod(cpu_scope, Add(cpu_scope, reduction_indices, rank), rank); // [1] auto reduced = Cast(cpu_scope, reduction_indices_pos, DataType::DT_INT32);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 50.7K bytes - Viewed (0) -
src/time/time_test.go
loc, err := LoadLocation("Etc/GMT+1") if err != nil { t.Fatal(err) } // The tzdata name Etc/GMT+1 uses "east is negative", // but Go and most other systems use "east is positive". // So GMT+1 corresponds to -3600 in the Go zone, not +3600. name, offset := Now().In(loc).Zone() // The zone abbreviation is "-01" since tzdata-2016g, and "GMT+1"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0)