Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 125 for sLen (0.06 sec)

  1. docs/en/docs/advanced/async-tests.md

    # Async Tests { #async-tests }
    
    You have already seen how to test your **FastAPI** applications using the provided `TestClient`. Up to now, you have only seen how to write synchronous tests, without using `async` functions.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/SettableFuture.java

     * error. If your needs are more complex than {@code SettableFuture} supports, use {@link
     * AbstractFuture}, which offers an extensible version of the API.
     *
     * @author Sven Mawson
     * @since 9.0 (in 1.0 as {@code ValueFuture})
     */
    @GwtCompatible
    public final class SettableFuture<V extends @Nullable Object>
        extends AbstractFuture.TrustedFuture<V> {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

    import java.util.concurrent.ExecutorService;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test case for {@link ListenableFutureTask}.
     *
     * @author Sven Mawson
     */
    @NullUnmarked
    public class ListenableFutureTaskTest extends TestCase {
    
      private ExecutorService exec;
    
      protected final CountDownLatch runLatch = new CountDownLatch(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link ExecutionList}.
     *
     * @author Nishant Thakkar
     * @author Sven Mawson
     */
    @NullUnmarked
    public class ExecutionListTest extends TestCase {
    
      private final ExecutionList list = new ExecutionList();
    
      public void testRunOnPopulatedList() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AggregateFutureState.java

        if (seenExceptions == null) {
          seenExceptions = newHashSet();
          addInitialException(seenExceptions);
        }
        return seenExceptions;
      }
    
      abstract void addInitialException(Set<Throwable> seen);
    
      final int decrementRemainingAndGet() {
        return --remaining;
      }
    
      final void clearSeenExceptions() {
        seenExceptions = null;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get
     * methods and the addListener method.
     *
     * @author Sven Mawson
     * @since 10.0
     */
    @GwtIncompatible
    public abstract class AbstractListenableFutureTest extends TestCase {
    
      protected CountDownLatch latch;
      protected ListenableFuture<Boolean> future;
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
        misses.set(0);
      }
    
      @Benchmark
      int time(int reps) {
        int dummy = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

    import java.util.concurrent.ExecutorService;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test case for {@link ListenableFutureTask}.
     *
     * @author Sven Mawson
     */
    @NullUnmarked
    public class ListenableFutureTaskTest extends TestCase {
    
      private ExecutorService exec;
    
      protected final CountDownLatch runLatch = new CountDownLatch(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test cases for {@link SettableFuture}.
     *
     * @author Sven Mawson
     */
    @NullUnmarked
    public class SettableFutureTest extends TestCase {
    
      private SettableFuture<String> future;
      private ListenableFutureTester tester;
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link ExecutionList}.
     *
     * @author Nishant Thakkar
     * @author Sven Mawson
     */
    @NullUnmarked
    public class ExecutionListTest extends TestCase {
    
      private final ExecutionList list = new ExecutionList();
    
      public void testRunOnPopulatedList() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top