Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for computations (0.04 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

       * usually have much noticeable impact. A value of one permits only one thread to modify the cache
       * at a time, but since read operations and cache loading computations can proceed concurrently,
       * this still yields higher concurrency than full synchronization.
       *
       * <p>Defaults to 4. <b>Note:</b>The default may change in the future. If you care about this
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          }
        }.start();
    
        getStartedSignal.await();
    
        // computation is in progress; asMap shouldn't have changed
        assertThat(map).hasSize(1);
        assertThat(map.containsKey(getKey)).isFalse();
        assertThat(map.get(refreshKey)).isSameInstanceAs(refreshKey);
    
        // let computation complete
        letGetFinishSignal.countDown();
        getFinishedSignal.await();
        checkNothingLogged();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          }
        }.start();
    
        getStartedSignal.await();
    
        // computation is in progress; asMap shouldn't have changed
        assertThat(map).hasSize(1);
        assertThat(map.containsKey(getKey)).isFalse();
        assertThat(map.get(refreshKey)).isSameInstanceAs(refreshKey);
    
        // let computation complete
        letGetFinishSignal.countDown();
        getFinishedSignal.await();
        checkNothingLogged();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

       * usually have much noticeable impact. A value of one permits only one thread to modify the cache
       * at a time, but since read operations and cache loading computations can proceed concurrently,
       * this still yields higher concurrency than full synchronization.
       *
       * <p>Defaults to 4. <b>Note:</b>The default may change in the future. If you care about this
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

    import java.util.concurrent.atomic.AtomicReference;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A step in a pipeline of an asynchronous computation. When the last step in the computation is
     * complete, some objects captured during the computation are closed.
     *
     * <p>A pipeline of {@code ClosingFuture}s is a tree of steps. Each step represents either an
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

       * computation is {@linkplain java.util.concurrent.Future#isDone() complete} or, if the
       * computation is already complete, immediately.
       *
       * <p>The callback is run on {@code executor}. There is no guaranteed ordering of execution of
       * callbacks, but any callback added through this method is guaranteed to be called once the
       * computation is complete.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
Back to top