- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 190 for Hare (0.17 sec)
-
mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/MockStreamHandler.kt
import okio.utf8Size private typealias Action = (Stream) -> Unit /** * A scriptable request/response conversation. Create the script by calling methods like * [receiveRequest] in the sequence they are run. */ class MockStreamHandler : StreamHandler { private val actions = LinkedBlockingQueue<Action>() private val results = LinkedBlockingQueue<FutureTask<Void>>() fun receiveRequest(expected: String) =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/AsyncDns.kt
* * dnsjava Resolver * * Implementations of this interface must be safe for concurrent use. */ @ExperimentalOkHttpApi interface AsyncDns { /** * Query DNS records for `hostname`, in the order they are received. */ fun query( hostname: String, callback: Callback, ) /** * Callback to receive results from the DNS Queries. */ @ExperimentalOkHttpApi interface Callback {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
*/ @get:JvmName("hostOnly") val hostOnly: Boolean, /** * Returns a string describing whether this cookie is sent for cross-site calls. * * Two URLs are on the same site if they share a [top private domain][HttpUrl.topPrivateDomain]. * Otherwise, they are cross-site URLs. * * When a URL is requested, it may be in the context of another URL. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/FormBody.kt
writeOrCountBytes(sink, false) } /** * Either writes this request to [sink] or measures its content length. We have one method * do double-duty to make sure the counting and content are consistent, particularly when it comes * to awkward operations like measuring the encoded length of header strings, or the * length-in-digits of an encoded integer. */ private fun writeOrCountBytes(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 4.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt
* 0041; 0061; Case map * 0390; 03B9 0308 0301; Case map * ``` * * Each line maps from a single hexadecimal code point to zero or more hexadecimal code points. * Elements are delimited by semicolons with a comment at the end of the line. */ fun readCodePointMapping(path: Path): MappingListCodePointMapping { fileSystem.source(path).buffer().use { source ->
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
assertThat(readFileOrNull(getCleanFile("k1", 0))).isEqualTo(afterRemoveFileContents) assertThat(readFileOrNull(getDirtyFile("k1", 0))).isNull() // On all platforms files are deleted when all sources are closed. snapshot1.assertValue(1, "a") assertThat(readFileOrNull(getCleanFile("k1", 0))).isNull() assertThat(readFileOrNull(getDirtyFile("k1", 0))).isNull() } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
val mappingsBuffer = StringBuilder() val sectionIndexBuffer = Buffer() var previousMappedRanges: List<MappedRange>? = null for ((section, sectionMappedRanges) in sections) { // Skip sequential ranges when they are equal. if (sectionMappedRanges == previousMappedRanges) continue previousMappedRanges = sectionMappedRanges val sectionOffset = rangesBuffer.size.toInt() / 4 // Section prefix.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
/** * Apply this rule to all tests. It adds additional checks for leaked resources and uncaught * exceptions. * * Use [newClient] as a factory for a OkHttpClient instances. These instances are specifically * configured for testing. */ class OkHttpClientTestRule : BeforeEachCallback, AfterEachCallback { private val clientEventsList = mutableListOf<String>() private var testClient: OkHttpClient? = null
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/RequestBody.kt
* may be sent after response headers or body bytes have been received. * * Though any call may be initiated as a duplex call, only web servers that are specially * designed for this nonstandard interaction will use it. As of 2019-01, the only widely-used * implementation of this pattern is [gRPC][grpc]. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Jan 25 14:41:37 GMT 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookieTest.kt
} /** * These public suffixes were selected by inspecting the publicsuffix.org list. It's possible they * may change in the future. If this test begins to fail, please double check they are still * present in the public suffix list. */ @Test fun domainIsPublicSuffix() { val ascii = "https://foo1.foo.bar.elb.amazonaws.com".toHttpUrl()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 24.3K bytes - Viewed (0)