- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for 001Ki (0.12 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
func TestQuantityParseEmit(t *testing.T) { table := []struct { in string expect string }{ {"1Ki", "1Ki"}, {"1Mi", "1Mi"}, {"1Gi", "1Gi"}, {"1024Mi", "1Gi"}, {"1000M", "1G"}, {".001Ki", "1024m"}, {".000001Ki", "1024u"}, {".000000001Ki", "1024n"}, {".000000000001Ki", "2n"}, } for _, item := range table { q, err := ParseQuantity(item.in) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0) -
src/runtime/panic_test.go
tests := []struct { name string wantPanicPrefix string }{ {"panicCustomBool", `panic: main.MyBool(true)`}, {"panicCustomComplex128", `panic: main.MyComplex128(+3.210000e+001+1.000000e+001i)`}, {"panicCustomComplex64", `panic: main.MyComplex64(+1.100000e-001+3.000000e+000i)`}, {"panicCustomFloat32", `panic: main.MyFloat32(-9.370000e+001)`}, {"panicCustomFloat64", `panic: main.MyFloat64(-9.370000e+001)`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 1.7K bytes - Viewed (0)