Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 502 for Implementation (0.07 sec)

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

     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
     * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for
     * ordinary tests.
     *
     * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time
     * period or an interrupt while waiting for the expected event will result in a {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

          queue.clear();
          for (int j = 0; j < size; j++) {
            // TODO(kevinb): precompute random #s?
            queue.add(random.nextInt());
          }
        }
      }
    
      /**
       * Implementation of the InvertedMinMaxPriorityQueue which forwards all calls to a
       * MinMaxPriorityQueue, except poll, which is forwarded to pollMax. That way we can benchmark
       * pollMax using the same code that benchmarks poll.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractNavigableMap.java

    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.SortedMap;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Skeletal implementation of {@link NavigableMap}.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractNavigableMap<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

        }
        // Waiting 68 years should be enough for any program.
        return super.get(
            min(timeoutNanos, OverflowAvoidingLockSupport.MAX_NANOSECONDS_THRESHOLD), NANOSECONDS);
      }
    
      /** Internal implementation detail used to invoke the listeners. */
      @Override
      protected void done() {
        executionList.execute();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

                + "The correctness of CycleDetectingReentrantReadWriteLock depends on "
                + "the fact that the shadowed ReadLock and WriteLock are never used or "
                + "exposed by the superclass implementation. If the implementation has "
                + "changed, the code must be re-inspected to ensure that the "
                + "assumption is still valid.",
            24,
            ReentrantReadWriteLock.class.getMethods().length);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

                + "The correctness of CycleDetectingReentrantReadWriteLock depends on "
                + "the fact that the shadowed ReadLock and WriteLock are never used or "
                + "exposed by the superclass implementation. If the implementation has "
                + "changed, the code must be re-inspected to ensure that the "
                + "assumption is still valid.",
            24,
            ReentrantReadWriteLock.class.getMethods().length);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a List
     * implementation.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public final class ListTestSuiteBuilder<E>
        extends AbstractCollectionTestSuiteBuilder<ListTestSuiteBuilder<E>, E> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/AsciiTest.java

        // Note that it's possible in future that the JDK's idea to toUpperCase() or equalsIgnoreCase()
        // may change and break assumptions in this test [*]. This is not a bug in the implementation of
        // Ascii.equalsIgnoreCase(), but it is a signal that its documentation may need updating as
        // regards edge cases.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

    import java.util.Collection;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Basic implementation of the {@link SetMultimap} interface. It's a wrapper around {@link
     * AbstractMapBasedMultimap} that converts the returned collections into {@code Sets}. The {@link
     * #createCollection} method must return a {@code Set}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/DoubleUtils.java

        long significand = doubleToRawLongBits(x) & SIGNIFICAND_MASK;
        return longBitsToDouble(significand | ONE_BITS);
      }
    
      static double bigToDouble(BigInteger x) {
        // This is an extremely fast implementation of BigInteger.doubleValue(). JDK patch pending.
        BigInteger absX = x.abs();
        int exponent = absX.bitLength() - 1;
        // exponent == floor(log2(abs(x)))
        if (exponent < Long.SIZE - 1) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top