- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 71 for walltime (0.21 sec)
-
security/pkg/util/certutil.go
// waitTime is the duration between now and the grace period starts. // It is the time until cert expiration minus the length of grace period. waitTime := timeToExpire - gracePeriod if waitTime < 0 { // We are within the grace period. return time.Duration(0), fmt.Errorf("got a certificate that should be renewed now") } return waitTime, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 30 19:33:26 UTC 2023 - 2.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java
/** * 同一ホストに対するクローリングのインターバルが正しく動作すること */ public void test_delayBeforeProcessing() { // 同時実行数 final int numTasks = 100; // インターバル final Long waittime = 100L; CrawlingParameterUtil.setUrlQueue(new UrlQueueImpl()); final UrlQueue q = CrawlingParameterUtil.getUrlQueue(); for (int i = 0; i < numTasks; i++) { q.setUrl("http://example.com");
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ChainingHttpHandler.java
private void waitForRequestsToFinish() { long completionTimeout = clock.getCurrentTime() + timeoutMs; for (RequestOutcome outcome : outcomes) { long waitTime = completionTimeout - clock.getCurrentTime(); outcome.awaitCompletion(waitTime); } } @Override public void handle(HttpExchange httpExchange) { try { int id = counter.incrementAndGet();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.5K bytes - Viewed (0) -
tools/bug-report/pkg/config/config_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 15 15:19:50 UTC 2021 - 4.4K bytes - Viewed (0) -
security/pkg/nodeagent/sds/server.go
serverOk = false } } if serverOk && setUpUdsOK { started = true break } time.Sleep(waitTime) waitTime *= 2 } if !started { sdsServiceLog.Warn("SDS grpc server could not be started") } }() } func (s *Server) grpcServerOptions() []grpc.ServerOption {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 07 17:44:41 UTC 2024 - 3.3K bytes - Viewed (0) -
tests/scanner_valuer_test.go
} func (role Role) IsAdmin() bool { return role.Name == "admin" } type EmptyTime struct { time.Time } func (t *EmptyTime) Scan(v interface{}) error { nullTime := sql.NullTime{} err := nullTime.Scan(v) t.Time = nullTime.Time return err } func (t EmptyTime) Value() (driver.Value, error) { return time.Now() /* pass tests, mysql 8 doesn't support 0000-00-00 by default */, nil }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
pkg/test/kube/util.go
} case <-time.After(waitTime - time.Since(startTime)): return nil, fmt.Errorf("secret %v did not become existent within %v", name, waitTime) } } } // WaitForSecretToExistOrFail calls WaitForSecretToExist and fails the given test.Failer if an error occurs. func WaitForSecretToExistOrFail(t test.Failer, a kubernetes.Interface, namespace, name string, waitTime time.Duration, ) *corev1.Secret {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 04 22:47:52 UTC 2023 - 9.4K bytes - Viewed (0) -
src/runtime/time.go
ts.lock() ts.cleanHead() t.lock() t.trace("maybeAdd") when := int64(0) wake := false if t.needsAdd() { t.state |= timerHeaped when = t.when wakeTime := ts.wakeTime() wake = wakeTime == 0 || when < wakeTime ts.addHeap(t) } t.unlock() ts.unlock() releasem(mp) if wake { wakeNetPoller(when) } } // reset resets the time when a timer should fire.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 14:36:24 UTC 2024 - 37.5K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/waiting_pods_map.go
wp.mu.Lock() defer wp.mu.Unlock() for k, v := range pluginsMaxWaitTime { plugin, waitTime := k, v wp.pendingPlugins[plugin] = time.AfterFunc(waitTime, func() { msg := fmt.Sprintf("rejected due to timeout after waiting %v at plugin %v", waitTime, plugin) wp.Reject(plugin, msg) }) } return wp } // GetPod returns a reference to the waiting pod.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 4.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_filter.go
} panicking = false } func observeQueueWaitTime(ctx context.Context, priorityLevelName, flowSchemaName, execute string, waitTime time.Duration) { metrics.ObserveWaitingDuration(ctx, priorityLevelName, flowSchemaName, execute, waitTime) endpointsrequest.TrackAPFQueueWaitLatency(ctx, waitTime)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 8K bytes - Viewed (0)