- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for 999999999Z (0.07 sec)
-
staging/src/k8s.io/apiserver/pkg/cel/limits.go
MaxDurationSizeJSON = 32 // MaxDatetimeSizeJSON // OpenAPI datetime strings follow RFC 3339, section 5.6, and the longest possible // such string is 9999-12-31T23:59:59.999999999Z, which has length 30 - we add 2 // to allow for quotation marks MaxDatetimeSizeJSON = 32 // MinDurationSizeJSON // Golang allows a string of 0 to be parsed as a duration, so that plus 2 to account for
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 2K bytes - Viewed (0) -
src/time/format_test.go
{"2021-09-29T16:04:33.999999999Z", 999_999_999}, {"2021-09-29T16:04:33.012345678Z", 12_345_678}, // 10 digits, truncates {"2021-09-29T16:04:33.0000000000Z", 0}, {"2021-09-29T16:04:33.0000000001Z", 0}, {"2021-09-29T16:04:33.1000000000Z", 100_000_000}, {"2021-09-29T16:04:33.1000000009Z", 100_000_000}, {"2021-09-29T16:04:33.9999999999Z", 999_999_999}, {"2021-09-29T16:04:33.0123456789Z", 12_345_678},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:58:29 UTC 2024 - 36.4K bytes - Viewed (0) -
pkg/log/config_test.go
{"999", time.Date(2017, time.January, 1, 1, 1, 1, 999000, time.UTC), "999"}, {"9999", time.Date(2083, time.March, 1, 1, 1, 1, 9999000, time.UTC), "9999"}, {"99999", time.Date(2083, time.March, 1, 1, 1, 1, 99999000, time.UTC), "99999"}, {"999999", time.Date(2083, time.March, 1, 1, 1, 1, 999999000, time.UTC), "999999"}, } for _, v := range cases { t.Run(v.name, func(t *testing.T) { formatDate(v.input, testEnc)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 10.9K bytes - Viewed (0) -
maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java
void testMinimumSegment() { assertOrder(X_LT_Y, "1.min", "1.0-alpha-1"); assertOrder(X_LT_Y, "1.min", "1.0-SNAPSHOT"); assertOrder(X_LT_Y, "1.min", "1.0"); assertOrder(X_LT_Y, "1.min", "1.9999999999"); assertOrder(X_EQ_Y, "1.min", "1.MIN"); assertOrder(X_GT_Y, "1.min", "0.99999"); assertOrder(X_GT_Y, "1.min", "0.max"); } @Test void testMaximumSegment() {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue May 21 09:54:32 UTC 2024 - 17.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java
} else if (token.isEmpty()) { ranges.add(new RangeValue("", false)); } } if (ranges.size() < 2) { ranges.add(new RangeValue("99999999", false)); } return ranges; } private static class RangeValue { private String value; private boolean closed;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 06 16:51:39 UTC 2024 - 6.6K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
} else if (token.isEmpty()) { ranges.add(new RangeValue("", false)); } } if (ranges.size() < 2) { ranges.add(new RangeValue("99999999", false)); } return ranges; } private static class RangeValue { private String value; private boolean closed;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 06 16:51:39 UTC 2024 - 6.6K bytes - Viewed (0) -
src/time/time.go
// // From high to low bit position, wall encodes a 1-bit flag (hasMonotonic), // a 33-bit seconds field, and a 30-bit wall time nanoseconds field. // The nanoseconds field is in the range [0, 999999999]. // If the hasMonotonic bit is 0, then the 33-bit field must be zero // and the full signed 64-bit wall seconds since Jan 1 year 1 is stored in ext. // If the hasMonotonic bit is 1, then the 33-bit field holds a 33-bit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
pkg/config/validation/agent/validation_test.go
{ duration: &durationpb.Duration{Seconds: 1}, isValid: true, }, { duration: &durationpb.Duration{Seconds: 31}, isValid: true, }, { duration: &durationpb.Duration{Seconds: 999999999}, isValid: false, }, } for _, check := range checks { if got := ValidateConnectTimeout(check.duration); (got == nil) != check.isValid {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 39.1K bytes - Viewed (0) -
src/time/format.go
if (std >> stdSeparatorShift) == 0 { return '.' } return ',' } // appendNano appends a fractional second, as nanoseconds, to b // and returns the result. The nanosec must be within [0, 999999999]. func appendNano(b []byte, nanosec int, std int) []byte { trim := std&stdMask == stdFracSecond9 n := digitsLen(std) if trim && (n == 0 || nanosec == 0) { return b } dot := separator(std)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0) -
src/time/time_test.go
} } } func TestAddToExactSecond(t *testing.T) { // Add an amount to the current time to round it up to the next exact second. // This test checks that the nsec field still lies within the range [0, 999999999]. t1 := Now() t2 := t1.Add(Second - Duration(t1.Nanosecond())) sec := (t1.Second() + 1) % 60 if t2.Second() != sec || t2.Nanosecond() != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0)