Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 871 for waits (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/adsc/delta.go

    		c.errChan <- err
    	}
    }
    
    // WaitClear will clear the waiting events, so next call to Wait will get
    // the next push type.
    func (c *Client) WaitClear() {
    	for {
    		select {
    		case <-c.deltaXDSUpdates:
    		case <-c.errChan:
    		default:
    			return
    		}
    	}
    }
    
    // WaitResp waits for the latest delta response for a typeURL.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        payload2: Int,
      ) {
        try {
          writer.ping(reply, payload1, payload2)
        } catch (e: IOException) {
          failConnection(e)
        }
      }
    
      /** For testing: sends a ping and waits for a pong. */
      @Throws(InterruptedException::class)
      fun writePingAndAwaitPong() {
        writePing()
        awaitPong()
      }
    
      /** For testing: sends a ping to be awaited with [awaitPong]. */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. src/internal/poll/fd_unix.go

    	fd.pd.evict()
    
    	// The call to decref will call destroy if there are no other
    	// references.
    	err := fd.decref()
    
    	// Wait until the descriptor is closed. If this was the only
    	// reference, it is already closed. Only wait if the file has
    	// not been set to blocking mode, as otherwise any current I/O
    	// may be blocking, and that would block the Close.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 04:09:44 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. src/runtime/metrics_test.go

    // See issue #60276.
    func TestCPUMetricsSleep(t *testing.T) {
    	if runtime.GOOS == "wasip1" {
    		// Since wasip1 busy-waits in the scheduler, there's no meaningful idle
    		// time. This is accurately reflected in the metrics, but it means this
    		// test is basically meaningless on this platform.
    		t.Skip("wasip1 currently busy-waits in idle time; test not applicable")
    	}
    
    	names := []string{
    		"/cpu/classes/idle:cpu-seconds",
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/kube/deployment.go

    		shouldCreateWLE: cfg.DeployAsVM && !cfg.AutoRegisterVM,
    	}, nil
    }
    
    // Restart performs restarts of all the pod of the deployment.
    // This is analogous to `kubectl rollout restart` on the echo deployment and waits for
    // `kubectl rollout status` to complete before returning, but uses direct API calls.
    func (d *deployment) Restart() error {
    	var errs error
    	var deploymentNames []string
    	for _, s := range d.cfg.Subsets {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top