Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 105 for fess (0.22 sec)

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

            || (stimuli.length >= 5 && removes > 2)) {
          // removes are the most expensive thing to test, since they often throw exceptions with stack
          // traces, so we test them a bit less aggressively
          return;
        }
    
        MultiExceptionListIterator reference = new MultiExceptionListIterator(expectedElements);
        I target = newTargetIterator();
        for (int i = 0; i < stimuli.length; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * translates to "almost empty buffers", which can be filled immediately.
       *
       * On the other hand, past underutilization could mean that "the server responsible for handling
       * the request has become less ready for future requests", i.e. its caches become stale, and
       * requests become more likely to trigger expensive operations (a more extreme case of this
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Converter.java

         * Luckily, our nullness checker is smart enough to realize that `convert` has @PolyNull-like
         * behavior, so it knows that `convert(a)` returns a non-nullable value, and we don't need to
         * perform even a cast, much less a runtime check.
         *
         * All that said, don't forget that everyone should call converter.convert() instead of
         * converter.apply(), anyway. If clients use only converter.convert(), then their nullness
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .test();
      }
    
      public void testRoundToDouble_twoToThe54PlusOne() {
        double twoToThe54 = Math.pow(2, 54);
        // the representable doubles are 2^54 and 2^54 + 4
        // 2^54+1 is less than halfway between, so HALF_DOWN and HALF_UP will both go down.
        new RoundToDoubleTester(BigDecimal.valueOf((1L << 54) + 1))
            .setExpectation(twoToThe54, DOWN, FLOOR, HALF_DOWN, HALF_UP, HALF_EVEN)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashSet.java

       * part of the smeared hash of the element not covered by the hashtable mask, whereas the low bits
       * are the "next" pointer (pointing to the next entry in the bucket chain), which will always be
       * less than or equal to the hashtable mask.
       *
       * <pre>
       * hash  = aaaaaaaa
       * mask  = 00000fff
       * next  = 00000bbb
       * entry = aaaaabbb
       * </pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/PreconditionsTest.java

        try {
          Preconditions.checkElementIndex(1, 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
          assertThat(expected).hasMessageThat().isEqualTo("index (1) must be less than size (1)");
        }
      }
    
      public void testCheckElementIndex_withDesc_negative() {
        try {
          Preconditions.checkElementIndex(-1, 1, "foo");
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/DiscreteDomain.java

      @CheckForNull
      public abstract C next(C value);
    
      /**
       * Returns the unique greatest value of type {@code C} that is less than {@code value}, or {@code
       * null} if none exists. Inverse operation to {@link #next}.
       *
       * @param value any value of type {@code C}
       * @return the greatest value less than {@code value}, or {@code null} if {@code value} is {@code
       *     minValue()}
       */
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Floats.java

       * Math#min(float, float)}.
       *
       * @param array a <i>nonempty</i> array of {@code float} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
      @GwtIncompatible(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedInts.java

       *
       * @param a the first unsigned {@code int} to compare
       * @param b the second unsigned {@code int} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      public static int compare(int a, int b) {
        return Ints.compare(flip(a), flip(b));
      }
    
      /**
    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)
  10. android/guava/src/com/google/common/math/IntMath.java

          throw new ArithmeticException("ceilingPowerOfTwo(" + x + ") not representable as an int");
        }
        return 1 << -Integer.numberOfLeadingZeros(x - 1);
      }
    
      /**
       * Returns the largest power of two less than or equal to {@code x}. This is equivalent to {@code
       * checkedPow(2, log2(x, FLOOR))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @since 20.0
       */
      public static int floorPowerOfTwo(int x) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
Back to top