Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 191 for Computed (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

            list.add(closeable, closingExecutor);
          }
          return closeable;
        }
      }
    
      /**
       * An operation that computes a result.
       *
       * @param <V> the type of the result
       */
      public interface ClosingCallable<V extends @Nullable Object> {
        /**
         * Computes a result, or throws an exception if unable to do so.
         *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

        // Ensure that referenceMap, which doesn't use WithExpectedSize, ends up with the same table
        // size as the other two maps. If it ended up with a smaller size that would imply that we
        // computed the wrong initial capacity.
        for (int i = 0; i < size; i++) {
          referenceMap.put(i, null);
        }
        assertWithMessage("table size after adding %s elements", size)
            .that(initialBuckets)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            // so we rely on the JDK services to eventually look up a custom RootLocator.
            // This is used to compute {@code session.rootDirectory} but all {@code project.rootDirectory}
            // properties will be computed through the RootLocator found in the container.
            RootLocator rootLocator =
                    ServiceLoader.load(RootLocator.class).iterator().next();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      public void testInvalidateDuringLoading() throws InterruptedException, ExecutionException {
        // computation starts; invalidate() is called on the key being computed, computation finishes
        CountDownLatch computationStarted = new CountDownLatch(2);
        CountDownLatch letGetFinishSignal = new CountDownLatch(1);
        CountDownLatch getFinishedSignal = new CountDownLatch(2);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      public void testInvalidateDuringLoading() throws InterruptedException, ExecutionException {
        // computation starts; invalidate() is called on the key being computed, computation finishes
        CountDownLatch computationStarted = new CountDownLatch(2);
        CountDownLatch letGetFinishSignal = new CountDownLatch(1);
        CountDownLatch getFinishedSignal = new CountDownLatch(2);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

            // the value for the key is already being computed.
            computingValueReference = new ComputingValueReference<>(valueReference);
    
            // Compute the value now, so if it throws an exception we don't change anything.
            newValue = computingValueReference.compute(key, function);
    
            if (e == null) {
              createNewEntry = true;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * computes) correspond to minimum intervals between subsequent requests, for the specified number
       * of requested permits.
       *
       * Here is an example of storedPermitsToWaitTime: If storedPermits == 10.0, and we want 3 permits,
       * we take them from storedPermits, reducing them to 7.0, and compute the throttling for these as
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/PairedStatsAccumulator.java

      private double sumOfProductsOfDeltas = 0.0;
    
      /** Adds the given pair of values to the dataset. */
      public void add(double x, double y) {
        // We extend the recursive expression for the one-variable case at Art of Computer Programming
        // vol. 2, Knuth, 4.2.2, (16) to the two-variable case. We have two value series x_i and y_i.
        // We define the arithmetic means X_n = 1/n \sum_{i=1}^n x_i, and Y_n = 1/n \sum_{i=1}^n y_i.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/QuantilesTest.java

       * - median with compute taking a double-collection and with computeInPlace;
       * - quartiles with index and with indexes taking int-varargs, and with compute taking a
       *   double-collection and with computeInPlace;
       * - scale with index and with indexes taking int-varargs, and with all overloads of compute
       *   taking a double-collection and with computeInPlace;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/QuantilesTest.java

       * - median with compute taking a double-collection and with computeInPlace;
       * - quartiles with index and with indexes taking int-varargs, and with compute taking a
       *   double-collection and with computeInPlace;
       * - scale with index and with indexes taking int-varargs, and with all overloads of compute
       *   taking a double-collection and with computeInPlace;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.8K bytes
    - Viewed (0)
Back to top