Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for join (0.15 sec)

  1. okhttp/src/test/java/okhttp3/DispatcherTest.kt

        assertThat(dispatcher.runningCalls())
          .containsExactlyInAnyOrder(a1, a2)
        assertThat(dispatcher.queuedCalls()).isEmpty()
    
        // Let the calls finish.
        waiting.countDown()
        t1.join()
        t2.join()
    
        // Now we should have 0 running calls and 0 queued calls.
        assertThat(dispatcher.runningCallsCount()).isEqualTo(0)
        assertThat(dispatcher.queuedCallsCount()).isEqualTo(0)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/test/kotlin/okhttp3/OkHttpClientTestRuleTest.kt

        testRule.beforeEach(extensionContext)
    
        val thread =
          object : Thread() {
            override fun run() {
              throw RuntimeException("boom!")
            }
          }
        thread.start()
        thread.join()
    
        assertFailsWith<AssertionError> {
          testRule.afterEach(extensionContext)
        }.also { expected ->
          assertThat(expected).hasMessage("uncaught exception thrown during test")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt

        val endsFirst = buildRequestThread(secondRequest, secondResponseCode)
        endsFirst.start()
        endsFirst.join()
        // First response is still waiting.
        assertThat(firstResponseCode.get()).isEqualTo(0)
        // Second response is done.
        assertThat(secondResponseCode.get()).isEqualTo(200)
        latch.countDown()
        startsFirst.join()
        // And now it's done!
        assertThat(firstResponseCode.get()).isEqualTo(200)
        // (Still done).
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CallTest.kt

          object : EventListener() {
            override fun requestHeadersStart(call: Call) {
              try {
                // Cancel call from another thread to avoid reentrance.
                cancelLater(call, 0).join()
              } catch (e: InterruptedException) {
                throw AssertionError()
              }
            }
          }
        client = client.newBuilder().eventListener(listener).build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  5. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // Submitted by Richard Baker <******@****.***>
    pymnt.uk
    
    // UKHomeOffice : https://www.gov.uk/government/organisations/home-office
    // Submitted by Jon Shanks <jon******@****.***>
    homeoffice.gov.uk
    
    // GlobeHosting, Inc.
    // Submitted by Zoltan Egresi <******@****.***>
    ro.im
    
    // GoIP DNS Services : http://www.goip.de
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  6. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    A8FC          ; valid                  ;      ; NV8    # 8.0  DEVANAGARI SIGN SIDDHAM
    A8FD          ; valid                                  # 8.0  DEVANAGARI JAIN OM
    A8FE..A8FF    ; valid                                  # 11.0 DEVANAGARI LETTER AY..DEVANAGARI VOWEL SIGN AY
    A900..A92D    ; valid                                  # 5.1  KAYAH LI DIGIT ZERO..KAYAH LI TONE CALYA PLOPHU
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
Back to top