Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 148 for mhevery (0.31 sec)

  1. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

          checkEmpty(entrySet);
          checkEmpty(cache);
        }
      }
    
      /* ---------------- Local utilities -------------- */
    
      /** Most of the tests in this class run against every one of these caches. */
      private Iterable<LoadingCache<Object, Object>> caches() {
        // lots of different ways to configure a LoadingCache
        CacheBuilderFactory factory = cacheFactory();
        return Iterables.transform(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/Cache.java

       *   <li>{@linkplain LoadingCache#getAll bulk loading requests}, including {@linkplain
       *       CacheLoader#loadAll bulk loading implementations}
       * </ul>
       *
       * <p><b>Warning:</b> For any given key, every {@code loader} used with it should compute the same
       * value. Otherwise, a call that passes one {@code loader} may return the result of another call
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/BaseEncoding.java

       *     separator
       */
      public abstract BaseEncoding withPadChar(char padChar);
    
      /**
       * Returns an encoding that behaves equivalently to this encoding, but adds a separator string
       * after every {@code n} characters. Any occurrences of any characters that occur in the separator
       * are skipped over in decoding.
       *
       * @throws IllegalArgumentException if any alphabet or padding characters appear in the separator
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Service.java

     * before the {@link Service} reaches the {@linkplain State#RUNNING RUNNING} state. The set of legal
     * transitions form a <a href="http://en.wikipedia.org/wiki/Directed_acyclic_graph">DAG</a>,
     * therefore every method of the listener will be called at most once. N.B. The {@link State#FAILED}
     * and {@link State#TERMINATED} states are terminal states, once a service enters either of these
     * states it cannot ever leave them.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/MathTesting.java

    import com.google.common.collect.Iterables;
    import com.google.common.primitives.Doubles;
    import java.math.BigInteger;
    import java.math.RoundingMode;
    
    /**
     * Exhaustive input sets for every integral type.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    public class MathTesting {
      static final ImmutableSet<RoundingMode> ALL_ROUNDING_MODES =
          ImmutableSet.copyOf(RoundingMode.values());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       *
       * - stored permits (if available)
       *
       * - fresh permits (for any remaining permits)
       *
       * How this works is best explained with an example:
       *
       * For a RateLimiter that produces 1 token per second, every second that goes by with the
       * RateLimiter being unused, we increase storedPermits by 1. Say we leave the RateLimiter unused
       * for 10 seconds (i.e., we expected a request at time X, but we are at time X + 10 seconds before
    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/collect/Lists.java

              checkElementIndex(index, size());
              return rest[index - 2];
          }
        }
    
        @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns every possible list that can be formed by choosing one element from each of the given
       * lists in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian
       * product</a>" of the lists. For example:
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/DoubleMathTest.java

          }
        }
      }
    
      @GwtIncompatible // DoubleMath.roundToLong(double, RoundingMode)
      public void testRoundExactIntegralDoubleToLong() {
        for (double d : INTEGRAL_DOUBLE_CANDIDATES) {
          // every mode except UNNECESSARY
          BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY);
          boolean isInBounds =
              expected.compareTo(MAX_LONG_AS_BIG_DECIMAL) <= 0
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicates.java

       */
      public static <T extends @Nullable Object> Predicate<T> in(Collection<? extends T> target) {
        return new InPredicate<>(target);
      }
    
      /**
       * Returns the composition of a function and a predicate. For every {@code x}, the generated
       * predicate returns {@code predicate(function(x))}.
       *
       * @return the composition of the provided function and predicate
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                  // this has 2 benefits
                  // 1. for long chains of futures strung together with setFuture we consume less stack
                  // 2. we avoid allocating Cancellation objects at every level of the cancellation
                  //    chain
                  // We can only do this for TrustedFuture, because TrustedFuture.cancel is final and
                  // does nothing but delegate to this method.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top