Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,384 for Hour (0.04 sec)

  1. pkg/controller/cronjob/utils_test.go

    		}
    	}
    	{
    		// Case 6: now is way way ahead of last start time, and there is no deadline.
    		cj.ObjectMeta.CreationTimestamp = metav1.Time{Time: T1.Add(-2 * time.Hour)}
    		cj.Status.LastScheduleTime = &metav1.Time{Time: T1.Add(-1 * time.Hour)}
    		now := T2.Add(10 * 24 * time.Hour)
    		schedule, _ := nextScheduleTime(logger, &cj, now, ParseSchedule(cj.Spec.Schedule), recorder)
    		if schedule == nil {
    			t.Errorf("expected more than 0 missed times")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle_test.go

    			objectName:     "foodir/fooobject",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. pkg/registry/certificates/certificates/storage/metrics_test.go

    				Status: certificates.CertificateSigningRequestStatus{
    					Certificate: createCert(t, time.Hour, caPrivateKey, caCert),
    				},
    			},
    			old: &certificates.CertificateSigningRequest{
    				Spec: certificates.CertificateSigningRequestSpec{
    					SignerName:        "kubernetes.io/educate-dolphins",
    					ExpirationSeconds: csr.DurationToExpirationSeconds(time.Hour),
    				},
    			},
    			options:       &metav1.UpdateOptions{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/TimeFormattingTest.groovy

            "10 minutes"        | "1 hour"            | minutes(42.1234)                    | "42m 7s"
            "10 minutes"        | "1 hour"            | minutes(60)                         | "1h"
            "1 hour"            | "10 hours"          | minutes(61)                         | "1h 1m"
            "1 hour"            | "10 hours"          | hours(1)                            | "1h"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. pkg/controller/cronjob/cronjob_controllerv2_test.go

    func TestControllerV2SyncCronJob(t *testing.T) {
    	// Check expectations on deadline parameters
    	if shortDead/60/60 >= 1 {
    		t.Errorf("shortDead should be less than one hour")
    	}
    
    	if mediumDead/60/60 < 1 || mediumDead/60/60 >= 24 {
    		t.Errorf("mediumDead should be between one hour and one day")
    	}
    
    	if longDead/60/60/24 < 10 {
    		t.Errorf("longDead should be at least ten days")
    	}
    
    	testCases := map[string]struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 70.8K bytes
    - Viewed (0)
  6. src/time/format.go

    		case stdHour:
    			hour, value, err = getnum(value, false)
    			if hour < 0 || 24 <= hour {
    				rangeErrString = "hour"
    			}
    		case stdHour12, stdZeroHour12:
    			hour, value, err = getnum(value, std == stdZeroHour12)
    			if hour < 0 || 12 < hour {
    				rangeErrString = "hour"
    			}
    		case stdMinute, stdZeroMinute:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  7. 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)
  8. src/time/tick_test.go

    			}
    		})
    	}
    
    	run(t, "After", func() { After(Hour) })
    	run(t, "Tick", func() { Tick(Hour) })
    	run(t, "NewTimer", func() { NewTimer(Hour) })
    	run(t, "NewTicker", func() { NewTicker(Hour) })
    	run(t, "NewTimerStop", func() { NewTimer(Hour).Stop() })
    	run(t, "NewTickerStop", func() { NewTicker(Hour).Stop() })
    }
    
    func TestChan(t *testing.T) {
    	for _, name := range []string{"0", "1", "2"} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. src/time/format_test.go

    	// issue 67470
    	{"-07", "-25", "time zone offset hour out of range"},
    	{"-07:00", "+25:00", "time zone offset hour out of range"},
    	{"-07:00", "-23:61", "time zone offset minute out of range"},
    	{"-07:00:00", "+23:59:61", "time zone offset second out of range"},
    	{"Z07", "-25", "time zone offset hour out of range"},
    	{"Z07:00", "+25:00", "time zone offset hour out of range"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. cmd/license-update.go

    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top