- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for 000000001s (0.09 sec)
-
src/time/time_test.go
{"2.2ms", 2200 * Microsecond}, {"3.3s", 3300 * Millisecond}, {"4m5s", 4*Minute + 5*Second}, {"4m5.001s", 4*Minute + 5001*Millisecond}, {"5h6m7.001s", 5*Hour + 6*Minute + 7001*Millisecond}, {"8m0.000000001s", 8*Minute + 1*Nanosecond}, {"2562047h47m16.854775807s", 1<<63 - 1}, {"-2562047h47m16.854775808s", -1 << 63}, } func TestDurationString(t *testing.T) { for _, tt := range durationTests {
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/cmd/compile/internal/test/testdata/zero_test.go
a := Z8u1{false, [8]byte{255, 255, 255, 255, 255, 255, 255, 255}} zero8u1_ssa(&a) want := Z8u1{false, [8]byte{0, 0, 0, 0, 0, 0, 0, 0}} if a != want { t.Errorf("zero8u2 got=%v, want %v\n", a, want) } b := Z8u2{15, [8]byte{255, 255, 255, 255, 255, 255, 255, 255}} zero8u2_ssa(&b) wantb := Z8u2{15, [8]byte{0, 0, 0, 0, 0, 0, 0, 0}} if b != wantb { t.Errorf("zero8u2 got=%v, want %v\n", b, wantb) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 49.6K bytes - Viewed (0) -
src/math/big/float_test.go
{"0x0.0000011p-126", math.Float32frombits(0x00000001), Above}, // rounded up to smallest denormal {"0x0.0000018p-126", math.Float32frombits(0x00000001), Above}, // rounded up to smallest denormal {"0x1.0000000p-149", math.Float32frombits(0x00000001), Exact}, // smallest denormal {"0x0.0000020p-126", math.Float32frombits(0x00000001), Exact}, // smallest denormal
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 51.9K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier.go
// KUBE-POSTROUTING all -- 0.0.0.0/0 0.0.0.0/0 /* kubernetes postrouting rules * // Maintain by kubelet network sync loop // *nat // :KUBE-POSTROUTING - [0:0] // Chain KUBE-POSTROUTING (1 references) // target prot opt source destination
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 77.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
) assertInvalid( "http://[0:0:0:0:1:0.0.0.0:1]/", "Invalid URL host: \"[0:0:0:0:1:0.0.0.0:1]\"", ) assertInvalid( "http://[0:0.0.0.0:1:0:0:0:0:1]/", "Invalid URL host: \"[0:0.0.0.0:1:0:0:0:0:1]\"", ) assertInvalid( "http://[0.0.0.0:0:0:0:0:0:1]/", "Invalid URL host: \"[0.0.0.0:0:0:0:0:0:1]\"", ) } @Test
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 67.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go
expectCost: map[string]int64{ ValsEqualThemselvesAndDataLiteral("self.val1", "self.val2", "timestamp('2011-08-18T19:03:37.010+01:00')"): 11, "self.val1 == timestamp('2011-08-18T00:00:00.000+01:00') + duration('19h3m37s10ms')": 4, "self.val1.getDate('01:00') == 18": 4, "type(self.val1) == google.protobuf.Timestamp": 4, }, }, {name: "enums",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:20:16 UTC 2024 - 80.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go
expectedFair: []bool{true}, // "fair" is a bit odd-sounding here, but it "expectFair" here means expect `expectedAverages` expectedAverages: []float64{7.5}, expectedFairnessMargin: []float64{0.00000001}, expectAllRequests: true, evalInqueueMetrics: false, evalExecutingMetrics: true, clk: clk, counter: counter,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 26 12:55:23 UTC 2023 - 58.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
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 { t.Errorf("Couldn't parse %v", item.in) continue }
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/time/time.go
} // format formats the representation of d into the end of buf and // returns the offset of the first character. func (d Duration) format(buf *[32]byte) int { // Largest time is 2540400h10m10.000000000s w := len(buf) u := uint64(d) neg := d < 0 if neg { u = -u } if u < uint64(Second) { // Special case: if duration is smaller than a second, // use smaller units, like 1.2ms
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0)