Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 962 for waitc (0.05 sec)

  1. guava/src/com/google/common/util/concurrent/ServiceManager.java

        }
        return this;
      }
    
      /**
       * Waits for the all the services to reach a terminal state. After this method returns all
       * services will either be {@linkplain Service.State#TERMINATED terminated} or {@linkplain
       * Service.State#FAILED failed}.
       */
      public void awaitStopped() {
        state.awaitStopped();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 33K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      protected CountDownLatch latch;
      protected ListenableFuture<Boolean> future;
    
      @Override
      protected void setUp() throws Exception {
    
        // Create a latch and a future that waits on the latch.
        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

                    throw new RuntimeException(String.format("Cannot wait for %s, as clock is currently at %s.", clockTick,
                            currentTick));
                }
                if (!active.contains(Thread.currentThread())) {
                    throw new RuntimeException("Cannot wait for clock tick from a thread which is not a test thread.");
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  4. src/os/signal/signal_cgo_test.go

    		}
    
    		// Wait for stop.
    		var status syscall.WaitStatus
    		for {
    			_, err = syscall.Wait4(cmd.Process.Pid, &status, syscall.WUNTRACED, nil)
    			if err != syscall.EINTR {
    				break
    			}
    		}
    		if err != nil {
    			return fmt.Errorf("error waiting for stop: %w", err)
    		}
    
    		if !status.Stopped() {
    			return fmt.Errorf("unexpected wait status: %v", status)
    		}
    
    		// Take TTY.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 10:09:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. operator/cmd/mesh/shared.go

    	Context string
    	// DryRun performs all steps except actually applying the manifests or creating output dirs/files.
    	DryRun bool
    	// Maximum amount of time to wait for resources to be ready after install when Wait=true.
    	WaitTimeout time.Duration
    }
    
    func applyManifest(kubeClient kube.Client, client client.Client, manifestStr string,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      protected CountDownLatch latch;
      protected ListenableFuture<Boolean> future;
    
      @Override
      protected void setUp() throws Exception {
    
        // Create a latch and a future that waits on the latch.
        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. pkg/kubelet/pluginmanager/reconciler/reconciler_test.go

    	}
    }
    
    func retryWithExponentialBackOff(initialDuration time.Duration, fn wait.ConditionFunc) error {
    	backoff := wait.Backoff{
    		Duration: initialDuration,
    		Factor:   3,
    		Jitter:   0,
    		Steps:    6,
    	}
    	return wait.ExponentialBackoff(backoff, fn)
    }
    
    type DummyImpl struct{}
    
    func NewDummyImpl() *DummyImpl {
    	return &DummyImpl{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:21:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. pkg/kubelet/volume_host.go

    	}
    
    	synced := []cache.InformerSynced{kvh.csiDriversSynced}
    	if !cache.WaitForCacheSync(wait.NeverStop, synced...) {
    		klog.InfoS("Failed to wait for cache sync for CSIDriverLister")
    		return fmt.Errorf("failed to wait for cache sync for CSIDriverLister")
    	}
    
    	return nil
    }
    
    func (kvh *kubeletVolumeHost) NewWrapperMounter(
    	volName string,
    	spec volume.Spec,
    	pod *v1.Pod,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. cni/pkg/util/pluginutil.go

    	"istio.io/istio/pkg/log"
    )
    
    type Watcher struct {
    	watcher *fsnotify.Watcher
    	Events  chan struct{}
    	Errors  chan error
    }
    
    // Waits until a file is modified (returns nil), the context is cancelled (returns context error), or returns error
    func (w *Watcher) Wait(ctx context.Context) error {
    	select {
    	case <-w.Events:
    		return nil
    	case err := <-w.Errors:
    		return err
    	case <-ctx.Done():
    		return ctx.Err()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/syscall/exec_unix.go

    		if n == int(unsafe.Sizeof(err1)) {
    			err = Errno(err1)
    		}
    		if err == nil {
    			err = EPIPE
    		}
    
    		// Child failed; wait for it to exit, to make sure
    		// the zombies don't accumulate.
    		_, err1 := Wait4(pid, &wstatus, 0, nil)
    		for err1 == EINTR {
    			_, err1 = Wait4(pid, &wstatus, 0, nil)
    		}
    		return 0, err
    	}
    
    	// Read got EOF, so pipe closed on exec, so exec succeeded.
    	return pid, nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top