Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,785 for Hour (0.08 sec)

  1. 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)
  2. cmd/kubelet/app/server_bootstrap_test.go

    	// use config1 to refresh it and the cert manager won't return it for clients.
    	config2.CertData, config2.KeyData = genClientCert(t, time.Now().Add(-2*time.Hour), time.Now().Add(-time.Hour))
    	if _, err := buildClientCertificateManager(config1, config2, testDir, nodeName); err != nil {
    		t.Fatal(err)
    	}
    	fi = getFileInfo(testDir)
    	if len(fi) != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  3. security/pkg/nodeagent/cache/secretcache_test.go

    			created:     now,
    			expire:      now.Add(time.Hour),
    			gracePeriod: 0.5,
    			expected:    time.Minute * 30,
    		},
    		{
    			name:        "grace period .25",
    			created:     now,
    			expire:      now.Add(time.Hour),
    			gracePeriod: 0.25,
    			expected:    time.Minute * 45,
    		},
    		{
    			name:        "grace period .75",
    			created:     now,
    			expire:      now.Add(time.Hour),
    			gracePeriod: 0.75,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. cmd/object-lambda-handlers.go

    		host = globalMinioEndpointURL.Host
    		secure = globalMinioEndpointURL.Scheme == "https"
    	}
    
    	duration := time.Until(cred.Expiration)
    	if duration > time.Hour || duration < time.Hour {
    		// Always limit to 1 hour.
    		duration = time.Hour
    	}
    
    	clnt, err := miniogo.New(host, &miniogo.Options{
    		Creds:     credentials.NewStaticV4(cred.AccessKey, cred.SecretKey, cred.SessionToken),
    		Secure:    secure,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. security/pkg/pki/util/keycertbundle_test.go

    			caCertFile:    rootCertFile,
    			caKeyFile:     rootKeyFile,
    			certChainFile: nil,
    			rootCertFile:  rootCertFile,
    			certOptions: &CertOptions{
    				Host:       "test_ca.com",
    				TTL:        time.Hour,
    				Org:        "MyOrg",
    				IsCA:       true,
    				RSAKeySize: 2048,
    			},
    			expectedErr: "failed to extract id the SAN extension does not exist",
    		},
    		"RSA Success": {
    			caCertFile:    certChainFile1,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. src/time/sleep_test.go

    			for i := range timers {
    				timers[i] = AfterFunc(Hour, nil)
    			}
    
    			for i := range timers {
    				timers[i].Stop()
    			}
    		}
    	})
    }
    
    func BenchmarkReset(b *testing.B) {
    	b.Run("impl=chan", func(b *testing.B) {
    		benchmark(b, func(pb *testing.PB) {
    			t := NewTimer(Hour)
    			for pb.Next() {
    				t.Reset(Hour)
    			}
    			t.Stop()
    		})
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:33:57 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  7. cmd/local-locker_test.go

    	}
    	if len(l.lockUID) != len(rResources)+len(wResources) {
    		t.Fatalf("lockUID len, got %d, want %d + %d", len(l.lockUID), len(rResources), len(wResources))
    	}
    	// Expire an hour from now, should keep all
    	l.expireOldLocks(time.Hour)
    	if len(l.lockMap) != len(rResources)+len(wResources) {
    		t.Fatalf("lockmap len, got %d, want %d + %d", len(l.lockMap), len(rResources), len(wResources))
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 05 04:57:35 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. internal/s3select/sql/parser.go

    	Quantity  *Operand     `parser:" @@ \",\""`
    	Timestamp *PrimaryTerm `parser:" @@ \")\""`
    }
    
    // DateDiffFunc represents the DATE_DIFF function
    type DateDiffFunc struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. pilot/pkg/model/proxy_config_test.go

    							"B": "2",
    						},
    					}), now.Add(time.Hour)),
    				setCreationTimestamp(newProxyConfig("workload-c", "test-ns",
    					&v1beta1.ProxyConfig{
    						Selector: selector(map[string]string{
    							"test": "selector",
    						}),
    						EnvironmentVariables: map[string]string{
    							"C": "3",
    						},
    					}), now.Add(time.Hour)),
    			},
    			proxy: newMeta(
    				"test-ns",
    				map[string]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 21 01:23:19 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  10. security/pkg/pki/util/generate_cert_test.go

    vbw9mUuRBuYCROUaNv2/TAkauxVPCYPq7Ow=
    -----END CERTIFICATE-----`
    )
    
    func TestGenCertKeyFromOptions(t *testing.T) {
    	// set "notBefore" to be one hour ago, this ensures the issued certificate to
    	// be valid as of now.
    	caCertNotBefore := now.Add(-time.Hour)
    	caCertTTL := 24 * time.Hour
    	host := "test_ca.com"
    
    	// Options to generate a CA cert with RSA.
    	rsaCaCertOptions := CertOptions{
    		Host:         host,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 06 12:48:53 UTC 2023
    - 29.4K bytes
    - Viewed (0)
Back to top