Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,297 for waitc (0.04 sec)

  1. 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)
  2. 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/sync/waitgroup.go

    package sync
    
    import (
    	"internal/race"
    	"sync/atomic"
    	"unsafe"
    )
    
    // A WaitGroup waits for a collection of goroutines to finish.
    // The main goroutine calls [WaitGroup.Add] to set the number of
    // goroutines to wait for. Then each of the goroutines
    // runs and calls [WaitGroup.Done] when finished. At the same time,
    // [WaitGroup.Wait] can be used to block until all goroutines have finished.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/ConditionalExecutionQueue.java

        /**
         * Expand the execution queue worker pool.  This should be called before an execution in the queue is blocked waiting
         * on another execution (e.g. work that submits and waits on other work).
         */
        void expand();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. src/runtime/proc_test.go

    	defer debug.SetGCPercent(debug.SetGCPercent(-1))
    	// SetGCPercent waits until the mark phase is over, but the runtime
    	// also preempts at the start of the sweep phase, so make sure that's
    	// done too. See #45867.
    	runtime.GC()
    	for try := 0; try < N; try++ {
    		if load {
    			// Create P goroutines and wait until they all run.
    			// When we run the actual test below, worker threads
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  10. pkg/test/kube/util.go

    	gracePeriod := int64(0)
    	return metav1.DeleteOptions{
    		PropagationPolicy:  &propagationPolicy,
    		GracePeriodSeconds: &gracePeriod,
    	}
    }
    
    // WaitUntilPodsAreReady waits until the pod with the name/namespace is in ready state.
    func WaitUntilPodsAreReady(fetchFunc PodFetchFunc, opts ...retry.Option) ([]corev1.Pod, error) {
    	var pods []corev1.Pod
    	err := retry.UntilSuccess(func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 9.4K bytes
    - Viewed (0)
Back to top