Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 125 for downTo (0.06 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        this.withLock {
          return busyQueues + readyQueues
        }
      }
    
      fun cancelAll() {
        assertLockHeld()
        for (i in busyQueues.size - 1 downTo 0) {
          busyQueues[i].cancelAllAndDecide()
        }
        for (i in readyQueues.size - 1 downTo 0) {
          val queue = readyQueues[i]
          queue.cancelAllAndDecide()
          if (queue.futureTasks.isEmpty()) {
            readyQueues.removeAt(i)
          }
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 11:30:11 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/GeneralRange.java

      }
    
      /**
       * Returns everything above the endpoint relative to the specified comparator, with the specified
       * endpoint behavior.
       */
      static <T extends @Nullable Object> GeneralRange<T> downTo(
          Comparator<? super T> comparator, @ParametricNullness T endpoint, BoundType boundType) {
        return new GeneralRange<>(comparator, true, endpoint, boundType, false, null, OPEN);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

     */
    internal fun String.indexOfLastNonAsciiWhitespace(
      startIndex: Int = 0,
      endIndex: Int = length,
    ): Int {
      for (i in endIndex - 1 downTo startIndex) {
        when (this[i]) {
          '\t', '\n', '\u000C', '\r', ' ' -> Unit
          else -> return i + 1
        }
      }
      return startIndex
    }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/GeneralRange.java

      }
    
      /**
       * Returns everything above the endpoint relative to the specified comparator, with the specified
       * endpoint behavior.
       */
      static <T extends @Nullable Object> GeneralRange<T> downTo(
          Comparator<? super T> comparator, @ParametricNullness T endpoint, BoundType boundType) {
        return new GeneralRange<>(comparator, true, endpoint, boundType, false, null, OPEN);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Range.java

      /**
       * Returns a range from the given endpoint, which may be either inclusive (closed) or exclusive
       * (open), with no upper bound.
       *
       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> downTo(C endpoint, BoundType boundType) {
        switch (boundType) {
          case OPEN:
            return greaterThan(endpoint);
          case CLOSED:
            return atLeast(endpoint);
        }
        throw new AssertionError();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Range.java

      /**
       * Returns a range from the given endpoint, which may be either inclusive (closed) or exclusive
       * (open), with no upper bound.
       *
       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> downTo(C endpoint, BoundType boundType) {
        switch (boundType) {
          case OPEN:
            return greaterThan(endpoint);
          case CLOSED:
            return atLeast(endpoint);
        }
        throw new AssertionError();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/TreeRangeSet.java

          return subMap(Range.upTo(toKey, BoundType.forBoolean(inclusive)));
        }
    
        @Override
        public NavigableMap<Cut<C>, Range<C>> tailMap(Cut<C> fromKey, boolean inclusive) {
          return subMap(Range.downTo(fromKey, BoundType.forBoolean(inclusive)));
        }
    
        @Override
        public Comparator<? super Cut<C>> comparator() {
          return Ordering.natural();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/RangeTest.java

      }
    
      public void testEquivalentFactories() {
        new EqualsTester()
            .addEqualityGroup(Range.all())
            .addEqualityGroup(Range.atLeast(1), Range.downTo(1, CLOSED))
            .addEqualityGroup(Range.greaterThan(1), Range.downTo(1, OPEN))
            .addEqualityGroup(Range.atMost(7), Range.upTo(7, CLOSED))
            .addEqualityGroup(Range.lessThan(7), Range.upTo(7, OPEN))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/RangeTest.java

      }
    
      public void testEquivalentFactories() {
        new EqualsTester()
            .addEqualityGroup(Range.all())
            .addEqualityGroup(Range.atLeast(1), Range.downTo(1, CLOSED))
            .addEqualityGroup(Range.greaterThan(1), Range.downTo(1, OPEN))
            .addEqualityGroup(Range.atMost(7), Range.upTo(7, CLOSED))
            .addEqualityGroup(Range.lessThan(7), Range.upTo(7, OPEN))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        rangesBuilder.add(Range.<Integer>all());
        for (int i = -2; i <= 2; i++) {
          for (BoundType boundType : BoundType.values()) {
            rangesBuilder.add(Range.upTo(i, boundType));
            rangesBuilder.add(Range.downTo(i, boundType));
          }
          for (int j = i + 1; j <= 2; j++) {
            for (BoundType lbType : BoundType.values()) {
              for (BoundType ubType : BoundType.values()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 21.7K bytes
    - Click Count (0)
Back to Top