- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 64 for brelaw (0.19 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt
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) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
val labelLength = when (dot) { -1 -> length - labelStart else -> dot - labelStart } if (labelLength !in 1..63) return true if (dot == -1) break if (dot == length - 1) break // Trailing '.' is allowed. labelStart = dot + 1 } return false } internal fun String.containsInvalidHostnameAsciiCodes(): Boolean { for (i in 0 until length) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt
// If we couldn't encode the label, give up. return null } if (dot < limit) { result.writeByte('.'.code) pos = dot + 1 } else { break } } return result.readUtf8() } private fun encodeLabel( string: String, pos: Int, limit: Int, result: Buffer, ): Boolean {
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) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
assertThat(leaf.certificate.sigAlgName).isEqualTo("SHA256WITHECDSA", ignoreCase = true) } @Test fun decodeEcdsa256() { // The certificate + private key below was generated programmatically: // // HeldCertificate heldCertificate = new HeldCertificate.Builder() // .validityInterval(5_000L, 10_000L) // .addSubjectAlternativeName("1.1.1.1")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 22.5K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
// Like "0061" or "0031 2044 0034". while (true) { skipWhitespace() when (select(optionsDelimiter)) { DELIMITER_HASH -> { break } DELIMITER_DOT, DELIMITER_SEMICOLON, DELIMITER_NEWLINE -> { throw IOException("unexpected delimiter") } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt
val childIndex = (accumulator shl (8 - accumulatorBitCount)) and 0xff node = node.children!![childIndex]!! if (node.children != null || node.terminalBitCount > accumulatorBitCount) { break } sink.writeByte(node.symbol) accumulatorBitCount -= node.terminalBitCount node = root } } private fun addCode( symbol: Int, code: Int,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
* blast radius possible. If an HTTP/2 stream is active, canceling will cancel that stream but not * the other streams sharing its connection. But if the TLS handshake is still in progress then * canceling may break the entire connection. */ class RealCall( val client: OkHttpClient, /** The application's original request unadulterated by redirects or auth headers. */ val originalRequest: Request, val forWebSocket: Boolean,
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) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
}.also { expected -> when (expected) { is SSLException, is TlsFatalAlert -> {} else -> throw expected } } } // TODO(jwilson): tests below this marker need to be migrated to OkHttp's request/response API. @Test fun connectViaHttpsWithSSLFallback() { platform.assumeNotBouncyCastle() server.useHttps(handshakeCertificates.sslSocketFactory())
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
```kotlin val response: Response = call.execute() val multipartReader = MultipartReader(response.body!!) multipartReader.use { while (true) { val part = multipartReader.nextPart() ?: break process(part.headers, part.body) } } ``` * New: `MediaType.parameter()` gets a parameter like `boundary` from a media type like `multipart/mixed; boundary="abc"`.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
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)