Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,994 for Hour (0.05 sec)

  1. src/runtime/testdata/testprogcgo/gprof.go

    	go C.CallGoSleep()
    	time.Sleep(1 * time.Second)
    
    	prof := pprof.Lookup("goroutine")
    	prof.WriteTo(io.Discard, 1)
    	fmt.Println("OK")
    }
    
    //export GoSleep
    func GoSleep() {
    	time.Sleep(time.Hour)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 11 15:34:02 UTC 2021
    - 868 bytes
    - Viewed (0)
  2. pkg/kubelet/util/queue/work_queue_test.go

    	expected := []types.UID{types.UID("foo1"), types.UID("foo2")}
    	compareResults(t, expected, q.GetWork())
    	compareResults(t, []types.UID{}, q.GetWork())
    	// Dial the time to 1 hour ahead.
    	clock.Step(time.Hour)
    	expected = []types.UID{types.UID("foo3"), types.UID("foo4")}
    	compareResults(t, expected, q.GetWork())
    	compareResults(t, []types.UID{}, q.GetWork())
    }
    
    func TestNewBasicWorkQueue(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. pkg/proxy/apis/config/fuzzer/fuzzer.go

    			obj.Conntrack.Min = ptr.To(c.Int31())
    			obj.Conntrack.TCPCloseWaitTimeout = &metav1.Duration{Duration: time.Duration(c.Int63()) * time.Hour}
    			obj.Conntrack.TCPEstablishedTimeout = &metav1.Duration{Duration: time.Duration(c.Int63()) * time.Hour}
    			obj.FeatureGates = map[string]bool{c.RandString(): true}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/options/options_test.go

    				Address:         "0.0.0.0", // Note: This field should have no effect in CM now, and "0.0.0.0" is the default value.
    				MinResyncPeriod: metav1.Duration{Duration: 8 * time.Hour},
    				ClientConnection: componentbaseconfig.ClientConnectionConfiguration{
    					Kubeconfig:  "/kubeconfig",
    					ContentType: "application/json",
    					QPS:         50.0,
    					Burst:       100,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock/fake_event_clock_test.go

    	t1 := time.Now()
    	t2 := t1.Add(time.Hour)
    	pc.SetTime(t1)
    	tx := pc.Now()
    	if tx != t1 {
    		t.Errorf("SetTime(%#+v); Now() => %#+v", t1, tx)
    	}
    	dx := pc.Since(t1)
    	if dx != 0 {
    		t.Errorf("Since() => %v", dx)
    	}
    	pc.SetTime(t2)
    	dx = pc.Since(t1)
    	if dx != time.Hour {
    		t.Errorf("Since() => %v", dx)
    	}
    	tx = pc.Now()
    	if tx != t2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 07 04:07:31 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  6. src/crypto/x509/x509_test.go

    				RevokedCertificates: []pkix.RevokedCertificate{
    					{
    						SerialNumber:   big.NewInt(2),
    						RevocationTime: time.Time{}.Add(time.Hour),
    					},
    				},
    				Number:     big.NewInt(5),
    				ThisUpdate: time.Time{}.Add(time.Hour * 24),
    				NextUpdate: time.Time{}.Add(time.Hour * 48),
    			},
    			expectedError: "x509: requested SignatureAlgorithm does not match private key type",
    		},
    		{
    			name: "valid",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  7. pkg/proxy/apis/config/v1alpha1/defaults.go

    		// can cause new calls to connect(2) to return with ECONNREFUSED.
    		//
    		// We set CLOSE_WAIT to one hour by default to better match
    		// typical server timeouts.
    		obj.Conntrack.TCPCloseWaitTimeout = &metav1.Duration{Duration: 1 * time.Hour}
    	}
    	if obj.ConfigSyncPeriod.Duration == 0 {
    		obj.ConfigSyncPeriod.Duration = 15 * time.Minute
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. pkg/controller/bootstrap/util_test.go

    			givenTokenID, givenTokenSecret, "true", "", true,
    		},
    		{
    			"Signing token with valid exp",
    			givenTokenID, givenTokenSecret, "true", timeString(time.Hour), true,
    		},
    		{
    			"Expired signing token",
    			givenTokenID, givenTokenSecret, "true", timeString(-time.Hour), false,
    		},
    		{
    			"Signing token with bad exp",
    			givenTokenID, givenTokenSecret, "true", "garbage", false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 02:18:40 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top