Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CountDownLatch (0.14 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      public void testAsMapDuringLoading() throws InterruptedException, ExecutionException {
        final CountDownLatch getStartedSignal = new CountDownLatch(2);
        final CountDownLatch letGetFinishSignal = new CountDownLatch(1);
        final CountDownLatch getFinishedSignal = new CountDownLatch(2);
        final String getKey = "get";
        final String refreshKey = "refresh";
        final String suffix = "Suffix";
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val responseDequeuedLatches =
          Arrays.asList(
            CountDownLatch(1),
            // No synchronization for the last request, which is not canceled:
            CountDownLatch(1),
            CountDownLatch(0),
          )
        val requestCanceledLatches =
          Arrays.asList(
            CountDownLatch(1),
            CountDownLatch(1),
            CountDownLatch(0),
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

    import assertk.assertions.isLessThan
    import assertk.assertions.isTrue
    import java.io.EOFException
    import java.io.IOException
    import java.io.InterruptedIOException
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicInteger
    import kotlin.test.assertFailsWith
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.TestUtil.headerEntries
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/EventListenerTest.kt

    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.net.UnknownHostException
    import java.time.Duration
    import java.util.Arrays
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketPolicy.DisconnectDuringRequestBody
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
Back to top