Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for computing (0.29 sec)

  1. guava/src/com/google/common/collect/ComputationException.java

     *
     * @author Bob Lee
     * @since 2.0
     * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was
     *     thrown by {@link MapMaker} computing maps. When support for computing maps was removed from
     *     {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code
     *     ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. Any
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 04 13:28:27 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/AbstractCache.java

         * #recordMisses}, this method should only be called by the loading thread.
         *
         * @param loadTime the number of nanoseconds the cache spent computing or retrieving the new
         *     value
         */
        @SuppressWarnings("GoodTime") // should accept a java.time.Duration
        void recordLoadSuccess(long loadTime);
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ComputationException.java

     *
     * @author Bob Lee
     * @since 2.0
     * @deprecated This exception is no longer thrown by {@code com.google.common}. Previously, it was
     *     thrown by {@link MapMaker} computing maps. When support for computing maps was removed from
     *     {@code MapMaker}, it was added to {@code CacheBuilder}, which throws {@code
     *     ExecutionException}, {@code UncheckedExecutionException}, and {@code ExecutionError}. Any
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Aug 04 13:28:27 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/AbstractCache.java

         * #recordMisses}, this method should only be called by the loading thread.
         *
         * @param loadTime the number of nanoseconds the cache spent computing or retrieving the new
         *     value
         */
        @SuppressWarnings("GoodTime") // should accept a java.time.Duration
        void recordLoadSuccess(long loadTime);
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Equivalence.java

    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A strategy for determining whether two instances are considered equivalent, and for computing
     * hash codes in a manner consistent with that equivalence. Two examples of equivalences are the
     * {@linkplain #identity() identity equivalence} and the {@linkplain #equals "equals" equivalence}.
     *
     * @author Bob Lee
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Equivalence.java

    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A strategy for determining whether two instances are considered equivalent, and for computing
     * hash codes in a manner consistent with that equivalence. Two examples of equivalences are the
     * {@linkplain #identity() identity equivalence} and the {@linkplain #equals "equals" equivalence}.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

     * will be constant across algorithms).
     *
     * @author Pete Gillin
     * @since 20.0
     */
    enum QuantilesAlgorithm {
    
      /**
       * Sorts the dataset, and picks values from it. When computing multiple quantiles, we sort once
       * and pick multiple values.
       */
      SORTING {
    
        @Override
        double singleQuantile(int index, int scale, double[] dataset) {
          Arrays.sort(dataset);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

     * will be constant across algorithms).
     *
     * @author Pete Gillin
     * @since 20.0
     */
    enum QuantilesAlgorithm {
    
      /**
       * Sorts the dataset, and picks values from it. When computing multiple quantiles, we sort once
       * and pick multiple values.
       */
      SORTING {
    
        @Override
        double singleQuantile(int index, int scale, double[] dataset) {
          Arrays.sort(dataset);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      public void testExpandDuringLoading() throws InterruptedException {
        final int count = 3;
        final AtomicInteger callCount = new AtomicInteger();
        // tells the computing thread when to start computing
        final CountDownLatch computeSignal = new CountDownLatch(1);
        // tells the main thread when computation is pending
        final CountDownLatch secondSignal = new CountDownLatch(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)
  10. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

    import com.google.caliper.Param;
    import com.google.caliper.api.SkipThisScenarioException;
    import com.google.common.primitives.Doubles;
    import java.util.Random;
    
    /**
     * Benchmarks for various algorithms for computing the mean and/or variance.
     *
     * @author Louis Wasserman
     */
    public class StatsBenchmark {
    
      enum MeanAlgorithm {
        SIMPLE {
          @Override
          double mean(double[] values) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
Back to top