Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 350 for waitms (0.14 sec)

  1. cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go

    		return handleError(err)
    	}
    
    	waiter.SetTimeout(data.Cfg().Timeouts.ControlPlaneComponentHealthCheck.Duration)
    	if features.Enabled(data.Cfg().ClusterConfiguration.FeatureGates, features.WaitForAllControlPlaneComponents) {
    		err = waiter.WaitForControlPlaneComponents(&data.Cfg().ClusterConfiguration)
    	} else {
    		err = waiter.WaitForAPI()
    	}
    	if err != nil {
    		return handleError(err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/syscall/syscall_plan9.go

    	fd, err := Create(path, O_RDONLY, DMDIR|mode)
    
    	if fd != -1 {
    		Close(fd)
    	}
    
    	return
    }
    
    type Waitmsg struct {
    	Pid  int
    	Time [3]uint32
    	Msg  string
    }
    
    func (w Waitmsg) Exited() bool   { return true }
    func (w Waitmsg) Signaled() bool { return false }
    
    func (w Waitmsg) ExitStatus() int {
    	if len(w.Msg) == 0 {
    		// a normal exit returns no message
    		return 0
    	}
    	return 1
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        waiter2.join();
      }
    
      public void testRemoveWaiter_polling() throws Exception {
        final AbstractFuture<String> future = new AbstractFuture<String>() {};
        WaiterThread waiter = new WaiterThread(future);
        waiter.start();
        waiter.awaitWaiting();
        PollingThread poller = new PollingThread(future);
        poller.start();
        PollingThread poller2 = new PollingThread(future);
        poller2.start();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/ExclusiveCacheAccessingWorkerTest.groovy

            then:
            counter == 1
            def e = thrown(RuntimeException)
            e == failure
    
            cleanup:
            cacheAccessWorker?.stop()
        }
    
        def "stop waits for queued actions to complete"() {
            given:
            def counter = 0
            def action = {
                thread.block()
                counter++
            }
            cacheAccessWorker.enqueue(action)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. test/fixedbugs/issue44370.dir/a.go

    // Copyright 2021 The Go Authors. All rights reserved.  Use of this
    // source code is governed by a BSD-style license that can be found in
    // the LICENSE file.
    
    package a
    
    // A StoppableWaitGroup waits for a collection of goroutines to finish.
    type StoppableWaitGroup struct {
    	// i is the internal counter which can store tolerate negative values
    	// as opposed the golang's library WaitGroup.
    	i *int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 26 02:11:50 UTC 2021
    - 682 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.td

      let summary = "Awaits an async execution ";
    
      let description = [{
        Awaits an async execution.
    
        $handle: The handle returned by mlrt.async op.
      }];
    
      let arguments = (ins
        MlrtAsyncHandleType:$handle
      );
    
      let assemblyFormat = "operands attr-dict";
    }
    
    def AwaitAllHandleOp: Mlrt_Op<"await_all_handle", []> {
      let summary = "Awaits multiple async executions";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/apimachinery/pkg/util/wait/poll.go

    // wait: user specified WaitFunc function that controls at what interval the condition
    // function should be invoked periodically and whether it is bound by a timeout.
    // condition: user specified ConditionWithContextFunc function.
    //
    // Deprecated: will be removed in favor of loopConditionUntilContext.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 06:13:35 UTC 2023
    - 14K bytes
    - Viewed (0)
  9. pilot/pkg/xds/adstest.go

    	}
    	return nil
    }
    
    // ExpectError waits until an error is received and returns it
    func (a *AdsTest) ExpectError(t test.Failer) error {
    	t.Helper()
    	select {
    	case <-time.After(a.timeout):
    		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
    - 6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sync/semaphore/semaphore.go

    	s.mu.Unlock()
    }
    
    func (s *Weighted) notifyWaiters() {
    	for {
    		next := s.waiters.Front()
    		if next == nil {
    			break // No more waiters blocked.
    		}
    
    		w := next.Value.(waiter)
    		if s.size-s.cur < w.n {
    			// Not enough tokens for the next waiter.  We could keep going (to try to
    			// find a waiter with a smaller request), but under load that could cause
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top