Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 565 for max (0.12 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        ms.add("a", Integer.MAX_VALUE);
        ms.add("b", Integer.MAX_VALUE);
        ms.add("c", 3);
    
        assertEquals(Integer.MAX_VALUE, ms.count("a"));
        assertEquals(Integer.MAX_VALUE, ms.count("b"));
        assertEquals(3, ms.count("c"));
    
        assertEquals(Integer.MAX_VALUE, ms.headMultiset("c", CLOSED).size());
        assertEquals(Integer.MAX_VALUE, ms.headMultiset("b", CLOSED).size());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      /**
       * Creates a new min-max priority queue with default settings: natural order, no maximum size, no
       * initial contents, and an initial expected size of 11.
       */
      public static <E extends Comparable<E>> MinMaxPriorityQueue<E> create() {
        return new Builder<Comparable<E>>(Ordering.natural()).create();
      }
    
      /**
       * Creates a new min-max priority queue using natural order, no maximum size, and initially
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        Double.NEGATIVE_INFINITY,
        -Double.MAX_VALUE,
        (double) Long.MIN_VALUE,
        (double) Integer.MIN_VALUE,
        -Math.PI,
        -1.0,
        -Double.MIN_VALUE,
        -0.0,
        +0.0,
        Double.MIN_VALUE,
        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
        Double.NaN,
        Float.MAX_VALUE,
      };
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedInts.java

       * @throws IllegalArgumentException if {@code array} is empty
       */
      public static int max(int... array) {
        checkArgument(array.length > 0);
        int max = flip(array[0]);
        for (int i = 1; i < array.length; i++) {
          int next = flip(array[i]);
          if (next > max) {
            max = next;
          }
        }
        return flip(max);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/QueuesTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Long.MAX_VALUE;
    import static java.lang.Thread.currentThread;
    import static java.util.concurrent.Executors.newCachedThreadPool;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsElevateWordCA.java

                opLambda.callback(builder);
            }
        }
    
        public void setBoost_Max() {
            setBoost_Max(null);
        }
    
        public void setBoost_Max(ConditionOptionCall<MaxAggregationBuilder> opLambda) {
            setBoost_Max("boost", opLambda);
        }
    
        public void setBoost_Max(String name, ConditionOptionCall<MaxAggregationBuilder> opLambda) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 54.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      }
    
      public void testInfinity_Bursty() {
        RateLimiter limiter = RateLimiter.create(Double.POSITIVE_INFINITY, stopwatch);
        limiter.acquire(Integer.MAX_VALUE / 4);
        limiter.acquire(Integer.MAX_VALUE / 2);
        limiter.acquire(Integer.MAX_VALUE);
        assertEvents("R0.00", "R0.00", "R0.00"); // no wait, infinite rate!
    
        limiter.setRate(2.0);
        limiter.acquire();
        limiter.acquire();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheStats.java

        return new CacheStats(
            Math.max(0, saturatedSubtract(hitCount, other.hitCount)),
            Math.max(0, saturatedSubtract(missCount, other.missCount)),
            Math.max(0, saturatedSubtract(loadSuccessCount, other.loadSuccessCount)),
            Math.max(0, saturatedSubtract(loadExceptionCount, other.loadExceptionCount)),
            Math.max(0, saturatedSubtract(totalLoadTime, other.totalLoadTime)),
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/CacheStats.java

        return new CacheStats(
            Math.max(0, saturatedSubtract(hitCount, other.hitCount)),
            Math.max(0, saturatedSubtract(missCount, other.missCount)),
            Math.max(0, saturatedSubtract(loadSuccessCount, other.loadSuccessCount)),
            Math.max(0, saturatedSubtract(loadExceptionCount, other.loadExceptionCount)),
            Math.max(0, saturatedSubtract(totalLoadTime, other.totalLoadTime)),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webconfig/CreateForm.java

        public String excludedUrls;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String includedDocUrls;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String excludedDocUrls;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String configParameter;
    
        @Min(value = 0)
        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer depth;
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top