Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for Carlier (0.16 sec)

  1. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        dispatcher = Dispatcher.legacyAsync();
    
        final CyclicBarrier barrier = new CyclicBarrier(2);
        final CountDownLatch latch = new CountDownLatch(2);
    
        new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      barrier.await();
                    } catch (Exception e) {
                      throw new AssertionError(e);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 27 15:41:25 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        if (!Collections.disjoint(newFeatures, earlierFeatures)) {
          throw new ConflictingRequirementsException(
              String.format(
                  Locale.ROOT,
                  "Annotation requires to be %s features that earlier "
                      + "annotations required to be %s.",
                  newRequirement,
                  earlierRequirement),
              intersection(newFeatures, earlierFeatures),
              source);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 12.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/ClassPath.java

         * jar files' "Class-Path" manifest entries. Particularly, if a jar file from the "Class-Path"
         * manifest entry is already in {@code scannedFiles}, either because it was scanned earlier, or
         * it was intentionally added to the set by the caller, it will not be scanned again.
         *
         * <p>Note that when you call {@code location.scanResources(scannedFiles)}, the location will
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

      //    (hypothetical) unsafe read by our caller. Note: adding 'volatile' does not fix this issue,
      //    it would just add an edge such that if done() observed non-null, then it would also
      //    definitely observe all earlier writes, but we still have no guarantee that done() would see
      //    the initial write (just stronger guarantees if it does).
      //
      // See: http://cs.oswego.edu/pipermail/concurrency-interest/2015-January/013800.html
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  5. 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)
  6. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

          barrier.await(1, TimeUnit.SECONDS);
          executor.execute(barrierTask);
          // timeout means the second task wasn't even tried
          barrier.await(1, TimeUnit.SECONDS);
        } finally {
          service.shutdown();
        }
      }
    
      public void testRejectedExecutionThrownWithMultipleCalls() throws Exception {
        final CountDownLatch latch = new CountDownLatch(1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        dispatcher = Dispatcher.legacyAsync();
    
        final CyclicBarrier barrier = new CyclicBarrier(2);
        final CountDownLatch latch = new CountDownLatch(2);
    
        new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      barrier.await();
                    } catch (Exception e) {
                      throw new AssertionError(e);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 27 15:41:25 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

                    public @Nullable Void call() throws Exception {
                      barrier.await();
                      Integer first = network.nodes().iterator().next();
                      for (Integer node : network.nodes()) {
                        Set<Integer> unused = network.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: Mon Jan 22 17:29:38 GMT 2024
    - 33K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

                    public @Nullable Void call() throws Exception {
                      barrier.await();
                      Integer first = network.nodes().iterator().next();
                      for (Integer node : network.nodes()) {
                        Set<Integer> unused = network.successors(node);
                      }
                      /*
                       * Also look up an earlier node so that, if the graph is using MapRetrievalCache,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

                                  barrier.await(1, TimeUnit.SECONDS);
    
                                  // WAIT #2
                                  barrier.await(1, TimeUnit.SECONDS);
                                  assertTrue(executor.isShutdown());
                                  assertFalse(executor.isTerminated());
    
                                  // WAIT #3
                                  barrier.await(1, TimeUnit.SECONDS);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (3)
Back to top