Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for tooHigh (0.04 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          if (set.isEmpty()) {
            /*
             * The (tooLow + 1, tooHigh) arguments below would be invalid because tooLow would be
             * greater than tooHigh.
             */
            return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1);
          }
          int tooHigh = set.last() + 1;
          int tooLow = set.first() - 1;
          set.add(tooHigh);
          set.add(tooLow);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          if (set.isEmpty()) {
            /*
             * The (tooLow + 1, tooHigh) arguments below would be invalid because tooLow would be
             * greater than tooHigh.
             */
            return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1);
          }
          int tooHigh = set.last() + 1;
          int tooLow = set.first() - 1;
          set.add(tooHigh);
          set.add(tooLow);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

                range.contains(i));
            assertEquals(
                ORDERING.compare(i, 3) < 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN),
                range.tooLow(i));
            assertFalse(range.tooHigh(i));
          }
        }
      }
    
      public void testUpperRange() {
        for (BoundType lBoundType : BoundType.values()) {
          GeneralRange<@Nullable Integer> range = GeneralRange.upTo(ORDERING, 3, lBoundType);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

                range.contains(i));
            assertEquals(
                ORDERING.compare(i, 3) < 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN),
                range.tooLow(i));
            assertFalse(range.tooHigh(i));
          }
        }
      }
    
      public void testUpperRange() {
        for (BoundType lBoundType : BoundType.values()) {
          GeneralRange<@Nullable Integer> range = GeneralRange.upTo(ORDERING, 3, lBoundType);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeMultiset.java

          @Nullable Entry<E> prevEntry;
    
          @Override
          public boolean hasNext() {
            if (current == null) {
              return false;
            } else if (range.tooHigh(current.getElement())) {
              current = null;
              return false;
            } else {
              return true;
            }
          }
    
          @Override
          public Entry<E> next() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Internal.java

        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
        }
      }
    
      private Internal() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Internal.java

        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
        }
      }
    
      private Internal() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Internal.java

        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
        }
      }
    
      private Internal() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/CacheBuilder.java

        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top