Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 74 for high (0.24 sec)

  1. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

        CompactLinkedHashSet<E> set = createWithExpectedSize(elements.length);
        Collections.addAll(set, elements);
        return set;
      }
    
      /**
       * Creates a {@code CompactLinkedHashSet} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

          }
        }
        return urls.build();
      }
    
      /**
       * These tests fail in JDK 9 and JDK 10 for an unknown reason. It might be the test; it might be
       * the underlying functionality. Fixing this is not a high priority; if you need it to be fixed,
       * please comment on <a href="https://github.com/google/guava/issues/3086">issue 3086</a>.
       */
      private static boolean isJdk9OrHigher() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

         * wrapper around j.u.HashSet, which has built-in flooding protection. MAX_RUN_MULTIPLIER was
         * determined experimentally to match our desired probability of false positives.
         */
        // NB: yes, this is surprisingly high, but that's what the experiments said was necessary
        // Raising this number slows the worst-case contains behavior, speeds up hashFloodingDetected,
        // and reduces the false-positive probability.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    writing in his note-book, cackled out `Silence!' and read out
    from his book, `Rule Forty-two.  ALL PERSONS MORE THAN A MILE
    HIGH TO LEAVE THE COURT.'
    
      Everybody looked at Alice.
    
      `I'M not a mile high,' said Alice.
    
      `You are,' said the King.
    
      `Nearly two miles high,' added the Queen.
    
      `Well, I shan't go, at any rate,' said Alice:  `besides,
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/HashCode.java

       * probably not what you want to use.
       */
      @Override
      public final int hashCode() {
        // If we have at least 4 bytes (32 bits), just take the first 4 bytes. Since this is
        // already a (presumably) high-quality hash code, any four bytes of it will do.
        if (bits() >= 32) {
          return asInt();
        }
        // If we have less than 4 bytes, use them all.
        byte[] bytes = getBytesInternal();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMaker.java

       * having a hash table of size eight. Providing a large enough estimate at construction time
       * avoids the need for expensive resizing operations later, but setting this value unnecessarily
       * high wastes memory.
       *
       * @throws IllegalArgumentException if {@code initialCapacity} is negative
       * @throws IllegalStateException if an initial capacity was already set
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheTesting.java

          assertFalse(segment.isLocked());
          Map<?, ?> table = segmentTable(segment);
          // cleanup and then check count after we have a strong reference to all entries
          segment.cleanUp();
          // under high memory pressure keys/values may be nulled out but not yet enqueued
          assertThat(table.size()).isAtMost(segment.count);
          for (Entry<?, ?> entry : table.entrySet()) {
            assertNotNull(entry.getKey());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

        if (isTeredoAddress(ip)) {
          return false;
        }
    
        byte[] bytes = ip.getAddress();
    
        if ((bytes[8] | (byte) 0x03) != (byte) 0x03) {
    
          // Verify that high byte of the 64 bit identifier is zero, modulo
          // the U/L and G bits, with which we are not concerned.
          return false;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  9. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

      }
    
      @SuppressWarnings("deprecation")
      public void testInvalidUnicodeHashString() {
        String str =
            new String(
                new char[] {'a', Character.MIN_HIGH_SURROGATE, Character.MIN_HIGH_SURROGATE, 'z'});
        assertEquals(
            murmur3_32().hashBytes(str.getBytes(Charsets.UTF_8)),
            murmur3_32().hashString(str, Charsets.UTF_8));
        assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 8.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

          }
        }
        return urls.build();
      }
    
      /**
       * These tests fail in JDK 9 and JDK 10 for an unknown reason. It might be the test; it might be
       * the underlying functionality. Fixing this is not a high priority; if you need it to be fixed,
       * please comment on <a href="https://github.com/google/guava/issues/3086">issue 3086</a>.
       */
      private static boolean isJdk9OrHigher() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
Back to top