Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for requested (0.31 sec)

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

       * observe the new rate; only subsequent requests will.
       *
       * <p>Note though that, since each request repays (by waiting, if necessary) the cost of the
       * <i>previous</i> request, this means that the very next request after an invocation to {@code
       * setRate} will not be affected by the new rate; it will pay the cost of the previous request,
       * which is in terms of the previous rate.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/LoadingCache.java

       * returns {@code null}, returns a map containing null keys or values, or fails to return an entry
       * for each requested key.
       *
       * <p>Note that duplicate elements in {@code keys}, as determined by {@link Object#equals}, will
       * be ignored.
       *
       * @throws ExecutionException if a checked exception was thrown while loading the value. ({@code
       *     ExecutionException} is thrown <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/RandomAmountInputStream.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    
    /** Returns a random portion of the requested bytes on each call. */
    class RandomAmountInputStream extends FilterInputStream {
      private final Random random;
    
      public RandomAmountInputStream(InputStream in, Random random) {
        super(checkNotNull(in));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheStats.java

      }
    
      /**
       * Returns the ratio of cache requests which were misses. This is defined as {@code missCount /
       * requestCount}, or {@code 0.0} when {@code requestCount == 0}. Note that {@code hitRate +
       * missRate =~ 1.0}. Cache misses include all requests which weren't cache hits, including
       * requests which resulted in either successful or failed loading attempts, and requests which
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheStats.java

      }
    
      /**
       * Returns the ratio of cache requests which were misses. This is defined as {@code missCount /
       * requestCount}, or {@code 0.0} when {@code requestCount == 0}. Note that {@code hitRate +
       * missRate =~ 1.0}. Cache misses include all requests which weren't cache hits, including
       * requests which resulted in either successful or failed loading attempts, and requests which
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheLoader.java

      }
    
      /**
       * Computes or retrieves the values corresponding to {@code keys}. This method is called by {@link
       * LoadingCache#getAll}.
       *
       * <p>If the returned map doesn't contain all requested {@code keys} then the entries it does
       * contain will be cached, but {@code getAll} will throw an exception. If the returned map
       * contains extra keys not present in {@code keys} then all returned entries will be cached, but
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

      /**
       * The interval between two unit requests, at our stable rate. E.g., a stable rate of 5 permits
       * per second has a stable interval of 200ms.
       */
      double stableIntervalMicros;
    
      /**
       * The time when the next request (no matter its size) will be granted. After granting a request,
       * this is pushed further in the future. Large requests push this further than small requests.
       */
    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)
  8. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

     */
    public class MessageDigestHashFunctionTest extends TestCase {
      private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar");
    
      // From "How Provider Implementations Are Requested and Supplied" from
      // http://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html
      //  - Some providers may choose to also include alias names.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/LazyLogger.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.logging.Logger;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A holder for a {@link Logger} that is initialized only when requested. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class LazyLogger {
      private final String loggerName;
      private volatile @Nullable Logger logger;
    
      LazyLogger(Class<?> ownerOfLogger) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/RandomAmountInputStream.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.io.FilterInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Random;
    
    /** Returns a random portion of the requested bytes on each call. */
    class RandomAmountInputStream extends FilterInputStream {
      private final Random random;
    
      public RandomAmountInputStream(InputStream in, Random random) {
        super(checkNotNull(in));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.2K bytes
    - Viewed (0)
Back to top