Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for reduce (0.25 sec)

  1. guava/src/com/google/common/base/Predicate.java

     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Predicate} (or the
     * appropriate primitive specialization such as {@code IntPredicate}) instead whenever possible.
     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Predicate.java

     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Predicate} (or the
     * appropriate primitive specialization such as {@code IntPredicate}) instead whenever possible.
     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Supplier.java

     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Supplier} (or the
     * appropriate primitive specialization such as {@code IntSupplier}) instead whenever possible.
     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

       * This test creates a long random sequence of inputs, then a lot of differently configured sinks
       * process it; all should produce the same answer, the only difference should be the number of
       * process()/processRemaining() invocations, due to alignment.
       */
      @AndroidIncompatible // slow. TODO(cpovirk): Maybe just reduce iterations under Android.
      public void testExhaustive() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Hashing.java

       * following conditions:
       *
       * <ul>
       *   <li>You want to assign the same fraction of inputs to each bucket.
       *   <li>When you reduce the number of buckets, you can accept that the most recently added
       *       buckets will be removed first. More concretely, if you are dividing traffic among tasks,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * storedPermits becomes 10.0 (assuming maxStoredPermits >= 10.0). At that point, a request of
       * acquire(3) arrives. We serve this request out of storedPermits, and reduce that to 7.0 (how
       * this is translated to throttling time is discussed later). Immediately after, assume that an
       * acquire(10) request arriving. We serve the request partly from storedPermits, using all the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Suppliers.java

        }
    
        @Override
        @ParametricNullness
        public T get() {
          // Another variant of Double Checked Locking.
          //
          // We use two volatile reads. We could reduce this to one by
          // putting our fields into a holder class, but (at least on x86)
          // the extra memory consumption and indirection are more
          // expensive than the extra volatile reads.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Stopwatch.java

     * </ul>
     *
     * <p>The one downside of {@code Stopwatch} relative to {@link System#nanoTime()} is that {@code
     * Stopwatch} requires object allocation and additional method calls, which can reduce the accuracy
     * of the elapsed times reported. {@code Stopwatch} is still suitable for logging and metrics where
     * reasonably accurate values are sufficient. If the uncommon case that you need to maximize
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

       * This test creates a long random sequence of inputs, then a lot of differently configured sinks
       * process it; all should produce the same answer, the only difference should be the number of
       * process()/processRemaining() invocations, due to alignment.
       */
      @AndroidIncompatible // slow. TODO(cpovirk): Maybe just reduce iterations under Android.
      public void testExhaustive() throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/Striped64.java

       * Nearly all declarations in this class are package-private,
       * accessed directly by subclasses.
       *
       * Table entries are of class Cell; a variant of AtomicLong padded
       * to reduce cache contention on most processors. Padding is
       * overkill for most Atomics because they are usually irregularly
       * scattered in memory and thus don't interfere much with each
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
Back to top