Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Ginnish (2.29 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        // give the third get a chance to run; it is okay for this to be racy
        // as the end result should be the same either way
        fourthSignal.await();
        Thread.yield();
    
        // let computation finish
        computeSignal.countDown();
        doneSignal.await();
    
        assertTrue(callCount.get() == 1);
        assertEquals("barfoo", result.get(0));
        assertEquals("barfoo", result.get(1));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                // We need an executor that will not block.
                // We can't use work stealing, as we are building a graph
                // and this could lead to cycles where a thread waits for
                // a task to finish, then execute another one which waits
                // for the initial task...
                // In order to work around that problem, we override the
                // invokeAll method, so that whenever the method is called,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        // give the third get a chance to run; it is okay for this to be racy
        // as the end result should be the same either way
        fourthSignal.await();
        Thread.yield();
    
        // let computation finish
        computeSignal.countDown();
        doneSignal.await();
    
        assertTrue(callCount.get() == 1);
        assertEquals("barfoo", result.get(0));
        assertEquals("barfoo", result.get(1));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      private static final class Failure {
        static final Failure FALLBACK_INSTANCE =
            new Failure(
                new Throwable("Failure occurred while trying to finish a future.") {
                  @Override
                  public synchronized Throwable fillInStackTrace() {
                    return this; // no stack trace
                  }
                });
        final Throwable exception;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

       * computes or retrieves it using the supplied {@code CacheLoader}. If another thread is currently
       * loading the value for this key, simply waits for that thread to finish and returns its loaded
       * value. Note that multiple threads can concurrently load values for distinct keys.
       *
       * <p>This method does not alter the state of this {@code CacheBuilder} instance, so it can be
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

          Executor executor) {
        return AbstractCatchingFuture.create(input, exceptionType, fallback, executor);
      }
    
      /**
       * Returns a future that delegates to another but will finish early (via a {@link
       * TimeoutException} wrapped in an {@link ExecutionException}) if the specified duration expires.
       *
       * <p>The delegate future is interrupted and cancelled if it times out.
       *
    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)
Back to top