Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for barrier (0.21 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

                    }
                  });
          final CyclicBarrier barrier = new CyclicBarrier(numThreads + 1);
          Runnable wrapper =
              new Runnable() {
                @Override
                public void run() {
                  awaitUnchecked(barrier);
                  task.run();
                  awaitUnchecked(barrier);
                }
              };
          for (int j = 0; j < 10; j++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

                    }
                  });
          final CyclicBarrier barrier = new CyclicBarrier(numThreads + 1);
          Runnable wrapper =
              new Runnable() {
                @Override
                public void run() {
                  awaitUnchecked(barrier);
                  task.run();
                  awaitUnchecked(barrier);
                }
              };
          for (int j = 0; j < 10; j++) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        }
        final CyclicBarrier barrier =
            new CyclicBarrier(
                6 // for the setter threads
                    + 50 // for the listeners
                    + 50 // for the blocking get threads,
                    + 1); // for the main thread
        final ExecutorService executor = Executors.newFixedThreadPool(barrier.getParties());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        }
        final CyclicBarrier barrier =
            new CyclicBarrier(
                6 // for the setter threads
                    + 50 // for the listeners
                    + 50 // for the blocking get threads,
                    + 1); // for the main thread
        final ExecutorService executor = Executors.newFixedThreadPool(barrier.getParties());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/ValueGraphTest.java

                    public @Nullable Void call() throws Exception {
                      barrier.await();
                      Integer first = graph.nodes().iterator().next();
                      for (Integer node : graph.nodes()) {
                        Set<Integer> unused = graph.successors(node);
                      }
                      /*
                       * Also look up an earlier node so that, if the graph is using MapRetrievalCache,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 20K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental.cc

        }
        *state_iter = std::move(s);
        ++state_iter;
      }
      status->status = absl::OkStatus();
    }
    
    void TFE_WaitAtBarrier(TFE_Context* ctx, const char* barrier_id,
                           int64_t barrier_timeout_in_ms, TF_Status* status) {
      tensorflow::ImmediateExecutionDistributedManager* dist_mgr =
          tensorflow::unwrap(ctx)->GetDistributedManager();
      tsl::CoordinationServiceAgent* coord_agent =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  7. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern void TFE_WaitAtBarrier(TFE_Context* ctx,
                                                 const char* barrier_id,
                                                 int64_t barrier_timeout_in_ms,
                                                 TF_Status* status);
    
    TF_CAPI_EXPORT extern void TFE_InitializeLocalOnlyContext(TFE_Context* ctx,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

      private var refusedStreamCount = 0
    
      /**
       * The maximum number of concurrent streams that can be carried by this connection. If
       * `allocations.size() < allocationLimit` then new streams can be created on this connection.
       */
      internal var allocationLimit = 1
        private set
    
      /** Current calls carried by this connection. */
      val calls = mutableListOf<Reference<RealCall>>()
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. cmd/storage-datatypes.go

    	FSType     string
    	RootDisk   bool
    	Healing    bool
    	Scanning   bool
    	Endpoint   string
    	MountPath  string
    	ID         string
    	Rotational bool
    	Metrics    DiskMetrics
    	Error      string // carries the error over the network
    }
    
    // DiskMetrics has the information about XL Storage APIs
    // the number of calls of each API and the moving average of
    // the duration of each API.
    type DiskMetrics struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/1-time.md

    [time.Timer] and [time.Ticker].
    
    First, `Timer`s and `Ticker`s that are no longer referred to by the program
    become eligible for garbage collection immediately, even if their
    `Stop` methods have not been called.
    Earlier versions of Go did not collect unstopped `Timer`s until after
    they had fired and never collected unstopped `Ticker`s.
    
    Second, the timer channel associated with a `Timer` or `Ticker` is
    now unbuffered, with capacity 0.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top