Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 693 for minuti (0.25 sec)

  1. pkg/cache/ttlCache_test.go

    }
    
    func BenchmarkTTLGet(b *testing.B) {
    	c := NewTTL(5*time.Minute, 1*time.Minute)
    	benchmarkCacheGet(c, b)
    }
    
    func BenchmarkTTLGetConcurrent(b *testing.B) {
    	c := NewTTL(5*time.Minute, 1*time.Minute)
    	benchmarkCacheGetConcurrent(c, b)
    }
    
    func BenchmarkTTLSet(b *testing.B) {
    	c := NewTTL(5*time.Minute, 1*time.Minute)
    	benchmarkCacheSet(c, b)
    }
    
    func BenchmarkTTLSetConcurrent(b *testing.B) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. src/time/format_rfc3339.go

    			case num2(b[len(b)-len("00"):]) >= 60: // timezone minute must be in range
    				return Time{}, &ParseError{RFC3339, string(b), "Z07:00", string(b[len(b)-len("Z07:00"):]), ": timezone minute out of range"}
    			}
    		default: // unknown error; should not occur
    			return Time{}, &ParseError{RFC3339, string(b), RFC3339, string(b), ""}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 18 19:59:26 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. pkg/volume/fc/attacher.go

    	// E.g. DetachDisk sometimes fails to flush a multipath device with "device is busy" when it was
    	// just unmounted.
    	// 2 minutes should be enough within 6 minute force detach timeout.
    	var detachError error
    	err = wait.PollImmediate(10*time.Second, 2*time.Minute, func() (bool, error) {
    		detachError = detacher.manager.DetachDisk(*unMounter, devName)
    		if detachError != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 31 12:02:51 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  4. pkg/controller/certificates/cleaner/cleaner_test.go

    			metav1.NewTime(time.Now().Add(-1 * time.Minute)),
    			[]byte(unexpiredCert),
    			[]capi.CertificateSigningRequestCondition{
    				{
    					Type:           capi.CertificateApproved,
    					LastUpdateTime: metav1.NewTime(time.Now().Add(-50 * time.Minute)),
    				},
    			},
    			[]string{},
    		},
    		{
    			"no delete approved passed deadline not issued",
    			metav1.NewTime(time.Now().Add(-1 * time.Minute)),
    			nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 07 15:19:45 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  5. cmd/metacache_test.go

    		fileNotFound: false,
    		error:        "an error lol",
    		started:      metaCacheTestsetTimestamp.Add(-20 * time.Minute),
    		ended:        metaCacheTestsetTimestamp.Add(-20 * time.Minute),
    		lastUpdate:   metaCacheTestsetTimestamp.Add(-20 * time.Minute),
    		lastHandout:  metaCacheTestsetTimestamp.Add(-20 * time.Minute),
    		dataVersion:  metacacheStreamVersion,
    	},
    	4: {
    		id:           "case-5-noupdate",
    		bucket:       "bucket",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 08 18:06:45 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  6. pkg/controller/certificates/authority/authority_test.go

    			want: x509.Certificate{
    				NotBefore:             now.Add(-5 * time.Minute),
    				NotAfter:              now.Add(55 * time.Minute),
    				BasicConstraintsValid: true,
    			},
    		},
    		{
    			name:   "backdate without short and super small ttl",
    			policy: PermissiveSigningPolicy{TTL: time.Minute, Backdate: 5 * time.Minute, Now: nowFunc},
    			want: x509.Certificate{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 23 19:36:11 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  7. pkg/controller/cronjob/utils_test.go

    					LastScheduleTime: &metav1HalfPastTheHour,
    				},
    			},
    			now:                   *deltaTimeAfterTopOfTheHour(24*time.Hour + 31*time.Minute),
    			expectedRecentTime:    deltaTimeAfterTopOfTheHour(24*time.Hour + 30*time.Minute),
    			expectedEarliestTime:  *deltaTimeAfterTopOfTheHour(30 * time.Minute),
    			expectedTooManyMissed: fewMissed,
    		},
    		{
    			name: "another complex schedule",
    			cj: &batchv1.CronJob{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/fuzzer/fuzzer.go

    			obj.Authorization.Mode = kubeletconfig.KubeletAuthorizationModeAlwaysAllow
    			obj.Authorization.Webhook.CacheAuthorizedTTL = metav1.Duration{Duration: 5 * time.Minute}
    			obj.Authorization.Webhook.CacheUnauthorizedTTL = metav1.Duration{Duration: 30 * time.Second}
    			obj.Address = "0.0.0.0"
    			obj.VolumeStatsAggPeriod = metav1.Duration{Duration: time.Minute}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/duration/duration_test.go

    		{d: 0, want: "0s"},
    		{d: time.Second - time.Millisecond, want: "0s"},
    		{d: 2*time.Minute - time.Millisecond, want: "119s"},
    		{d: 2 * time.Minute, want: "2m"},
    		{d: 2*time.Minute + time.Second, want: "2m1s"},
    		{d: 10*time.Minute - time.Millisecond, want: "9m59s"},
    		{d: 10 * time.Minute, want: "10m"},
    		{d: 10*time.Minute + time.Second, want: "10m"},
    		{d: 3*time.Hour - time.Millisecond, want: "179m"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 17 18:04:52 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  10. cmd/dynamic-timeouts_test.go

    		if duration < 100*time.Millisecond {
    			duration = 100 * time.Millisecond
    		}
    		if duration >= time.Minute {
    			timeout.LogFailure()
    		} else {
    			timeout.LogSuccess(duration)
    		}
    	}
    }
    
    func TestDynamicTimeoutAdjustExponential(t *testing.T) {
    	timeout := newDynamicTimeout(time.Minute, time.Second)
    
    	rand.Seed(0)
    
    	initial := timeout.Timeout()
    
    	for try := 0; try < 10; try++ {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 5.4K bytes
    - Viewed (0)
Back to top