Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for selectors (0.21 sec)

  1. android/guava/src/com/google/common/math/Quantiles.java

        int required = allRequired[requiredChosen];
    
        // ...do the first selection...
        selectInPlace(required, array, from, to);
    
        // ...then recursively perform the selections in the range below...
        int requiredBelow = requiredChosen - 1;
        while (requiredBelow >= requiredFrom && allRequired[requiredBelow] == required) {
          requiredBelow--; // skip duplicates of required in the range below
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Ascii.java

      /**
       * The maximum value of an ASCII character.
       *
       * @since 9.0 (was type {@code int} before 12.0)
       */
      public static final char MAX = 127;
    
      /** A bit mask which selects the bit encoding ASCII character case. */
      private static final char CASE_MASK = 0x20;
    
      /**
       * Returns a copy of the input string in which all {@linkplain #isUpperCase(char) uppercase ASCII
    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)
  3. android/guava/src/com/google/common/collect/TopKSelector.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An accumulator that selects the "top" {@code k} elements added to it, relative to a provided
     * comparator. "Top" can mean the greatest or the lowest elements, specified in the factory used to
     * create the {@code TopKSelector} instance.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/PreconditionsTest.java

      // change would be a compiler error.
      // See http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.2 for the spec on
      // how javac selects overloads
      @SuppressWarnings("null")
      public void overloadSelection() {
        Boolean boxedBoolean = null;
        boolean aBoolean = true;
        Long boxedLong = null;
        int anInt = 1;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Ordering.java

            list.subList(k, list.size()).clear();
          }
          list.trimToSize();
          return Collections.unmodifiableList(list);
        } else {
          TopKSelector<E> selector = TopKSelector.least(k, this);
          selector.offerAll(iterator);
          return selector.topK();
        }
      }
    
      /**
       * Returns the {@code k} greatest elements of the given iterable according to this ordering, in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/CompactHashing.java

      private static final int HASH_TABLE_BITS_MAX_BITS = 5;
    
      /** Use high bits of metadata for modification count. */
      static final int MODIFICATION_COUNT_INCREMENT = (1 << HASH_TABLE_BITS_MAX_BITS);
    
      /** Bitmask that selects the low bits of metadata to get hashTableBits. */
      static final int HASH_TABLE_BITS_MASK = (1 << HASH_TABLE_BITS_MAX_BITS) - 1;
    
      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashing.java

      private static final int HASH_TABLE_BITS_MAX_BITS = 5;
    
      /** Use high bits of metadata for modification count. */
      static final int MODIFICATION_COUNT_INCREMENT = (1 << HASH_TABLE_BITS_MAX_BITS);
    
      /** Bitmask that selects the low bits of metadata to get hashTableBits. */
      static final int HASH_TABLE_BITS_MASK = (1 << HASH_TABLE_BITS_MAX_BITS) - 1;
    
      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Aug 02 21:41:22 GMT 2021
    - 7.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      }
    
      private static final int MAXIMUM_CAPACITY = 1 << 30;
    
      static final float DEFAULT_LOAD_FACTOR = 1.0f;
    
      /** Bitmask that selects the low 32 bits. */
      private static final long NEXT_MASK = (1L << 32) - 1;
    
      /** Bitmask that selects the high 32 bits. */
      private static final long HASH_MASK = ~NEXT_MASK;
    
      static final int DEFAULT_SIZE = 3;
    
      // used to indicate blank table entries
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 15K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

      // change would be a compiler error.
      // See http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.2 for the spec on
      // how javac selects overloads
      @SuppressWarnings("null")
      public void overloadSelection() {
        Boolean boxedBoolean = null;
        boolean aBoolean = true;
        Long boxedLong = null;
        int anInt = 1;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Ascii.java

      /**
       * The maximum value of an ASCII character.
       *
       * @since 9.0 (was type {@code int} before 12.0)
       */
      public static final char MAX = 127;
    
      /** A bit mask which selects the bit encoding ASCII character case. */
      private static final char CASE_MASK = 0x20;
    
      /**
       * Returns a copy of the input string in which all {@linkplain #isUpperCase(char) uppercase ASCII
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
Back to top