- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for scaledValue (0.21 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
t.Errorf("Expected %v, got %v; %#v", e, a, q) } q2, err := ParseQuantity(q.String()) if err != nil { t.Errorf("Round trip failed on %v", q) } if e, a := item.value, q2.ScaledValue(item.scale); e != a { t.Errorf("Expected %v, got %v", e, a) } q3 := NewQuantity(0, DecimalSI) q3.SetScaled(item.value, item.scale) if q.Cmp(*q3) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0)