- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,539 for Hour (0.1 sec)
-
src/cmd/go/internal/cache/cache.go
// Go developers found that essentially all reuse of cached entries happened // within 5 days of the previous reuse. See golang.org/issue/22990. const ( mtimeInterval = 1 * time.Hour trimInterval = 24 * time.Hour trimLimit = 5 * 24 * time.Hour ) // used makes a best-effort attempt to update mtime on file, // so that mtime reflects cache access time. // // Because the reflection only needs to be approximate,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 14:19:39 UTC 2024 - 20.3K bytes - Viewed (0) -
internal/s3select/unused-errors.go
return &s3Error{ code: "EvaluatorTimestampFormatPatternHourClockAmPmMismatch", message: "Time stamp format pattern contains a 12-hour hour of day format symbol but doesn't also contain an AM/PM field, or it contains a 24-hour hour of day format specifier and contains an AM/PM field in the SQL expression.", statusCode: 400, cause: err, } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Feb 20 08:16:35 UTC 2024 - 17.5K bytes - Viewed (0) -
security/pkg/pki/ca/selfsignedcarootcertrotator_test.go
func getDefaultSelfSignedIstioCAOptions(fclient *fake.Clientset) *IstioCAOptions { caCertTTL := time.Hour defaultCertTTL := 30 * time.Minute maxCertTTL := time.Hour org := "test.ca.Org" client := fake.NewSimpleClientset().CoreV1() if fclient != nil { client = fclient.CoreV1() } rootCertFile := "" rootCertCheckInverval := time.Hour rsaKeySize := 2048 caopts, _ := NewSelfSignedIstioCAOptions(context.Background(),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Oct 11 23:33:41 UTC 2023 - 14.1K bytes - Viewed (0) -
pkg/log/config.go
buf[4] = '-' buf[5] = byte((month)/10) + '0' buf[6] = byte((month)%10) + '0' buf[7] = '-' buf[8] = byte((day)/10) + '0' buf[9] = byte((day)%10) + '0' buf[10] = 'T' buf[11] = byte((hour)/10) + '0' buf[12] = byte((hour)%10) + '0' buf[13] = ':' buf[14] = byte((minute)/10) + '0' buf[15] = byte((minute)%10) + '0' buf[16] = ':' buf[17] = byte((second)/10) + '0' buf[18] = byte((second)%10) + '0'
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 12.1K bytes - Viewed (0) -
src/net/tcpsock_test.go
if err != nil { b.Fatal(err) } defer c.Close() if err := <-done; err != nil { b.Fatal(err) } defer serv.Close() c.SetWriteDeadline(time.Now().Add(2 * time.Hour)) deadline := time.Now().Add(time.Hour) b.ResetTimer() for i := 0; i < b.N; i++ { c.SetReadDeadline(deadline) deadline = deadline.Add(1) } } func TestDialTCPDefaultKeepAlive(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 17.7K bytes - Viewed (0) -
pkg/controlplane/apiserver/options/options.go
lowBound := time.Hour upBound := time.Duration(1<<32) * time.Second if completed.Authentication.ServiceAccounts.MaxExpiration < lowBound || completed.Authentication.ServiceAccounts.MaxExpiration > upBound { return CompletedOptions{}, fmt.Errorf("the service-account-max-token-expiration must be between 1 hour and 2^32 seconds") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 12:19:56 UTC 2024 - 15.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
var hour = -1 var minute = -1 var second = -1 var dayOfMonth = -1 var month = -1 var year = -1 val matcher = TIME_PATTERN.matcher(s) while (pos < limit) { val end = dateCharacterOffset(s, pos + 1, limit, true) matcher.region(pos, end) when { hour == -1 && matcher.usePattern(TIME_PATTERN).matches() -> {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 06 04:12:05 UTC 2024 - 23.1K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy
days << [-1, 0] } def "cleanup is triggered after max number of hours expires"() { def originalCheckTime = initializeHome() // One hour isn't enough to trigger when: // Set the time back 1 hour def lastCleanupCheck = markCacheLastCleaned(originalCheckTime - TimeUnit.HOURS.toMillis(1)) run() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 16:53:17 UTC 2024 - 12.4K bytes - Viewed (0) -
pkg/registry/core/persistentvolume/strategy_test.go
map[string]string{"name": "metadata.name"}, ) } func TestStatusUpdate(t *testing.T) { now := metav1.Now() origin := metav1.NewTime(now.Add(time.Hour)) later := metav1.NewTime(now.Add(time.Hour * 2)) NowFunc = func() metav1.Time { return now } defer func() { NowFunc = metav1.Now }() tests := []struct { name string fg bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 11K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/tableconvertor/tableconvertor_test.go
{"string", true, nil}, {"string", "foo", "foo"}, {"date", int64(42), nil}, {"date", float64(3.14), nil}, {"date", true, nil}, {"date", time.Now().Add(-time.Hour*12 - 30*time.Minute).UTC().Format(time.RFC3339), "12h"}, {"date", time.Now().Add(+time.Hour*12 + 30*time.Minute).UTC().Format(time.RFC3339), "<invalid>"}, {"date", "", "<unknown>"}, {"unknown", "foo", nil}, } for _, tt := range tests {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 12.9K bytes - Viewed (0)