Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 101 for tolower (0.14 sec)

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

       * value} is greater than {@code max}, {@code max} is returned.
       *
       * @param value the {@code float} value to constrain
       * @param min the lower bound (inclusive) of the range to constrain {@code value} to
       * @param max the upper bound (inclusive) of the range to constrain {@code value} to
       * @throws IllegalArgumentException if {@code min > max}
       * @since 21.0
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/IntMath.java

         */
        int y = maxLog10ForLeadingZeros[Integer.numberOfLeadingZeros(x)];
        /*
         * y is the higher of the two possible values of floor(log10(x)). If x < 10^y, then we want the
         * lower of the two possible values, or y - 1, otherwise, we want y.
         */
        return y - lessThanBranchFree(x, powersOf10[y]);
      }
    
      // maxLog10ForLeadingZeros[i] == floor(log10(2^(Long.SIZE - i)))
      @VisibleForTesting
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedSet.java

      abstract ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive);
    
      /** @since 12.0 */
      @GwtIncompatible // NavigableSet
      @Override
      @CheckForNull
      public E lower(E e) {
        return Iterators.<@Nullable E>getNext(headSet(e, false).descendingIterator(), null);
      }
    
      /** @since 12.0 */
      @Override
      @CheckForNull
      public E floor(E e) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/CaseFormat.java

    @ElementTypesAreNonnullByDefault
    public enum CaseFormat {
      /** Hyphenated variable naming convention, e.g., "lower-hyphen". */
      LOWER_HYPHEN(CharMatcher.is('-'), "-") {
        @Override
        String normalizeWord(String word) {
          return Ascii.toLowerCase(word);
        }
    
        @Override
        String convert(CaseFormat format, String s) {
          if (format == LOWER_UNDERSCORE) {
            return s.replace('-', '_');
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 6.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * hash functions. This is critical when the concurrent hash map uses power-of-two length hash
       * tables, that otherwise encounter collisions for hash codes that do not differ in lower or upper
       * bits.
       *
       * @param h hash code
       */
      static int rehash(int h) {
        // Spread bits to regularize both segment and index locations,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

      }
    
      /**
       * Similar to load64, but allows offset + 8 > input.length, padding the result with zeroes. This
       * has to explicitly reverse the order of the bytes as it packs them into the result which makes
       * it slower than the native version.
       *
       * @param input the input bytes
       * @param offset the offset into the array at which to start reading
       * @param length the number of bytes from the input to read
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

      @Override
      @CheckForNull
      public E lower(@ParametricNullness E e) {
        return delegate().lower(e);
      }
    
      /**
       * A sensible definition of {@link #lower} in terms of the {@code descendingIterator} method of
       * {@link #headSet(Object, boolean)}. If you override {@link #headSet(Object, boolean)}, you may
       * wish to override {@link #lower} to forward to this implementation.
       */
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeRangeSet.java

           * firstComplementRangeLowerBound is the first complement range lower bound inside
           * complementLowerBoundWindow. Complement range lower bounds are either positive range upper
           * bounds, or Cut.belowAll().
           *
           * positiveItr starts at the first positive range with lower bound greater than
           * firstComplementRangeLowerBound. (Positive range lower bounds correspond to complement range
           * upper bounds.)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 32.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/GeneralRange.java

       */
      static <T extends @Nullable Object> GeneralRange<T> range(
          Comparator<? super T> comparator,
          @ParametricNullness T lower,
          BoundType lowerType,
          @ParametricNullness T upper,
          BoundType upperType) {
        return new GeneralRange<>(comparator, true, lower, lowerType, true, upper, upperType);
      }
    
      private final Comparator<? super T> comparator;
      private final boolean hasLowerBound;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SortedListsTest.java

        // key is not present
        int nextHigherIndex = list.size();
        for (int i = list.size() - 1; i >= 0 && list.get(i) > key; i--) {
          nextHigherIndex = i;
        }
        switch (absentBehavior) {
          case NEXT_LOWER:
            assertEquals(nextHigherIndex - 1, answer);
            return;
          case NEXT_HIGHER:
            assertEquals(nextHigherIndex, answer);
            return;
          case INVERTED_INSERTION_INDEX:
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top