Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for show (0.13 sec)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

          runnables = null; // allow GC to free listeners even if this stays around for a while.
        }
        // If we succeeded then list holds all the runnables we to execute. The pairs in the stack are
        // in the opposite order from how they were added so we need to reverse the list to fulfill our
        // contract.
        // This is somewhat annoying, but turns out to be very fast in practice. Alternatively, we could
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *       }
     *     };
     * iteratorTester.test();
     * iteratorTester.testForEachRemaining();
     * }</pre>
     *
     * <p><b>Note</b>: It is necessary to use {@code IteratorTester.KnownOrder} as shown above, rather
     * than {@code KnownOrder} directly, because otherwise the code cannot be compiled.
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A simplistic set which implements the bare minimum so that it can be used in tests without
     * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they
     * can be used in the testers.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A simplistic set which implements the bare minimum so that it can be used in tests without
     * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they
     * can be used in the testers.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

    /** Tests for {@link AbstractSequentialIterator}. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class AbstractSequentialIteratorTest extends TestCase {
      @GwtIncompatible // Too slow
      public void testDoublerExhaustive() {
        new IteratorTester<Integer>(
            3, UNMODIFIABLE, ImmutableList.of(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 17:19:08 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/WrongType.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A type which will never be used as the element type of any collection in our tests, and so can be
     * used to test how a Collection behaves when given input of the wrong type.
     */
    @GwtCompatible
    public enum WrongType {
      VALUE
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 934 bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

        super(new DataOutputStream(Preconditions.checkNotNull(out)));
      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        // Override slow FilterOutputStream impl
        out.write(b, off, len);
      }
    
      @Override
      public void writeBoolean(boolean v) throws IOException {
        ((DataOutputStream) out).writeBoolean(v);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

     *
     * @author Kurt Alfred Kluever
     */
    public class MessageDigestHashFunctionTest extends TestCase {
      private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar");
    
      // From "How Provider Implementations Are Requested and Supplied" from
      // http://docs.oracle.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html
      //  - Some providers may choose to also include alias names.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    
    /** A benchmark that times how long it takes to add a given number of */
    @VmOptions({"-Xms8g", "-Xmx8g"})
    public class SingleThreadAbstractFutureBenchmark {
      @Param Impl impl;
    
      private final Exception exception = new Exception();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jul 16 17:22:27 GMT 2019
    - 3.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/NullnessCasts.java

       * code would be responsible for populating a "real" {@code T} (which might still be the value
       * {@code null}!) before returning it to callers. Depending on how the code is structured, a
       * nullness analysis might not understand that the field has been populated. To avoid that problem
       * without having to add {@code @SuppressWarnings}, the code can call this method.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
Back to top