Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for 29 (0.19 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        assertEquals(8, ImmutableSet.chooseTableSize(4));
    
        assertEquals(1 << 29, ImmutableSet.chooseTableSize(1 << 28));
        assertEquals(1 << 29, ImmutableSet.chooseTableSize((1 << 29) * 3 / 5));
    
        // Now we hit the cap
        assertEquals(1 << 30, ImmutableSet.chooseTableSize(1 << 29));
        assertEquals(1 << 30, ImmutableSet.chooseTableSize((1 << 30) - 1));
    
        // Now we've gone too far
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        assertEquals(8, ImmutableSet.chooseTableSize(4));
    
        assertEquals(1 << 29, ImmutableSet.chooseTableSize(1 << 28));
        assertEquals(1 << 29, ImmutableSet.chooseTableSize((1 << 29) * 3 / 5));
    
        // Now we hit the cap
        assertEquals(1 << 30, ImmutableSet.chooseTableSize(1 << 29));
        assertEquals(1 << 30, ImmutableSet.chooseTableSize((1 << 30) - 1));
    
        // Now we've gone too far
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertTrue(MinMaxPriorityQueue.isEvenLevel(3));
    
        assertFalse(MinMaxPriorityQueue.isEvenLevel((1 << 10) - 2));
        assertTrue(MinMaxPriorityQueue.isEvenLevel((1 << 10) - 1));
    
        int i = 1 << 29;
        assertTrue(MinMaxPriorityQueue.isEvenLevel(i - 2));
        assertFalse(MinMaxPriorityQueue.isEvenLevel(i - 1));
        assertFalse(MinMaxPriorityQueue.isEvenLevel(i));
    
        i = 1 << 30;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/LongMath.java

       * Each bit is set to 1 for all remainders that indicate divisibility by 2, 3, or 5, so
       * 1, 7, 11, 13, 17, 19, 23, 29 are set to 0. 30 and up don't matter because they won't be hit.
       */
      private static final int SIEVE_30 =
          ~((1 << 1) | (1 << 7) | (1 << 11) | (1 << 13) | (1 << 17) | (1 << 19) | (1 << 23)
              | (1 << 29));
    
      /**
       * Returns {@code true} if {@code n} is a <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/UrlEscapersTest.java

         * when the escaper is made compliant with RFC 2396, but that's a good thing (just change them
         * to assertUnescaped).
         */
        assertEscaping(e, "%21", '!');
        assertEscaping(e, "%28", '(');
        assertEscaping(e, "%29", ')');
        assertEscaping(e, "%7E", '~');
        assertEscaping(e, "%27", '\'');
    
        // Plus for spaces
        assertEscaping(e, "+", ' ');
        assertEscaping(e, "%2B", '+');
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 15 20:25:06 GMT 2018
    - 4.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/net/UrlEscapersTest.java

         * when the escaper is made compliant with RFC 2396, but that's a good thing (just change them
         * to assertUnescaped).
         */
        assertEscaping(e, "%21", '!');
        assertEscaping(e, "%28", '(');
        assertEscaping(e, "%29", ')');
        assertEscaping(e, "%7E", '~');
        assertEscaping(e, "%27", '\'');
    
        // Plus for spaces
        assertEscaping(e, "+", ' ');
        assertEscaping(e, "%2B", '+');
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Ascii.java

       * RS, and US is least inclusive. (The content and length of a File, Group, Record, or Unit are
       * not specified.)
       *
       * @since 8.0
       */
      public static final byte GS = 29;
    
      /**
       * Record Separator: These four information separators may be used within data in optional
       * fashion, except that their hierarchical relationship shall be: FS is the most inclusive, then
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SetsTest.java

       * {@code hashCode} implementation.
       */
      public void testPowerSetHashCode_inputHashCodeTimesTooFarValueIsZero() {
        Set<Object> sumToEighthMaxIntElements =
            newHashSet(objectWithHashCode(1 << 29), objectWithHashCode(0));
        assertPowerSetHashCode(1 << 30, sumToEighthMaxIntElements);
    
        Set<Object> sumToQuarterMaxIntElements =
            newHashSet(objectWithHashCode(1 << 30), objectWithHashCode(0));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertTrue(MinMaxPriorityQueue.isEvenLevel(3));
    
        assertFalse(MinMaxPriorityQueue.isEvenLevel((1 << 10) - 2));
        assertTrue(MinMaxPriorityQueue.isEvenLevel((1 << 10) - 1));
    
        int i = 1 << 29;
        assertTrue(MinMaxPriorityQueue.isEvenLevel(i - 2));
        assertFalse(MinMaxPriorityQueue.isEvenLevel(i - 1));
        assertFalse(MinMaxPriorityQueue.isEvenLevel(i));
    
        i = 1 << 30;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableMap.java

      public abstract V get(@CheckForNull Object key);
    
      /**
       * {@inheritDoc}
       *
       * <p>See <a
       * href="https://developer.android.com/reference/java/util/Map.html#getOrDefault%28java.lang.Object,%20V%29">{@code
       * Map.getOrDefault}</a>.
       *
       * @since 23.5 (but since 21.0 in the JRE <a
       *     href="https://github.com/google/guava#guava-google-core-libraries-for-java">flavor</a>).
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
Back to top