Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 679 for MIN (0.03 seconds)

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

        // Reject NaN by testing for the good case (min <= max) instead of the bad (min > max).
        if (min <= max) {
          return Math.min(Math.max(value, min), max);
        }
        throw new IllegalArgumentException(
            lenientFormat("min (%s) must be less than or equal to max (%s)", min, max));
      }
    
      /**
       * Returns the values from each provided array combined into a single array. For example, {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java

        return Ordering.natural();
      }
    
      // Override the min/max methods to "hoist" delegation outside loops
    
      @Override
      public <E extends Comparable<?>> E min(E a, E b) {
        return NaturalOrdering.INSTANCE.max(a, b);
      }
    
      @Override
      public <E extends Comparable<?>> E min(E a, E b, E c, E... rest) {
        return NaturalOrdering.INSTANCE.max(a, b, c, rest);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/SetViewTest.java

      /**
       * Returns a {@link SetView} with a {@link SetView#minSize()} of {@code min} and a {@link
       * SetView#maxSize()} of {@code max}.
       */
      private static SetView<Integer> setSizeRange(int min, int max) {
        checkArgument(min >= 0 && max >= min);
        SetView<Integer> set = difference(setSize(max), setSize(max - min));
        checkState(set.minSize() == min && set.maxSize() == max);
        return set;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

          }
          double min = accumulator.min();
          double minByAddAllStats = accumulatorByAddAllStats.min();
          if (values.hasAnyNaN()) {
            assertWithMessage("min of %s", values).that(min).isNaN();
            assertWithMessage("min by addAll(Stats) of %s", values).that(minByAddAllStats).isNaN();
          } else if (values.hasAnyNegativeInfinity()) {
            assertWithMessage("min of %s", values).that(min).isNegativeInfinity();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/StatsAccumulator.java

            sumOfSquaresOfDeltas = NaN;
          }
          min = Math.min(min, otherMin);
          max = Math.max(max, otherMax);
        }
      }
    
      /** Returns an immutable snapshot of the current statistics. */
      public Stats snapshot() {
        return new Stats(count, mean, sumOfSquaresOfDeltas, min, max);
      }
    
      /** Returns the number of values. */
      public long count() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/DialectVersion.java

            return b;
        }
    
        /**
         * Creates a range of dialect versions between min and max.
         *
         * @param min
         *            may be null for open end
         * @param max
         *            may be null for open end
         * @return range of versions
         */
        public static Set<DialectVersion> range(final DialectVersion min, final DialectVersion max) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/primitives/SignedBytes.java

       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
      public static byte min(byte... array) {
        checkArgument(array.length > 0);
        byte min = array[0];
        for (int i = 1; i < array.length; i++) {
          if (array[i] < min) {
            min = array[i];
          }
        }
        return min;
      }
    
      /**
       * Returns the greatest value present in {@code array}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/math/Stats.java

       *       Double#NaN}.
       * </ul>
       */
      Stats(long count, double mean, double sumOfSquaresOfDeltas, double min, double max) {
        this.count = count;
        this.mean = mean;
        this.sumOfSquaresOfDeltas = sumOfSquaresOfDeltas;
        this.min = min;
        this.max = max;
      }
    
      /**
       * Returns statistics over a dataset containing the given values.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 25.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

        // method signature: we always search to the end of the array.
        int min = from;
        for (int i = from + 1; i < array.length; i++) {
          if (array[min] > array[i]) {
            min = i;
          }
        }
        return array[min];
      }
    
      static double select(int k, double[] array) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

         * Set to -1 to disable automatic cleanup.
         */
        @Required
        @Min(-1)
        @Max(1000)
        @ValidateTypeFailure
        public Integer dayForCleanup;
    
        /**
         * Number of threads to use for crawling operations.
         * Higher values increase crawling speed but consume more resources.
         */
        @Required
        @Min(0)
        @Max(100)
        @ValidateTypeFailure
        public Integer crawlingThreadCount;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 15.8K bytes
    - Click Count (0)
Back to Top