Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,948 for waits (0.25 sec)

  1. tensorflow/compiler/jit/device_compiler.h

      // Don't move the above code into the thread function as it synchronously
      // updates the async compilation state!
    
      // When the ThreadPool for the compilation cache is destroyed, it waits for
      // compilations to have finished. This means that both 'entry' and 'this' will
      // be alive for the duration of the compilation.
      // !!Pay attention when additional variables must be captured by this lambda!!
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. src/net/tcpsock.go

    	if err != nil {
    		return nil, &OpError{Op: "accept", Net: l.fd.net, Source: nil, Addr: l.fd.laddr, Err: err}
    	}
    	return c, nil
    }
    
    // Accept implements the Accept method in the [Listener] interface; it
    // waits for the next call and returns a generic [Conn].
    func (l *TCPListener) Accept() (Conn, error) {
    	if !l.ok() {
    		return nil, syscall.EINVAL
    	}
    	c, err := l.accept()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/cmd/gofmt/gofmt.go

    // tasks, causing the final exit code to be nonzero.
    func (s *sequencer) AddReport(err error) {
    	s.Add(0, func(*reporter) error { return err })
    }
    
    // GetExitCode waits for all previously-added tasks to complete, then returns an
    // exit code for the sequence suitable for passing to os.Exit.
    func (s *sequencer) GetExitCode() int {
    	c := make(chan int, 1)
    	s.Add(0, func(r *reporter) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. operator/pkg/helmreconciler/reconciler.go

    	DryRun bool
    	// Log is a console logger for user visible CLI output.
    	Log clog.Logger
    	// Wait determines if we will wait for resources to be fully applied. Only applies to components that have no
    	// dependencies.
    	Wait bool
    	// WaitTimeout controls the amount of time to wait for resources in a component to become ready before giving up.
    	WaitTimeout time.Duration
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 22 08:32:23 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. pkg/scheduler/eventhandlers.go

    	syncedPollPeriod = 100 * time.Millisecond
    )
    
    // WaitForHandlersSync waits for EventHandlers to sync.
    // It returns true if it was successful, false if the controller should shut down
    func (sched *Scheduler) WaitForHandlersSync(ctx context.Context) error {
    	return wait.PollUntilContextCancel(ctx, syncedPollPeriod, true, func(ctx context.Context) (done bool, err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:04 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/gradients_test.cc

      // y1, y2, and y3 all use y0. This means the backwards pass will need to wait
      // for the gradient for all three.
      auto y1 = Square(scope_test_, y0);
      auto y2 = Square(scope_test_, y0);
      auto y3 = Square(scope_test_, y2);
      std::vector<Output> grad_outputs;
      // By requesting y0, y1, and y3 we test that the computation correctly waits
      // for all the points in backprop where gradients need to be summed from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 15 15:13:38 UTC 2023
    - 25K bytes
    - Viewed (0)
  7. src/runtime/sema.go

    			// more costly than contention holding up a single goroutine.
    			// It would take O(N) time to calculate how long each goroutine
    			// has been waiting, so instead we charge avg(head-wait, tail-wait)*N.
    			// head-wait is the longest wait and tail-wait is the shortest.
    			// (When we do a lifo insertion, we preserve this property by
    			// copying the old head's acquiretime into the inserted new head.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

         * to confirm that it is running. If the main thread's stop() call happens
         * before it has the chance, the test will fail. To avoid this, the main
         * thread calls this method, which waits until the service has performed
         * its own "running" check.
         */
        void awaitRunChecks() throws InterruptedException {
          assertTrue(
              "Service thread hasn't finished its checks. "
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

         * to confirm that it is running. If the main thread's stop() call happens
         * before it has the chance, the test will fail. To avoid this, the main
         * thread calls this method, which waits until the service has performed
         * its own "running" check.
         */
        void awaitRunChecks() throws InterruptedException {
          assertTrue(
              "Service thread hasn't finished its checks. "
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.3K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/volumebinding/binder.go

    //     This is handled in the scheduler and not here.
    //     f. Asynchronously bind volumes and pod in a separate goroutine
    //     i.  BindPodVolumes() is called first in PreBind phase. It makes all the necessary API updates and waits for
    //     PV controller to fully bind and provision the PVCs. If binding fails, the Pod is sent
    //     back through the scheduler.
    //     ii. After BindPodVolumes() is complete, then the scheduler does the final Pod->Node binding.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top