Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Kuwait (0.24 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        // Cause acceptConnections() to break out.
        serverSocket.close()
    
        // Await shutdown.
        for (queue in taskRunner.activeQueues()) {
          if (!queue.idleLatch().await(5, TimeUnit.SECONDS)) {
            throw IOException("Gave up waiting for queue to shut down")
          }
        }
        taskRunnerBackend.shutdown()
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

        }
      }
    
      /**
       * Like [Object.wait], but throws an [InterruptedIOException] when interrupted instead of the more
       * awkward [InterruptedException].
       */
      @Throws(InterruptedIOException::class)
      internal fun waitForIo() {
        try {
          condition.await()
        } catch (_: InterruptedException) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  3. okhttp/src/test/java/okhttp3/AutobahnTester.kt

              t: Throwable,
              response: Response?,
            ) {
              t.printStackTrace(System.out)
              latch.countDown()
            }
          },
        )
    
        check(latch.await(30, TimeUnit.SECONDS)) { "Timed out waiting for test $number to finish." }
        val endNanos = System.nanoTime()
        val tookMs = TimeUnit.NANOSECONDS.toMillis(endNanos - startNanos.get())
        println("Took ${tookMs}ms")
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt

        val dispatcher: Dispatcher =
          object : Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse {
              if (request.path == firstRequest) {
                latch.await()
              }
              return MockResponse()
            }
          }
        mockWebServer.dispatcher = dispatcher
        val startsFirst = buildRequestThread(firstRequest, firstResponseCode)
        startsFirst.start()
    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)
  5. okhttp/src/test/java/okhttp3/DuplexTest.kt

            override fun responseHeadersEnd(
              call: Call,
              response: Response,
            ) {
              try {
                // Wait for the server to send the duplex response before acting on the 301 response
                // and resetting the stream.
                duplexResponseSent.await()
              } catch (e: InterruptedException) {
                throw AssertionError()
              }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

    import okhttp3.ExperimentalOkHttpApi
    
    /** Handler for mock server requests. */
    @ExperimentalOkHttpApi
    abstract class Dispatcher {
      /**
       * Returns a response to satisfy `request`. This method may block (for instance, to wait on
       * a CountdownLatch).
       */
      @Throws(InterruptedException::class)
      abstract fun dispatch(request: RecordedRequest): MockResponse
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        if (!listRead.get() && listRead.compareAndSet(false, true)) {
          readTheListUninterruptibly()
        } else {
          try {
            readCompleteLatch.await()
          } catch (_: InterruptedException) {
            Thread.currentThread().interrupt() // Retain interrupted status.
          }
        }
    
        check(::publicSuffixListBytes.isInitialized) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt

         * Connections will still be closed if they idle beyond the keep-alive but will be replaced.
         */
        @JvmField val minimumConcurrentCalls: Int = 0,
        /** How long to wait to retry pre-emptive connection attempts that fail. */
        @JvmField val backoffDelayMillis: Long = 60 * 1000,
        /** How much jitter to introduce in connection retry backoff delays */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 20:39:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

                if (sourcePos != upstreamPos) break
    
                // No more data upstream. We're done.
                if (complete) return -1L
    
                // Another thread is already reading. Wait for that.
                if (upstreamReader != null) {
                  timeout.waitUntilNotified(this@Relay)
                  continue
                }
    
                // We will do the read.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  10. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    kerryhotels
    
    // kerrylogistics : 2015-04-09 Kerry Trading Co. Limited
    kerrylogistics
    
    // kerryproperties : 2015-04-09 Kerry Trading Co. Limited
    kerryproperties
    
    // kfh : 2014-12-04 Kuwait Finance House
    kfh
    
    // kia : 2015-07-09 KIA MOTORS CORPORATION
    kia
    
    // kids : 2021-08-13 DotKids Foundation Limited
    kids
    
    // kim : 2013-09-23 Identity Digital Limited
    kim
    
    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)
Back to top