Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for rowEnd (0.54 sec)

  1. android/guava-tests/test/com/google/common/base/Utf8Test.java

              // Four byte characters
              FOUR_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      /** Tests that round tripping of all two byte permutations work. */
      @GwtIncompatible // java.nio.charset.Charset
      public void testIsWellFormed_1Byte() {
        testBytes(1, EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT);
      }
    
      /** Tests that round tripping of all two byte permutations work. */
      @GwtIncompatible // java.nio.charset.Charset
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/SmallCharMatcher.java

       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
        // Correct the size for open addressing to match desired load factor.
        // Round up to the next highest power of 2.
        int tableSize = Integer.highestOneBit(setSize - 1) << 1;
        while (tableSize * DESIRED_LOAD_FACTOR < setSize) {
          tableSize <<= 1;
        }
        return tableSize;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertSame(testEquivalence, map.keyEquivalence);
        assertSame(map.valueStrength().defaultEquivalence(), map.valueEquivalence());
      }
    
      public void testSetConcurrencyLevel() {
        // round up to the nearest power of two
    
        checkConcurrencyLevel(1, 1);
        checkConcurrencyLevel(2, 2);
        checkConcurrencyLevel(3, 4);
        checkConcurrencyLevel(4, 4);
        checkConcurrencyLevel(5, 8);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertSame(testEquivalence, map.keyEquivalence);
        assertSame(map.valueStrength().defaultEquivalence(), map.valueEquivalence());
      }
    
      public void testSetConcurrencyLevel() {
        // round up to the nearest power of two
    
        checkConcurrencyLevel(1, 1);
        checkConcurrencyLevel(2, 2);
        checkConcurrencyLevel(3, 4);
        checkConcurrencyLevel(4, 4);
        checkConcurrencyLevel(5, 8);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

        private ValueSetLink<K, V> lastEntry;
    
        ValueSet(@ParametricNullness K key, int expectedValues) {
          this.key = key;
          this.firstEntry = this;
          this.lastEntry = this;
          // Round expected values up to a power of 2 to get the table size.
          int tableSize = Hashing.closedTableSize(expectedValues, VALUE_SET_LOAD_FACTOR);
    
          @SuppressWarnings({"rawtypes", "unchecked"})
          @Nullable
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Converter.java

     * converter.reverse().convert(converter.convert(a)).equals(a)} is always true). However, it is very
     * common (perhaps <i>more</i> common) for round-trip conversion to be <i>lossy</i>. Consider an
     * example round-trip using {@link com.google.common.primitives.Doubles#stringConverter}:
     *
     * <ol>
     *   <li>{@code stringConverter().convert("1.00")} returns the {@code Double} value {@code 1.0}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/IntMathTest.java

        BigInteger bigX = BigInteger.valueOf(x);
        BigInteger bigY = BigInteger.valueOf(y);
        BigDecimal bigMean =
            new BigDecimal(bigX.add(bigY)).divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR);
        // parseInt blows up on overflow as opposed to intValue() which does not.
        return Integer.parseInt(bigMean.toString());
      }
    
      private static boolean fitsInInt(BigInteger big) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSet.java

      static int chooseTableSize(int setSize) {
        setSize = Math.max(setSize, 2);
        // Correct the size for open addressing to match desired load factor.
        if (setSize < CUTOFF) {
          // Round up to the next highest power of 2.
          int tableSize = Integer.highestOneBit(setSize - 1) << 1;
          while (tableSize * DESIRED_LOAD_FACTOR < setSize) {
            tableSize <<= 1;
          }
          return tableSize;
    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)
  9. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(testEquivalence, map.valueEquivalence);
        assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence);
      }
    
      public void testSetConcurrencyLevel() {
        // round up to the nearest power of two
    
        checkConcurrencyLevel(1, 1);
        checkConcurrencyLevel(2, 2);
        checkConcurrencyLevel(3, 4);
        checkConcurrencyLevel(4, 4);
        checkConcurrencyLevel(5, 8);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(testEquivalence, map.valueEquivalence);
        assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence);
      }
    
      public void testSetConcurrencyLevel() {
        // round up to the nearest power of two
    
        checkConcurrencyLevel(1, 1);
        checkConcurrencyLevel(2, 2);
        checkConcurrencyLevel(3, 4);
        checkConcurrencyLevel(4, 4);
        checkConcurrencyLevel(5, 8);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
Back to top