Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for moltes (0.14 sec)

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

       * that gets messy here, and we already have null tests for Range.
       */
    
      /*
       * These generators also rely on consecutive integer inputs (not necessarily in order, but no
       * holes).
       */
    
      // SetCreationTester has some tests that pass in duplicates. Dedup them.
      private static <E extends Comparable<? super E>> SortedSet<E> nullCheckedTreeSet(E[] elements) {
        SortedSet<E> set = newTreeSet();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       * a "hole" in it so that set tests of {@code ContiguousSet} can suppress them with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      /*
       * TODO(cpovirk): or we could make HOLES_FORBIDDEN a feature. Or we could declare that
       * implementations are permitted to throw IAE if a hole is requested, and we could update
       * test*Hole to permit IAE. (But might this ignore genuine bugs?) But see the TODO above
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java

     * Read for instance http://docs.codehaus.org/display/MAVEN/Deterministic+Lifecycle+Planning
     * </p>
     * <p>
     * In their current implementation they are "bolted" onto the lifecycle by separating them
     * into TaskSegments. This class represents the execution context of one such task segment.
     * </p>
     * <p>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/IntMathTest.java

        int x = 1000000;
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(6, IntMath.log10(x, mode));
        }
      }
    
      // Simple test to cover sqrt(0) for all types and all modes.
      @GwtIncompatible // sqrt
      public void testSqrtZeroAlwaysZero() {
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(0, IntMath.sqrt(0, mode));
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/DoubleMathTest.java

    import static com.google.common.collect.Iterables.size;
    import static com.google.common.math.MathTesting.ALL_DOUBLE_CANDIDATES;
    import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
    import static com.google.common.math.MathTesting.DOUBLE_CANDIDATES_EXCEPT_NAN;
    import static com.google.common.math.MathTesting.FINITE_DOUBLE_CANDIDATES;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/MathTesting.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    public class MathTesting {
      static final ImmutableSet<RoundingMode> ALL_ROUNDING_MODES =
          ImmutableSet.copyOf(RoundingMode.values());
    
      static final ImmutableList<RoundingMode> ALL_SAFE_ROUNDING_MODES =
          ImmutableList.of(DOWN, UP, FLOOR, CEILING, HALF_EVEN, HALF_UP, HALF_DOWN);
    
      // Exponents to test for the pow() function.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Optional.java

       * Optional<T>}. Casting either of the above example {@code Optional} instances to {@code
       * Optional<Number>} (where {@code Number} is the desired output type) solves the problem:
       *
       * <pre>{@code
       * Optional<Number> optionalInt = (Optional) getSomeOptionalInt();
       * Number value = optionalInt.or(0.5); // fine
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/LineProcessor.java

     * A callback to be used with the streaming {@code readLines} methods.
     *
     * <p>{@link #processLine} will be called for each line that is read, and should return {@code
     * false} when you want to stop processing.
     *
     * @author Miles Barr
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface LineProcessor<T extends @Nullable Object> {
    
      /**
       * This method will be called once for each line.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

       * that gets messy here, and we already have null tests for Range.
       */
    
      /*
       * These generators also rely on consecutive integer inputs (not necessarily in order, but no
       * holes).
       */
    
      // SetCreationTester has some tests that pass in duplicates. Dedup them.
      private static <E extends Comparable<? super E>> SortedSet<E> nullCheckedTreeSet(E[] elements) {
        SortedSet<E> set = newTreeSet();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       * a "hole" in it so that set tests of {@code ContiguousSet} can suppress them with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      /*
       * TODO(cpovirk): or we could make HOLES_FORBIDDEN a feature. Or we could declare that
       * implementations are permitted to throw IAE if a hole is requested, and we could update
       * test*Hole to permit IAE. (But might this ignore genuine bugs?) But see the TODO above
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
Back to top