Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for nextSetBit (0.04 sec)

  1. android/guava/src/com/google/common/primitives/Booleans.java

       * Returns the index of the first appearance of the value {@code target} in {@code array}.
       *
       * <p><b>Note:</b> consider representing the array as a {@link java.util.BitSet} instead, and
       * using {@link java.util.BitSet#nextSetBit(int)} or {@link java.util.BitSet#nextClearBit(int)}.
       *
       * @param array an array of {@code boolean} values, possibly empty
       * @param target a primitive {@code boolean} value
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Booleans.java

       * Returns the index of the first appearance of the value {@code target} in {@code array}.
       *
       * <p><b>Note:</b> consider representing the array as a {@link java.util.BitSet} instead, and
       * using {@link java.util.BitSet#nextSetBit(int)} or {@link java.util.BitSet#nextClearBit(int)}.
       *
       * @param array an array of {@code boolean} values, possibly empty
       * @param target a primitive {@code boolean} value
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/CharMatcher.java

        switch (totalCharacters) {
          case 0:
            return none();
          case 1:
            return is((char) table.nextSetBit(0));
          case 2:
            char c1 = (char) table.nextSetBit(0);
            char c2 = (char) table.nextSetBit(c1 + 1);
            return isEither(c1, c2);
          default:
            return isSmall(totalCharacters, table.length())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

              @Override
              protected @Nullable Set<E> computeNext() {
                if (bits.isEmpty()) {
                  bits.set(0, size);
                } else {
                  int firstSetBit = bits.nextSetBit(0);
                  int bitToFlip = bits.nextClearBit(firstSetBit);
    
                  if (bitToFlip == index.size()) {
                    return endOfData();
                  }
    
                  /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
Back to top