Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Errorf (0.21 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

        }
        return result
      }
    
      private val Int.punycodeDigit: Int
        get() =
          when {
            this < 26 -> this + 'a'.code
            this < 36 -> (this - 26) + '0'.code
            else -> error("unexpected digit: $this")
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/FailingCall.kt

    open class FailingCall : Call {
      override fun request(): Request = error("unexpected")
    
      override fun execute(): Response = error("unexpected")
    
      override fun enqueue(responseCallback: Callback): Unit = error("unexpected")
    
      override fun cancel(): Unit = error("unexpected")
    
      override fun isExecuted(): Boolean = error("unexpected")
    
      override fun isCanceled(): Boolean = error("unexpected")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

              }
    
              override fun onFailed(
                request: UrlRequest,
                info: UrlResponseInfo?,
                error: HttpException,
              ) {
                println("onSucceeded ${info?.headers?.asMap}")
                completableFuture.completeExceptionally(error)
              }
    
              override fun onCanceled(
                request: UrlRequest,
                info: UrlResponseInfo?,
              ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 24 13:19:43 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

      @JvmName("-deprecated_executorService")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "executorService"),
        level = DeprecationLevel.ERROR,
      )
      fun executorService(): ExecutorService = executorService
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt

                  UnknownHostException(e.message).apply {
                    initCause(e)
                  },
                )
              }
            },
          )
        } catch (e: Exception) {
          // Handle any errors that might leak out
          // https://issuetracker.google.com/issues/319957694
          callback.onFailure(
            hostname,
            UnknownHostException(e.message).apply {
              initCause(e)
            },
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 10:07:48 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

          127 -> {
            // Mapped inline to the sequence: [b2a, b3a].
            sink.writeByte(ranges[rangesIndex + 2].code or 0x80)
            sink.writeByte(ranges[rangesIndex + 3].code or 0x80)
          }
          else -> error("unexpected rangesIndex for $codePoint")
        }
    
        return true
      }
    
      /**
       * Binary search [sections] for [codePoint], looking at its top 14 bits.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top