Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 435 for bots (0.02 sec)

  1. android/guava/src/com/google/common/base/Utf8.java

    @GwtCompatible
    public final class Utf8 {
      /**
       * Returns the number of bytes in the UTF-8-encoded form of {@code sequence}. For a string, this
       * method is equivalent to {@code string.getBytes(UTF_8).length}, but is more efficient in both
       * time and space.
       *
       * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired
       *     surrogates)
       */
      public static int encodedLength(CharSequence sequence) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Sets.java

            return new AbstractIterator<Set<E>>() {
              final BitSet bits = new BitSet(index.size());
    
              @Override
              protected @Nullable Set<E> computeNext() {
                if (bits.isEmpty()) {
                  bits.set(0, size);
                } else {
                  int firstSetBit = bits.nextSetBit(0);
                  int bitToFlip = bits.nextClearBit(firstSetBit);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

              // yes, that's a lot of sinks!
              sinks.add(new Sink(chunkSize, bufferSize));
              // For convenience, testing only with big endianness, to match DataOutputStream.
              // I regard highly unlikely that both the little endianness tests above and this one
              // passes, and there is still a little endianness bug lurking around.
            }
          }
    
          Control control = new Control();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

        /**
         * Sets {@code numHashFunctions} bits of the given bit array, by hashing a user element.
         *
         * <p>Returns whether any bits changed as a result of this operation.
         */
        <T extends @Nullable Object> boolean put(
            @ParametricNullness T object,
            Funnel<? super T> funnel,
            int numHashFunctions,
            LockFreeBitArray bits);
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/LinkedListMultimap.java

            // requireNonNull is safe because we checked that not *both* siblings were null.
            keyList.head = requireNonNull(node.nextSibling);
          } else {
            node.previousSibling.nextSibling = node.nextSibling;
          }
    
          if (node.nextSibling == null) {
            // requireNonNull is safe because we checked that not *both* siblings were null.
            keyList.tail = requireNonNull(node.previousSibling);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/EnumHashBiMap.java

    /**
     * A {@code BiMap} backed by an {@code EnumMap} instance for keys-to-values, and a {@code HashMap}
     * instance for values-to-keys. Null keys are not permitted, but null values are. An {@code
     * EnumHashBiMap} and its inverse are both serializable.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#bimap">{@code BiMap}</a>.
     *
     * @author Mike Bostock
     * @since 2.0
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

              .put(1, 0x8199675ecaa6fe64L)
              .put(0, 0x23ad7c904aa665e3L)
              .build();
      private static final HashFunction HASH_FN = Hashing.fingerprint2011();
    
      // If this test fails, all bets are off
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      public void testReallySimpleFingerprints() {
        assertEquals(8473225671271759044L, fingerprint("test".getBytes(UTF_8)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    down here with me!  There are no mice in the air, I'm afraid, but
    you might catch a bat, and that's very like a mouse, you know.
    But do cats eat bats, I wonder?'  And here Alice began to get
    rather sleepy, and went on saying to herself, in a dreamy sort of
    way, `Do cats eat bats?  Do cats eat bats?' and sometimes, `Do
    bats eat cats?' for, you see, as she couldn't answer either
    question, it didn't much matter which way she put it.  She felt
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

     * @author Geoff Pike
     */
    @NullUnmarked
    public class FarmHashFingerprint64Test extends TestCase {
    
      private static final HashFunction HASH_FN = Hashing.farmHashFingerprint64();
    
      // If this test fails, all bets are off
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      public void testReallySimpleFingerprints() {
        assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashMap.java

      // array. The top bits of this value are the remaining bits of the hash value that were not used
      // in the short hash. We saw that a mask of 0x7f would keep the 7-bit value 0x6f from a full
      // hashcode of 0x89abcdef. The imaginary `hash` value would then be the remaining top 25 bits,
      // 0x89abcd80. To this is added (or'd) the `next` value, which is an index within `entries`
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
Back to top