Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for CEILING (0.04 sec)

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

      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCeilingHole() {
        resetWithHole();
        assertEquals(a, navigableSet.ceiling(a));
        assertEquals(c, navigableSet.ceiling(b));
        assertEquals(c, navigableSet.ceiling(c));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testHigherHole() {
        resetWithHole();
        assertEquals(c, navigableSet.higher(a));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
    import static java.math.RoundingMode.CEILING;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.BigInteger;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

      }
    
      @Override
      public @Nullable E ceiling(@ParametricNullness E e) {
        return delegate().ceiling(e);
      }
    
      /**
       * A sensible definition of {@link #ceiling} in terms of the {@code iterator} method of {@link
       * #tailSet(Object, boolean)}. If you override {@link #tailSet(Object, boolean)}, you may wish to
       * override {@link #ceiling} to forward to this implementation.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCeilingHole() {
        resetWithHole();
        assertEquals(a, navigableSet.ceiling(a));
        assertEquals(c, navigableSet.ceiling(b));
        assertEquals(c, navigableSet.ceiling(c));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testHigherHole() {
        resetWithHole();
        assertEquals(c, navigableSet.higher(a));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

    import static com.google.common.math.MathBenchmarking.ARRAY_MASK;
    import static com.google.common.math.MathBenchmarking.ARRAY_SIZE;
    import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE;
    import static java.math.RoundingMode.CEILING;
    
    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.BigInteger;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/ToDoubleRounder.java

              return Double.MAX_VALUE * sign(x);
            case FLOOR:
              return (roundArbitrarily == Double.POSITIVE_INFINITY)
                  ? Double.MAX_VALUE
                  : Double.NEGATIVE_INFINITY;
            case CEILING:
              return (roundArbitrarily == Double.POSITIVE_INFINITY)
                  ? Double.POSITIVE_INFINITY
                  : -Double.MAX_VALUE;
            case UP:
              return roundArbitrarily;
            case UNNECESSARY:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingNavigableSet.java

      }
    
      @Override
      public @Nullable E ceiling(@ParametricNullness E e) {
        return delegate().ceiling(e);
      }
    
      /**
       * A sensible definition of {@link #ceiling} in terms of the {@code iterator} method of {@link
       * #tailSet(Object, boolean)}. If you override {@link #tailSet(Object, boolean)}, you may wish to
       * override {@link #ceiling} to forward to this implementation.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      }
    
      @Override
      public @Nullable E lower(E element) {
        return forward.higher(element);
      }
    
      @Override
      public @Nullable E floor(E element) {
        return forward.ceiling(element);
      }
    
      @Override
      public @Nullable E ceiling(E element) {
        return forward.floor(element);
      }
    
      @Override
      public @Nullable E higher(E element) {
        return forward.lower(element);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

      private static final double[] doubleInLongRange = new double[ARRAY_SIZE];
      private static final double[] positiveDoubles = new double[ARRAY_SIZE];
    
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          doubleInIntRange[i] = randomDouble(Integer.SIZE - 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

        for (E e : collection) {
          checkValid(e);
        }
        return delegate.addAll(collection);
      }
    
      @Override
      public @Nullable E ceiling(E e) {
        return delegate.ceiling(checkValid(e));
      }
    
      @Override
      public void clear() {
        delegate.clear();
      }
    
      @Override
      public Comparator<? super E> comparator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top