Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for callCount (0.66 sec)

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

                  public Object load(String key) throws InterruptedException {
                    callCount.incrementAndGet();
                    startSignal.await();
                    return result;
                  }
                });
    
        List<Object> resultArray = doConcurrentGet(cache, "bar", count, startSignal);
    
        assertEquals(1, callCount.get());
        for (int i = 0; i < count; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

              clientTestRule.wrap(
                object : EventListener() {
                  var callCount = 0
    
                  override fun connectionAcquired(
                    call: Call,
                    connection: Connection,
                  ) {
                    try {
                      if (callCount++ == 1) {
                        server.close()
                      }
                    } catch (e: IOException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
Back to top