Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for computation (0.15 sec)

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

           * to a valid final state ({@link #COMPLETED}, {@link #CANCELLED}, or {@link #INTERRUPTED}).
           *
           * @param v the value to set as the result of the computation.
           * @param t the exception to set as the result of the computation.
           * @param finalState the state to transition to.
           */
          private boolean complete(@Nullable V v, @Nullable Throwable t, int finalState) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

       *   <li>To get uninterruptibility and remove checked exceptions, use {@link
       *       Futures#getUnchecked}.
       * </ul>
       *
       * @throws ExecutionException if the computation threw an exception
       * @throws CancellationException if the computation was cancelled
       */
      @CanIgnoreReturnValue
      @ParametricNullness
      public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        cache.invalidateAll();
        // let the computation proceed
        computingLatch.countDown();
        // don't check cache.size() until we know the get("b") call is complete
        computationComplete.await();
    
        // At this point, the listener should be holding the seed value (a -> a), and the map should
        // contain the computed value (b -> b), since the clear() happened before the computation
        // completed.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        cache.invalidateAll();
        // let the computation proceed
        computingLatch.countDown();
        // don't check cache.size() until we know the get("b") call is complete
        computationComplete.await();
    
        // At this point, the listener should be holding the seed value (a -> a), and the map should
        // contain the computed value (b -> b), since the clear() happened before the computation
        // completed.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/Quantiles.java

      @Deprecated
      public Quantiles() {}
    
      /** Specifies the computation of a median (i.e. the 1st 2-quantile). */
      public static ScaleAndIndex median() {
        return scale(2).index(1);
      }
    
      /** Specifies the computation of quartiles (i.e. 4-quantiles). */
      public static Scale quartiles() {
        return scale(4);
      }
    
      /** Specifies the computation of percentiles (i.e. 100-quantiles). */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/QuantilesTest.java

     *
     * @author Pete Gillin
     */
    @NullUnmarked
    public class QuantilesTest extends TestCase {
    
      /*
       * Since Quantiles provides a fluent-style API, each test covers a chain of methods resulting in
       * the computation of one or more quantiles (or in an error) rather than individual methods. The
       * tests are divided into three sections:
       * 1. Tests on a hardcoded dataset for chains starting with median(), quartiles(), and scale(10);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/QuantilesTest.java

     *
     * @author Pete Gillin
     */
    @NullUnmarked
    public class QuantilesTest extends TestCase {
    
      /*
       * Since Quantiles provides a fluent-style API, each test covers a chain of methods resulting in
       * the computation of one or more quantiles (or in an error) rather than individual methods. The
       * tests are divided into three sections:
       * 1. Tests on a hardcoded dataset for chains starting with median(), quartiles(), and scale(10);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/FluentFuture.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.
       *
       * <p>Example:
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/concepts.md

    ///
    
    ## Resource Utilization { #resource-utilization }
    
    Your server(s) is (are) a **resource**, you can consume or **utilize**, with your programs, the computation time on the CPUs, and the RAM memory available.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

              }
            };
    
        recursiveCache = CacheBuilder.newBuilder().weakKeys().weakValues().build(recursiveLoader);
        cacheRef.set(recursiveCache);
    
        // tells the test when the computation has completed
        CountDownLatch doneSignal = new CountDownLatch(1);
    
        Thread thread =
            new Thread() {
              @Override
              public void run() {
                try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top