- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for acquire (0.2 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
assertThat(parse("http://[0:0:0:0:0:0:0:0]/").host).isEqualTo("::") assertThat(parse("http://[::ffff:c0a8:1fe]/").host).isEqualTo("192.168.1.254") } /** * The builder permits square braces but does not require them. */ @Test fun hostIpv6Builder() { val base = parse("http://example.com/") assertThat(base.newBuilder().host("[::1]").build().toString()) .isEqualTo("http://[::1]/")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* that makes `java.net.URL` unusable for many things. It shouldn't be used as a [Map] key or in a * [Set]. Doing so is both inefficient because equality may require a DNS lookup, and incorrect * because unequal URLs may be equal because of how they are hosted. * * ### Equal URLs should be equal * * These two URLs are semantically identical, but `java.net.URI` disagrees: *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1) -
docs/changelogs/changelog_3x.md
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
kotlin-js-store/yarn.lock
integrity sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ== dependencies: resolve "^1.20.0" require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== L146
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jul 22 12:28:51 GMT 2023 - 87.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
val protocolsCopy = protocols.toMutableList() // Validate that the list has everything we require and nothing we forbid. require(Protocol.H2_PRIOR_KNOWLEDGE in protocolsCopy || HTTP_1_1 in protocolsCopy) { "protocols must contain h2_prior_knowledge or http/1.1: $protocolsCopy" } require(Protocol.H2_PRIOR_KNOWLEDGE !in protocolsCopy || protocolsCopy.size <= 1) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
stream.readTimeout().timeout(500, TimeUnit.MILLISECONDS) val source = stream.getSource().buffer() source.require(3) val startNanos = System.nanoTime() assertFailsWith<InterruptedIOException> { source.require(4) } val elapsedNanos = System.nanoTime() - startNanos awaitWatchdogIdle() // 200ms delta
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 75.4K bytes - Viewed (0)