Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 613 for needs (0.12 seconds)

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

       * as when it was first created.
       *
       * <p>The returned {@code RateLimiter} is intended for cases where the resource that actually
       * fulfills the requests (e.g., a remote server) needs "warmup" time, rather than being
       * immediately accessed at the stable (maximum) rate.
       *
       * <p>The returned {@code RateLimiter} starts in a "cold" state (i.e. the warmup period will
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:05:27 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/AbstractCache.java

    /**
     * This class provides a skeletal implementation of the {@code Cache} interface to minimize the
     * effort required to implement this interface.
     *
     * <p>To implement a cache, the programmer needs only to extend this class and provide an
     * implementation for the {@link #put} and {@link #getIfPresent} methods. {@link #getAllPresent} is
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  3. docs/changelogs/upgrading_to_okhttp_4.md

    -----------------
    
    The equivalent of static methods in Java is companion object functions in Kotlin. The bytecode is
    the same but `.kt` files now need `Companion` in the import.
    
    This works with OkHttp 3.x:
    
    ```kotlin
    import okhttp3.CipherSuite.forJavaName
    ```
    
    But OkHttp 4.x needs a `Companion`:
    
    ```kotlin
    import okhttp3.CipherSuite.Companion.forJavaName
    ```
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

        }
      };
    
      /**
       * Models a lock-free array of bits.
       *
       * <p>We use this instead of java.util.BitSet because we need access to the array of longs and we
       * need compare-and-swap.
       */
      static final class LockFreeBitArray {
        private static final int LONG_ADDRESSABLE_BITS = 6;
        final AtomicLongArray data;
        private final LongAddable bitCount;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/escape/Escapers.java

       * validate the well-formedness of their input.
       */
      public static Builder builder() {
        return new Builder();
      }
    
      /**
       * A builder for simple, fast escapers.
       *
       * <p>Typically an escaper needs to deal with the escaping of high valued characters or code
       * points. In these cases it is necessary to extend either {@link ArrayBasedCharEscaper} or {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

     * entire "chunk" (of implementation-dependent length) is ready to be hashed.
     *
     * @author Kevin Bourrillion
     * @author Dimitris Andreou
     */
    // TODO(kevinb): this class still needs some design-and-document-for-inheritance love
    abstract class AbstractStreamingHasher extends AbstractHasher {
      /** Buffer via which we pass data to the hash algorithm (the implementor) */
      private final ByteBuffer buffer;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

      }
    
      /**
       * Returns a hash function which computes its hash code by concatenating the hash codes of the
       * underlying hash functions together. This can be useful if you need to generate hash codes of a
       * specific length.
       *
       * <p>For example, if you need 1024-bit hash codes, you could join two {@link Hashing#sha512} hash
       * functions together: {@code Hashing.concatenating(Hashing.sha512(), Hashing.sha512())}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  8. android/pom.xml

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <!--
        Some tests need reflective access to the internals of these packages. It is only the
        tests themselves and not the code being tested that needs that access, though there's no
        obvious way to ensure that.
    
        We could consider arranging things so that only the tests we know need this would get
        the add-opens. Right now that doesn't seem worth the effort, though.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 17 19:12:41 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

      }
    
      @Override
      public Iterator<E> iterator() {
        return new MapBasedMultisetIterator();
      }
    
      /*
       * Not subclassing AbstractMultiset$MultisetIterator because next() needs to
       * retrieve the Map.Entry<E, Count> entry, which can then be used for
       * a more efficient remove() call.
       */
      private final class MapBasedMultisetIterator implements Iterator<E> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        return resetContainer(getSubjectGenerator().createTestSubject());
      }
    
      /**
       * Replaces the existing container under test with a new container. This is useful when a single
       * test method needs to create multiple containers while retaining the ability to use {@link
       * #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top