- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,586 for rduration (0.21 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/time_budget.go
// even though the first one may return something later. type timeBudget interface { takeAvailable() time.Duration returnUnused(unused time.Duration) } type timeBudgetImpl struct { sync.Mutex clock clock.Clock budget time.Duration maxBudget time.Duration refresh time.Duration // last store last access time last time.Time } func newTimeBudget() timeBudget { result := &timeBudgetImpl{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults_test.go
desc: "apiVersion supplied", in: &KMSConfiguration{Timeout: &v1.Duration{Duration: 1 * time.Minute}, APIVersion: "v1"}, want: &KMSConfiguration{Timeout: &v1.Duration{Duration: 1 * time.Minute}, CacheSize: &defaultCacheSize, APIVersion: "v1"}, }, { desc: "apiVersion v2 supplied, cache size not defaulted", in: &KMSConfiguration{Timeout: &v1.Duration{Duration: 1 * time.Minute}, APIVersion: "v2"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 20:54:24 UTC 2023 - 4.2K bytes - Viewed (0) -
pkg/credentialprovider/plugin/config_test.go
MatchImages: []string{"registry.io/one"}, DefaultCacheDuration: &metav1.Duration{Duration: 10 * time.Minute}, APIVersion: "credentialprovider.kubelet.k8s.io/v1alpha1", }, { Name: "test2", MatchImages: []string{"registry.io/two"}, DefaultCacheDuration: &metav1.Duration{Duration: 10 * time.Minute},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 09 14:24:11 UTC 2023 - 14.2K bytes - Viewed (0) -
pkg/controller/podautoscaler/monitor/monitor.go
) // Monitor records some metrics so that people can monitor HPA controller. type Monitor interface { ObserveReconciliationResult(action ActionLabel, err ErrorLabel, duration time.Duration) ObserveMetricComputationResult(action ActionLabel, err ErrorLabel, duration time.Duration, metricType v2.MetricSourceType) } type monitor struct{} func New() Monitor { return &monitor{} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 22:47:24 UTC 2023 - 2.3K bytes - Viewed (0) -
internal/http/listener_test.go
{[]string{"unknown-host:65432"}, time.Duration(0), time.Duration(0), time.Duration(0), []bool{true}}, // 4 {[]string{"localhost:65432"}, time.Duration(0), time.Duration(0), time.Duration(0), []bool{false}}, // 5
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 17:41:02 UTC 2024 - 11.8K bytes - Viewed (0) -
platforms/core-runtime/time/src/main/java/org/gradle/internal/time/TimeFormatting.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:20:17 UTC 2024 - 3.9K bytes - Viewed (0) -
plugin/pkg/admission/imagepolicy/config.go
"k8s.io/klog/v2" ) const ( defaultRetryBackoff = time.Duration(500) * time.Millisecond minRetryBackoff = time.Duration(1) maxRetryBackoff = time.Duration(5) * time.Minute defaultAllowTTL = time.Duration(5) * time.Minute defaultDenyTTL = time.Duration(30) * time.Second minAllowTTL = time.Duration(1) * time.Second maxAllowTTL = time.Duration(30) * time.Minute
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 25 04:07:36 UTC 2022 - 3.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/Result.java
import org.gradle.internal.execution.UnitOfWork; import java.time.Duration; public class Result { private final Duration duration; private final Try<Execution> execution; protected Result(Duration duration, Try<Execution> execution) { this.duration = duration; this.execution = execution; } protected Result(Result parent) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 2.5K bytes - Viewed (0) -
security/pkg/util/certutil.go
cert, certErr := util.ParsePemEncodedCertificate(certBytes) if certErr != nil { return time.Duration(0), certErr } timeToExpire := cert.NotAfter.Sub(now) if timeToExpire < 0 { return time.Duration(0), fmt.Errorf("certificate already expired at %s, but now is %s", cert.NotAfter, now) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 30 19:33:26 UTC 2023 - 2.3K bytes - Viewed (0) -
src/net/tcpconn_keepalive_solaris_test.go
tcpKeepAliveInterval int tcpKeepAliveIdleTime time.Duration tcpKeepAliveIntervalTime time.Duration tcpKeepAliveCount int ) if unix.SupportTCPKeepAliveIdleIntvlCNT() { tcpKeepAliveIdle, err = syscall.GetsockoptInt(fd, syscall.IPPROTO_TCP, syscall_TCP_KEEPIDLE) if err != nil { return } tcpKeepAliveIdleTime = time.Duration(tcpKeepAliveIdle) * time.Second
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 5.7K bytes - Viewed (0)