- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 4,994 for Hour (0.16 sec)
-
pkg/controller/certificates/cleaner/cleaner_test.go
LastUpdateTime: metav1.NewTime(time.Now().Add(-2 * time.Hour)), }, { Type: capi.CertificateFailed, LastUpdateTime: metav1.NewTime(time.Now().Add(-2 * time.Hour)), }, }, []string{"delete"}, }, { "no delete pending not passed deadline", metav1.NewTime(time.Now().Add(-5 * time.Hour)), nil, []capi.CertificateSigningRequestCondition{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 07 15:19:45 UTC 2022 - 7.4K bytes - Viewed (0) -
cmd/tier-last-day-stats.go
now := time.Now() l.forwardTo(now) nowIdx := now.Hour() l.Bins[nowIdx] = l.Bins[nowIdx].add(ts) } // forwardTo moves time to t, clearing entries between last update and t. func (l *lastDayTierStats) forwardTo(t time.Time) { if t.IsZero() { t = time.Now() } since := t.Sub(l.UpdatedAt).Hours() // within the hour since l.UpdatedAt if since < 1 { return }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 2.8K bytes - Viewed (0) -
src/time/format_rfc3339.go
b = appendInt(b, year, 4) b = append(b, '-') b = appendInt(b, int(month), 2) b = append(b, '-') b = appendInt(b, day, 2) b = append(b, 'T') // Format time. hour, min, sec := absClock(abs) b = appendInt(b, hour, 2) b = append(b, ':') b = appendInt(b, min, 2) b = append(b, ':') b = appendInt(b, sec, 2) if nanos { std := stdFracSecond(stdFracSecond9, 9, '.')
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 18 19:59:26 UTC 2023 - 5.7K bytes - Viewed (0) -
pkg/controller/certificates/signer/signer_test.go
certTTL: time.Hour, expirationSeconds: csr.DurationToExpirationSeconds(30 * time.Minute), want: 30 * time.Minute, }, { name: "cannot request longer duration than TTL", certTTL: time.Hour, expirationSeconds: csr.DurationToExpirationSeconds(3 * time.Hour), want: time.Hour, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 02 21:12:04 UTC 2022 - 15K bytes - Viewed (0) -
cmd/bucket-lifecycle_test.go
ondisk: false, }, { // restore completed but expired restoreStatus: completedRestoreObj(time.Now().Add(-time.Hour)), ondisk: false, }, { // restore completed restoreStatus: completedRestoreObj(time.Now().Add(time.Hour)), ondisk: true, }, } for i, tc := range testCases { if actual := tc.restoreStatus.OnDisk(); actual != tc.ondisk {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 31 09:57:57 UTC 2022 - 7K bytes - Viewed (0) -
src/time/format.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0) -
pkg/queue/delay_test.go
"time" ) func TestPriorityQueue(t *testing.T) { pq := &pq{} t0 := time.Now() t1 := &delayTask{runAt: t0.Add(0)} t2 := &delayTask{runAt: t0.Add(1 * time.Hour)} t3 := &delayTask{runAt: t0.Add(2 * time.Hour)} t4 := &delayTask{runAt: t0.Add(3 * time.Hour)} sorted := []*delayTask{t1, t2, t3, t4} // fill in an unsorted order unsorted := []*delayTask{t4, t2, t3, t1} for _, task := range unsorted { heap.Push(pq, task)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 06:27:31 UTC 2023 - 4.3K bytes - Viewed (0) -
src/time/time_test.go
a2, b2, c2 := t2.Clock() return a1 == a2 && b1 == b2 && c1 == c2 }}, {"Hour", func(t1, t2 Time) bool { return t1.Hour() == t2.Hour() }}, {"Minute", func(t1, t2 Time) bool { return t1.Minute() == t2.Minute() }}, {"Second", func(t1, t2 Time) bool { return t1.Second() == t2.Second() }}, {"Nanosecond", func(t1, t2 Time) bool { return t1.Hour() == t2.Hour() }}, {"YearDay", func(t1, t2 Time) bool { return t1.YearDay() == t2.YearDay() }},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
pkg/apis/authentication/v1/defaults.go
return RegisterDefaults(scheme) } func SetDefaults_TokenRequestSpec(obj *authenticationv1.TokenRequestSpec) { if obj.ExpirationSeconds == nil { hour := int64(60 * 60) obj.ExpirationSeconds = &hour }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 18:54:11 UTC 2018 - 944 bytes - Viewed (0) -
cmd/metacache_test.go
fileNotFound: false, error: "", started: metaCacheTestsetTimestamp.Add(-7 * 24 * time.Hour), ended: metaCacheTestsetTimestamp.Add(-7 * 24 * time.Hour), lastUpdate: metaCacheTestsetTimestamp.Add(-7 * 24 * time.Hour), lastHandout: metaCacheTestsetTimestamp.Add(-7 * 24 * time.Hour), dataVersion: metacacheStreamVersion, }, } func Test_baseDirFromPrefix(t *testing.T) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Sep 08 18:06:45 UTC 2021 - 6.8K bytes - Viewed (0)