- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 145 for timediv (0.23 sec)
-
guava/src/com/google/common/util/concurrent/Futures.java
private Futures() {} /** * Creates a {@code ListenableFuture} which has its value set immediately upon construction. The * getters just return the value. This {@code Future} can't be canceled or timed out and its * {@code isDone()} method always returns {@code true}. */ public static <V extends @Nullable Object> ListenableFuture<V> immediateFuture( @ParametricNullness V value) { if (value == null) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 64.1K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/attach_detach_controller_test.go
if attachedVolumesNum == 1+extraPodsNum && detachedVolumesNum == nodesNum { break } if i == 10 { // 10 seconds time out t.Fatalf("Waiting for the volumes to attach/detach timed out: attached %d (expected %d); detached %d (%d)", attachedVolumesNum, 1+extraPodsNum, detachedVolumesNum, nodesNum) } } if testPlugin.GetErrorEncountered() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 11:00:37 UTC 2024 - 24.2K bytes - Viewed (0) -
pkg/controller/resourcequota/resource_quota_controller.go
!cache.WaitForNamedCacheSync( "resource quota", waitForStopOrTimeout(ctx.Done(), period), func() bool { return rq.quotaMonitor.IsSynced(ctx) }, ) { utilruntime.HandleError(fmt.Errorf("timed out waiting for quota monitor sync")) return } logger.V(2).Info("synced quota controller") }, period) } // printDiff returns a human-readable summary of what resources were added and removed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 21.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go
// ok default: t.Errorf("unexpected event %#v", event) } } }() cacher.Stop() select { case <-watchClosed: case <-time.After(wait.ForeverTestTimeout): t.Errorf("timed out waiting for watch to close") } } func TestResourceVersionAfterInitEvents(t *testing.T) { getAttrsFunc := func(obj runtime.Object) (labels.Set, fields.Set, error) { return nil, nil, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 22.9K bytes - Viewed (0) -
pkg/kubelet/eviction/eviction_manager.go
defer timeout.Stop() ticker := m.clock.NewTicker(podCleanupPollFreq) defer ticker.Stop() for { select { case <-timeout.C(): klog.InfoS("Eviction manager: timed out waiting for pods to be cleaned up", "pods", klog.KObjSlice(pods)) return case <-ticker.C(): for i, pod := range pods { if !podCleanedUpFunc(pod) { break } if i == len(pods)-1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 27 18:55:56 UTC 2024 - 24.6K bytes - Viewed (0) -
src/time/example_test.go
} var c chan int func handle(int) {} func ExampleAfter() { select { case m := <-c: handle(m) case <-time.After(10 * time.Second): fmt.Println("timed out") } } func ExampleSleep() { time.Sleep(100 * time.Millisecond) } func statusUpdate() string { return "" } func ExampleTick() { c := time.Tick(5 * time.Second)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 13 01:05:00 UTC 2024 - 22.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/fieldselector_test.go
// the right watch events were received. if added.Equal(tc.expectedByName) && deleted.Equal(tc.expectObserveRemoval) { return } else { t.Fatalf("Timed out waiting for watch events, expected added: %v, removed: %v, but got added: %v, removed: %v", tc.expectedByName, tc.expectObserveRemoval, added, deleted) } case event := <-w.ResultChan():
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 15:53:03 UTC 2024 - 27K bytes - Viewed (0) -
src/runtime/netpoll.go
netpollAdjustWaiters(1) } return r } func netpollgoready(gp *g, traceskip int) { goready(gp, traceskip+1) } // returns true if IO is ready, or false if timed out or closed // waitio - wait only for completed IO, ignore errors // Concurrent calls to netpollblock in the same mode are forbidden, as pollDesc // can hold only a single waiting goroutine for each mode.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 20.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
while (writeBytesTotal >= writeBytesMaximum) { // Before blocking, confirm that the stream we're writing is still open. It's possible // that the stream has since been closed (such as if this write timed out.) if (!streams.containsKey(streamId)) { throw IOException("stream closed") } condition.await() // Wait until we receive a WINDOW_UPDATE. }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 32.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go
e.addWork(waiter) // wait for completion or timeout select { case <-waiter.finished: case <-time.After(10 * time.Second): return apierrors.NewInternalError(fmt.Errorf("resource quota evaluation timed out")) } return waiter.result } func (e *quotaEvaluator) addWork(a *admissionWaiter) { e.workLock.Lock() defer e.workLock.Unlock() ns := a.attributes.GetNamespace()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 25.8K bytes - Viewed (0)