Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,948 for waits (0.04 sec)

  1. cmd/kubeadm/app/util/apiclient/wait.go

    	// WaitForAPI waits for the API Server's /healthz endpoint to become "ok"
    	// TODO: remove WaitForAPI once WaitForAllControlPlaneComponents goes GA:
    	// https://github.com/kubernetes/kubeadm/issues/2907
    	WaitForAPI() error
    	// WaitForPodsWithLabel waits for Pods in the kube-system namespace to become Ready
    	WaitForPodsWithLabel(kvLabel string) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/syscall/exec_plan9.go

    		// If fork fails there is nothing to wait for.
    		if ret.err != nil || ret.pid == 0 {
    			forkc <- ret
    			return
    		}
    
    		waitc := make(chan *waitErr, 1)
    
    		// Mark that the process is running.
    		procs.Lock()
    		if procs.waits == nil {
    			procs.waits = make(map[int]chan *waitErr)
    		}
    		procs.waits[ret.pid] = waitc
    		procs.Unlock()
    
    		forkc <- ret
    
    		var w waitErr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/execution/plan/edges/NodeDependencySetTest.groovy

    class NodeDependencySetTest extends Specification {
        def node = Stub(Node)
        def set = new DependencySuccessorsOnlyNodeSet()
    
        def "does not wait when the set is empty"() {
            expect:
            set.getState(node) == Node.DependenciesState.COMPLETE_AND_SUCCESSFUL
        }
    
        def "waits until all dependencies have completed successfully"() {
            def dep1 = Stub(Node)
            def dep2 = Stub(Node)
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 12 20:17:10 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Service.java

      void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException;
    
      /**
       * Waits for the {@link Service} to reach the {@linkplain State#TERMINATED terminated state}.
       *
       * @throws IllegalStateException if the service {@linkplain State#FAILED fails}.
       * @since 15.0
       */
      void awaitTerminated();
    
      /**
       * Waits for the {@link Service} to reach a terminal state (either {@link Service.State#TERMINATED
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  5. pkg/test/util/assert/tracker.go

    func (t *Tracker[T]) Empty() {
    	t.t.Helper()
    	t.mu.Lock()
    	defer t.mu.Unlock()
    	if len(t.events) != 0 {
    		t.t.Fatalf("unexpected events: %v", t.events)
    	}
    }
    
    // WaitOrdered waits for an event to happen, in order
    func (t *Tracker[T]) WaitOrdered(events ...T) {
    	t.t.Helper()
    	for i, event := range events {
    		var err error
    		retry.UntilSuccessOrFail(t.t, func() error {
    			t.mu.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. pilot/pkg/xds/deltaadstest.go

    	}
    	return nil
    }
    
    // ExpectError waits until an error is received and returns it
    func (a *DeltaAdsTest) ExpectError() error {
    	a.t.Helper()
    	select {
    	case <-time.After(a.timeout):
    		a.t.Fatalf("did not get error in time")
    	case err := <-a.error:
    		return err
    	}
    	return nil
    }
    
    // ExpectNoResponse waits a short period of time and ensures no response is received
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Feb 04 03:39:42 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. pilot/cmd/pilot-agent/app/wait.go

    	waitCmd.PersistentFlags().IntVar(&timeoutSeconds, "timeoutSeconds", 60, "maximum number of seconds to wait for Envoy to be ready")
    	waitCmd.PersistentFlags().IntVar(&requestTimeoutMillis, "requestTimeoutMillis", 500, "number of milliseconds to wait for response")
    	waitCmd.PersistentFlags().IntVar(&periodMillis, "periodMillis", 500, "number of milliseconds to wait between attempts")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        // TODO(user): Consider scaling by number of mutator threads,
        // e.g. using Thread#activeCount()
        return Math.max(10L, Runtime.getRuntime().totalMemory() / (32L * 1024L * 1024L));
      }
    
      /**
       * Waits until the given future {@linkplain Future#isDone is done}, invoking the garbage collector
       * as necessary to try to ensure that this will happen.
       *
       * @throws RuntimeException if timed out or interrupted while waiting
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. src/net/textproto/pipeline.go

    	mu   sync.Mutex
    	id   uint
    	wait map[uint]chan struct{}
    }
    
    // Start waits until it is time for the event numbered id to begin.
    // That is, except for the first event, it waits until End(id-1) has
    // been called.
    func (s *sequencer) Start(id uint) {
    	s.mu.Lock()
    	if s.id == id {
    		s.mu.Unlock()
    		return
    	}
    	c := make(chan struct{})
    	if s.wait == nil {
    		s.wait = make(map[uint]chan struct{})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 08 16:19:51 UTC 2020
    - 3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/GcFinalization.java

        // TODO(user): Consider scaling by number of mutator threads,
        // e.g. using Thread#activeCount()
        return Math.max(10L, Runtime.getRuntime().totalMemory() / (32L * 1024L * 1024L));
      }
    
      /**
       * Waits until the given future {@linkplain Future#isDone is done}, invoking the garbage collector
       * as necessary to try to ensure that this will happen.
       *
       * @throws RuntimeException if timed out or interrupted while waiting
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top