Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 115 for Nelson (0.14 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link AbstractService}.
     *
     * @author Jesse Wilson
     */
    public class AbstractServiceTest extends TestCase {
    
      private static final long LONG_TIMEOUT_MILLIS = 10000;
      private Thread executionThread;
      private Throwable thrownByExecutionThread;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Verify.java

       * Preconditions.checkNotNull.
       *
       * (verifyNotNull has many fewer "problem" callers, so we could try to be stricter. On the other
       * hand, verifyNotNull arguably has more reason to accept nullable arguments in the first
       * place....)
       */
    
      /**
       * Ensures that {@code reference} is non-null, throwing a {@code VerifyException} with a default
       * message otherwise.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       *
       * <p>Assuming we have saturated demand, the time to go from maxPermits to thresholdPermits is
       * equal to warmupPeriod. And the time to go from thresholdPermits to 0 is warmupPeriod/2. (The
       * reason that this is warmupPeriod/2 is to maintain the behavior of the original implementation
       * where coldFactor was hard coded as 3.)
       *
       * <p>It remains to calculate thresholdsPermits and maxPermits.
       *
       * <ul>
    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)
  4. android/guava/src/com/google/common/collect/Lists.java

        return new ArrayList<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements.
       *
       * <p><b>Note:</b> essentially the only reason to use this method is when you will need to add or
       * remove elements later. Otherwise, for non-null elements use {@link ImmutableList#of()} (for
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ImmutableMap}.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("AlwaysThrows")
    @ElementTypesAreNonnullByDefault
    public class ImmutableMapTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMap.java

     * {@link ImmutableCollection}.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @DoNotMock("Use ImmutableMap.of or another implementation")
    @GwtCompatible(serializable = true, emulated = true)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/CombinedFuture.java

        CombinedFutureInterruptibleTask<?> localTask = task;
        if (localTask != null) {
          localTask.execute();
        }
      }
    
      @Override
      void releaseResources(ReleaseResourcesReason reason) {
        super.releaseResources(reason);
        /*
         * If the output future is done, then it won't need to interrupt the task later, so it can clear
         * its reference to it.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/ReserializingTestSetGenerator.java

    import java.util.Set;
    
    /**
     * Reserializes the sets created by another test set generator.
     *
     * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections
     *
     * @author Jesse Wilson
     */
    @GwtIncompatible
    public class ReserializingTestSetGenerator<E> extends ReserializingTestCollectionGenerator<E>
        implements TestSetGenerator<E> {
    
      ReserializingTestSetGenerator(TestSetGenerator<E> delegate) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

        tester.testConstructors(PatternFilenameFilter.class, Visibility.PACKAGE);
        tester.testStaticMethods(PatternFilenameFilter.class, Visibility.PACKAGE); // currently none
    
        // The reason that we skip this method is discussed in a comment on the method.
        tester.ignore(PatternFilenameFilter.class.getMethod("accept", File.class, String.class));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

    import static jsinterop.annotations.JsPackage.GLOBAL;
    
    import jsinterop.annotations.JsMethod;
    import jsinterop.annotations.JsType;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** @author Jesse Wilson */
    final class Platform {
      static CharMatcher precomputeCharMatcher(CharMatcher matcher) {
        // CharMatcher.precomputed() produces CharMatchers that are maybe a little
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 17:58:45 GMT 2023
    - 2K bytes
    - Viewed (0)
Back to top