Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 366 for _max (0.03 sec)

  1. 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() {
        return count;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Doubles.java

      public static double max(double... array) {
        checkArgument(array.length > 0);
        double max = array[0];
        for (int i = 1; i < array.length; i++) {
          max = Math.max(max, array[i]);
        }
        return max;
      }
    
      /**
       * Returns the value nearest to {@code value} which is within the closed range {@code [min..max]}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

      Random random = new Random();
    
      LoadingCache<Integer, Integer> cache;
    
      int max;
    
      static AtomicLong requests = new AtomicLong(0);
      static AtomicLong misses = new AtomicLong(0);
    
      @BeforeExperiment
      void setUp() {
        // random integers will be generated in this range, then raised to the
        // power of (1/concentration) and floor()ed
        max = Ints.checkedCast((long) Math.pow(distinctKeys, concentration));
    
        cache =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/DoublesMethodsForWeb.java

    public abstract class DoublesMethodsForWeb {
    
      @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL)
      public static native double min(double... array);
    
      @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL)
      public static native double max(double... array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 26 00:50:12 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

        // Test field with CustomSize annotation for testing
        @CustomSize(minKey = "test.min", maxKey = "test.max")
        private String testField;
    
        // Test field with only minKey
        @CustomSize(minKey = "test.min.only")
        private String testFieldMinOnly;
    
        // Test field with only maxKey
        @CustomSize(maxKey = "test.max.only")
        private String testFieldMaxOnly;
    
        // Test field with custom message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java

            assertTrue(result instanceof DefaultQueryBuilder);
    
        }
    
        // Test convertFuzzyQuery with different max edits
        public void test_convertFuzzyQuery_withMaxEdits() {
            QueryContext context = new QueryContext("test", false);
    
            // Test with max edits = 0
            Term term0 = new Term("title", "exact");
            FuzzyQuery fuzzyQuery0 = new FuzzyQuery(term0, 0);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Chars.java

       * @since 21.0
       */
      public static char constrainToRange(char value, char min, char max) {
        checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max);
        return value < min ? min : value < max ? value : max;
      }
    
      /**
       * Returns the values from each provided array combined into a single array. For example, {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java

        public void test_addConstraintsSizeMessage() {
            String property = "testProperty";
            String min = "1";
            String max = "10";
            FessMessages result = messages.addConstraintsSizeMessage(property, min, max);
            assertNotNull(result);
            assertSame(messages, result);
            assertTrue(messages.hasMessageOf(property));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/EditForm.java

         */
        @Required
        @Size(max = 1000)
        public String id;
    
        /**
         * The session identifier of the crawling session.
         * This is a required field that identifies the specific crawling session.
         * Maximum length is 20 characters.
         */
        @Required
        @Size(max = 20)
        public String sessionId;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/plugin/InstallForm.java

     * This class represents the form data structure for installing a plugin
     * via file upload through the admin UI.
     */
    public class InstallForm {
    
        /** Plugin identifier (required, max 400 characters) */
        @Required
        @Size(max = 400)
        public String id;
    
        /**
         * Default constructor.
         */
        public InstallForm() {
            // Default constructor
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top