Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. staging/src/k8s.io/apimachinery/pkg/util/cache/lruexpirecache_test.go

    }
    
    func TestAddBringsToFront(t *testing.T) {
    	c := NewLRUExpireCache(4)
    	c.Add("elem1", "1", 10*time.Hour)
    	c.Add("elem2", "2", 10*time.Hour)
    	c.Add("elem3", "3", 10*time.Hour)
    	c.Add("elem4", "4", 10*time.Hour)
    
    	c.Add("elem1", "1-new", 10*time.Hour)
    
    	c.Add("elem5", "5", 10*time.Hour)
    
    	assertKeys(t, c.Keys(), []interface{}{"elem3", "elem4", "elem1", "elem5"})
    
    	expectNotEntry(t, c, "elem2")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. cmd/update-notifier_test.go

    		{1 * time.Hour, "my_download_url", "1 hour before the latest release"},
    		{61 * time.Minute, "my_download_url", "1 hour before the latest release"},
    		{122 * time.Minute, "my_download_url", "2 hours before the latest release"},
    		{24 * time.Hour, "my_download_url", "1 day before the latest release"},
    		{25 * time.Hour, "my_download_url", "1 day before the latest release"},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 31 15:36:19 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. src/crypto/x509/platform_test.go

    				NotBefore:    now.Add(-time.Hour),
    				NotAfter:     now.Add(time.Hour),
    				ExtKeyUsage:  []ExtKeyUsage{ExtKeyUsageServerAuth},
    			},
    		},
    		{
    			name: "valid (with name)",
    			cert: &Certificate{
    				SerialNumber: big.NewInt(1),
    				DNSNames:     []string{"valid.testing.golang.invalid"},
    				NotBefore:    now.Add(-time.Hour),
    				NotAfter:     now.Add(time.Hour),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 17:18:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/runtime/race/testdata/time_test.go

    	v = 2
    	time.AfterFunc(1, f)
    	<-c
    	v = 3
    }
    
    func TestNoRaceAfterFuncReset(_ *testing.T) {
    	v := 0
    	_ = v
    	c := make(chan int)
    	f := func() {
    		v = 1
    		c <- 0
    	}
    	t := time.AfterFunc(time.Hour, f)
    	t.Stop()
    	v = 2
    	t.Reset(1)
    	<-c
    	v = 3
    }
    
    func TestNoRaceTimer(_ *testing.T) {
    	v := 0
    	_ = v
    	c := make(chan int)
    	f := func() {
    		v = 1
    		c <- 0
    	}
    	v = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:34:15 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. security/pkg/pki/ca/ca_test.go

    			},
    			maxTTL:        2 * time.Hour,
    			requestedTTL:  3 * time.Hour,
    			expectedError: "requested TTL 3h0m0s is greater than the max allowed TTL 2h0m0s",
    		},
    		"CSR uses EC TTL error": {
    			forCA: false,
    			certOpts: util.CertOptions{
    				Org:      "istio.io",
    				ECSigAlg: util.EcdsaSigAlg,
    			},
    			maxTTL:        2 * time.Hour,
    			requestedTTL:  3 * time.Hour,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 08:51:27 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  10. pkg/proxy/apis/config/v1alpha1/defaults_test.go

    					MaxPerCore:            &ctMaxPerCore,
    					Min:                   &ctMin,
    					TCPEstablishedTimeout: &metav1.Duration{Duration: 24 * time.Hour},
    					TCPCloseWaitTimeout:   &metav1.Duration{Duration: 1 * time.Hour},
    				},
    				ConfigSyncPeriod: metav1.Duration{Duration: 15 * time.Minute},
    				Logging: logsapi.LoggingConfiguration{
    					Format:         "text",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top