Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for findall (0.23 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

        check(executed.compareAndSet(false, true)) { "Already Executed" }
    
        timeout.enter()
        callStart()
        try {
          client.dispatcher.executed(this)
          return getResponseWithInterceptorChain()
        } finally {
          client.dispatcher.finished(this)
        }
      }
    
      override fun enqueue(responseCallback: Callback) {
        check(executed.compareAndSet(false, true)) { "Already Executed" }
    
        callStart()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          connectSocket()
          success = true
          return ConnectResult(plan = this)
        } catch (e: IOException) {
          user.connectFailed(route, null, e)
          return ConnectResult(plan = this, throwable = e)
        } finally {
          user.removePlanToCancel(this)
          if (!success) {
            rawSocket?.closeQuietly()
          }
        }
      }
    
      override fun connectTlsEtc(): ConnectResult {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

                } ?: return
    
              logger.logElapsed(task, task.queue!!) {
                var completedNormally = false
                try {
                  runTask(task)
                  completedNormally = true
                } finally {
                  // If the task is crashing start another thread to service the queues.
                  if (!completedNormally) {
                    lock.withLock {
                      startAnotherThread()
                    }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        val startedTask = startNextTask()
        val otherTasksStarted = startedTask != yieldCompleteTask
    
        try {
          while (currentTask != self) {
            taskRunner.condition.await()
          }
        } finally {
          serialTaskQueue.remove(yieldCompleteTask)
        }
    
        // If we're yielding until we're exhausted and a task run, keep going until a task doesn't run.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

            streamErrorCode = ErrorCode.CANCEL
          } catch (e: IOException) {
            errorException = e
            connectionErrorCode = ErrorCode.PROTOCOL_ERROR
            streamErrorCode = ErrorCode.PROTOCOL_ERROR
          } finally {
            close(connectionErrorCode, streamErrorCode, errorException)
            reader.closeQuietly()
          }
        }
    
        @Throws(IOException::class)
        override fun data(
          inFinished: Boolean,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

            val doReadTimeout = callerIsIdle || doReadTimeout()
            if (doReadTimeout) {
              readTimeout.enter()
            }
            try {
              waitForIo()
            } finally {
              if (doReadTimeout) {
                readTimeout.exitAndThrowIfTimedOut()
              }
            }
          }
          if (headersQueue.isNotEmpty()) {
            return headersQueue.removeFirst()
          }
    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)
Back to top