Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for smallest (0.16 sec)

  1. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

      private static final String SMALLEST_SURROGATE =
          "" + Character.MIN_HIGH_SURROGATE + Character.MIN_LOW_SURROGATE;
      private static final String LARGEST_SURROGATE =
          "" + Character.MAX_HIGH_SURROGATE + Character.MAX_LOW_SURROGATE;
    
      private static final String TEST_STRING =
          "\0abyz\u0080\u0100\u0800\u1000ABYZ\uffff" + SMALLEST_SURROGATE + "0189" + LARGEST_SURROGATE;
    
      // Escapes nothing
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/SmallCharMatcher.java

      /**
       * Returns an array size suitable for the backing array of a hash table that uses open addressing
       * with linear probing in its implementation. The returned size is the smallest power of two that
       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
    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-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          allEntries.addAll(normalValues);
          SortedSet<E> set = delegate.create(allEntries.toArray());
    
          return createSubSet(set, firstExclusive, lastExclusive);
        }
    
        /** Calls the smallest subSet overload that filters out the extreme values. */
        SortedSet<E> createSubSet(SortedSet<E> set, E firstExclusive, E lastExclusive) {
          if (from == Bound.NO_BOUND && to == Bound.EXCLUSIVE) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

      private static final String SMALLEST_SURROGATE =
          "" + Character.MIN_HIGH_SURROGATE + Character.MIN_LOW_SURROGATE;
      private static final String LARGEST_SURROGATE =
          "" + Character.MAX_HIGH_SURROGATE + Character.MAX_LOW_SURROGATE;
    
      private static final String TEST_STRING =
          "\0abyz\u0080\u0100\u0800\u1000ABYZ\uffff" + SMALLEST_SURROGATE + "0189" + LARGEST_SURROGATE;
    
      // Escapes nothing
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Comparators.java

              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
       * Returns a {@code Collector} that returns the {@code k} smallest (relative to the specified
       * {@code Comparator}) input elements, in ascending order, as an unmodifiable {@code List}. Ties
       * are broken arbitrarily.
       *
       * <p>For example:
       *
       * <pre>{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/SmallCharMatcher.java

      /**
       * Returns an array size suitable for the backing array of a hash table that uses open addressing
       * with linear probing in its implementation. The returned size is the smallest power of two that
       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       *     {@link #length}
       */
      public int get(int index) {
        Preconditions.checkElementIndex(index, length());
        return array[start + index];
      }
    
      /**
       * Returns the smallest index for which {@link #get} returns {@code target}, or {@code -1} if no
       * such index exists. Equivalent to {@code asList().indexOf(target)}.
       */
      public int indexOf(int target) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          allEntries.addAll(normalValues);
          SortedSet<E> set = delegate.create(allEntries.toArray());
    
          return createSubSet(set, firstExclusive, lastExclusive);
        }
    
        /** Calls the smallest subSet overload that filters out the extreme values. */
        SortedSet<E> createSubSet(SortedSet<E> set, E firstExclusive, E lastExclusive) {
          if (from == Bound.NO_BOUND && to == Bound.EXCLUSIVE) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       *     {@link #length}
       */
      public double get(int index) {
        Preconditions.checkElementIndex(index, length());
        return array[start + index];
      }
    
      /**
       * Returns the smallest index for which {@link #get} returns {@code target}, or {@code -1} if no
       * such index exists. Values are compared as if by {@link Double#equals}. Equivalent to {@code
       * asList().indexOf(target)}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimap.java

     *   <li>The total entry count is available as {@link #size}.
     *   <li>Many complex operations become easier; for example, {@code
     *       Collections.min(multimap.values())} finds the smallest value across all keys.
     * </ul>
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableListMultimap}
     *   <li>{@link ImmutableSetMultimap}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
Back to top