- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 44 for doTest (0.24 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt
writeByte('%'.code) writeByte(HEX_DIGITS[b shr 4 and 0xf].code) writeByte(HEX_DIGITS[b and 0xf].code) } } else { // This character doesn't need encoding. Just copy it over. writeUtf8CodePoint(codePoint) } i += Character.charCount(codePoint) } } /** * Returns a substring of `input` on the range `[pos..limit)` with the following
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 7.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
} } internal fun String.read14BitInt(index: Int): Int { val b0 = this[index].code val b1 = this[index + 1].code return (b0 shl 7) + b1 } /** * An extremely generic binary search that doesn't know what data it's searching over. The caller * provides indexes and a comparison function, and this calls that function iteratively. *
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) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
const val OPENJSSE_PROPERTY = "openjsse" const val BOUNCYCASTLE_PROPERTY = "bouncycastle" const val LOOM_PROPERTY = "loom" /** * For whatever reason our BouncyCastle provider doesn't work with ECDSA keys. Just configure it * to use RSA-2048 instead. * * (We otherwise prefer ECDSA because it's faster.) */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
journalWriter = newJournalWriter() hasJournalErrors = false mostRecentRebuildFailed = false } /** * Returns a snapshot of the entry named [key], or null if it doesn't exist is not currently * readable. If a value is returned, it is moved to the head of the LRU queue. */ @Synchronized @Throws(IOException::class) operator fun get(key: String): Snapshot? {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 34.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
// ...so even when we evict the element, we still get something back. cache.evictAll() assertThat(i.next()).isEqualTo(url.toString()) // Remove does nothing. But most importantly, it doesn't throw! i.remove() } @Test fun elementEvictedBeforeHasNextIsOmitted() { // Put a response in the cache. server.enqueue( MockResponse.Builder()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DuplexTest.kt
.isEqualTo("RESPONSE B") requestBody.close() assertThat(responseBody.readUtf8Line()).isNull() } body.awaitSuccess() } /** * OkHttp currently doesn't implement failing the request body stream independently of failing the * corresponding response body stream. This is necessary if we want servers to be able to stop
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) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
"protocols containing h2_prior_knowledge cannot use other protocols: $protocolList" } require(Protocol.HTTP_1_1 in protocolList || Protocol.H2_PRIOR_KNOWLEDGE in protocolList) { "protocols doesn't contain http/1.1: $protocolList" } require(null !in protocolList as List<Protocol?>) { "protocols must not contain null" } field = protocolList } var started: Boolean = false
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) -
okhttp/api/okhttp.api
public final class okhttp3/MultipartBody : okhttp3/RequestBody { public static final field ALTERNATIVE Lokhttp3/MediaType; public static final field Companion Lokhttp3/MultipartBody$Companion; public static final field DIGEST Lokhttp3/MediaType; public static final field FORM Lokhttp3/MediaType; public static final field MIXED Lokhttp3/MediaType; public static final field PARALLEL Lokhttp3/MediaType;
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 70.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/WebSocket.kt
* incoming messages. But it does not guarantee that the other peer will successfully receive all of * its incoming messages. */ interface WebSocket { /** Returns the original request that initiated this web socket. */ fun request(): Request /** * Returns the size in bytes of all messages enqueued to be transmitted to the server. This
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MediaType.kt
internal val parameterNamesAndValues: Array<String>, ) { /** * Returns the charset of this media type, or [defaultValue] if either this media type doesn't * specify a charset, or if its charset is unsupported by the current runtime. */ @JvmOverloads fun charset(defaultValue: Charset? = null): Charset? { val charset = parameter("charset") ?: return defaultValue
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.2K bytes - Viewed (0)