Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 132 for fess (0.12 sec)

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

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class TreeMultimapExplicitTest extends TestCase {
    
      /**
       * Compare strings lengths, and if the lengths are equal compare the strings. A {@code null} is
       * less than any non-null value.
       */
      private enum StringLength implements Comparator<@Nullable String> {
        COMPARATOR;
    
        @Override
        public int compare(@Nullable String first, @Nullable String second) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Utf8.java

        int utf8Length = utf16Length;
        int i = 0;
    
        // This loop optimizes for pure ASCII.
        while (i < utf16Length && sequence.charAt(i) < 0x80) {
          i++;
        }
    
        // This loop optimizes for chars less than 0x800.
        for (; i < utf16Length; i++) {
          char c = sequence.charAt(i);
          if (c < 0x800) {
            utf8Length += ((0x7f - c) >>> 31); // branch free!
          } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

      }
    
      public void testExpectedFpp() {
        BloomFilter<Object> bf = BloomFilter.create(HashTestUtils.BAD_FUNNEL, 10, 0.03);
        double fpp = bf.expectedFpp();
        assertEquals(0.0, fpp);
        // usually completed in less than 200 iterations
        while (fpp != 1.0) {
          boolean changed = bf.put(new Object());
          double newFpp = bf.expectedFpp();
          // if changed, the new fpp is strictly higher, otherwise it is the same
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public abstract class FluentFuture<V extends @Nullable Object>
        extends GwtFluentFutureCatchingSpecialization<V> {
    
      /**
       * A less abstract subclass of AbstractFuture. This can be used to optimize setFuture by ensuring
       * that {@link #get} calls exactly the implementation of {@link AbstractFuture#get}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  5. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          stopwatch.sleepMillis(rate * 1000);
          limiter.setRate(rate);
          long burst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // we allow one second worth of work to go in a burst (i.e. take less than a second)
          assertTrue(burst <= 1000);
          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // but work beyond that must take at least one second
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

          ValueEntry<K, V> entry) {
        succeedsInMultimap(entry.getPredecessorInMultimap(), entry.getSuccessorInMultimap());
      }
    
      /**
       * LinkedHashMultimap entries are in no less than three coexisting linked lists: a bucket in the
       * hash table for a {@code Set<V>} associated with a key, the linked list of insertion-ordered
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible
      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(BigInteger.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 Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          for (int i = 0; i < params.size(); i++) {
            TypeToken<?> paramType = type.resolveType(typeVars[i]);
            // We require all @Generates methods to either be parameter-less or accept non-null
            // values for their generic parameter types.
            Object argValue = generate(paramType);
            if (argValue == null) {
              // When a parameter of a @Generates method cannot be created,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible
      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(BigInteger.valueOf((1L << 54) + 1))
            .setExpectation(twoToThe54, DOWN, FLOOR, HALF_DOWN, HALF_UP, HALF_EVEN)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
Back to top