- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for 2000 (0.12 sec)
-
okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.C.1.2.txt
1680; OGHAM SPACE MARK 2000; EN QUAD 2001; EM QUAD 2002; EN SPACE 2003; EM SPACE 2004; THREE-PER-EM SPACE 2005; FOUR-PER-EM SPACE 2006; SIX-PER-EM SPACE 2007; FIGURE SPACE 2008; PUNCTUATION SPACE 2009; THIN SPACE 200A; HAIR SPACE 200B; ZERO WIDTH SPACE 202F; NARROW NO-BREAK SPACE 205F; MEDIUM MATHEMATICAL SPACE
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 409 bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
assertThat(recordedRequest!!.method).isEqualTo("GET") assertThat(recordedRequest.path).isEqualTo( "/lookup?ct&dns=AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ", ) Thread.sleep(2000) server.enqueue( dnsResponse( "0000818000010003000000000567726170680866616365626f6f6b03636f6d0000010001c00c000500010" +
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 11K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
try { for (i in 1..2) { // Space out traffic to make it easier to demarcate. sendTestRequest(fbRequest) Thread.sleep(1000) sendTestRequest(twitterRequest) Thread.sleep(1000) sendTestRequest(googleRequest) Thread.sleep(2000) } } finally { client.connectionPool.evictAll() client.dispatcher.executorService.shutdownNow()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.7K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt
) val request = Request.Builder() .url(server.url("/")) .post(sleepingRequestBody(250)) .build() val call = client.newCall(request) call.timeout().timeout(2000, TimeUnit.MILLISECONDS) val response = call.execute() Thread.sleep(250) response.body.source().readUtf8() response.close() assertThat(call.isCanceled()).isFalse() }
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/test/java/okhttp3/HttpUrlTest.kt
) assertInvalid( "http://[0000:0000:0000:0000:0000:0000:0000:0001:]", "Invalid URL host: \"[0000:0000:0000:0000:0000:0000:0000:0001:]\"", ) assertInvalid( "http://[0000:0000:0000:0000:0000:0000:0000:0001::]", "Invalid URL host: \"[0000:0000:0000:0000:0000:0000:0000:0001::]\"", ) assertInvalid( "http://[0000:0000:0000:0000:0000:0000:0000:0001:::]",
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-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertThat(Adapters.parseGeneralizedTime("20500101000000Z")) .isEqualTo(date("2050-01-01T00:00:00.000+0000").time) assertThat(Adapters.parseGeneralizedTime("20990101000000Z")) .isEqualTo(date("2099-01-01T00:00:00.000+0000").time) assertThat(Adapters.parseGeneralizedTime("19920521000000Z")) .isEqualTo(date("1992-05-21T00:00:00.000+0000").time)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 31.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt
assertFailsWith<IllegalArgumentException> { clientWriter.writeClose(98724976, "Hello".encodeUtf8()) }.also { expected -> assertThat(expected.message).isEqualTo("Code must be in range [1000,5000): 98724976") } } @Test fun closeReservedThrows() { assertFailsWith<IllegalArgumentException> { clientWriter.writeClose(1005, "Hello".encodeUtf8()) }.also { expected ->
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
return when { isMappedIpv4Address(address) -> address.sliceArray(12 until 16) else -> address } } /** Returns true for IPv6 addresses like `0000:0000:0000:0000:0000:ffff:XXXX:XXXX`. */ private fun isMappedIpv4Address(address: ByteArray): Boolean { if (address.size != 16) return false for (i in 0 until 10) { if (address[i] != 0.toByte()) return false }
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/ConnectionPool.kt
connectionListener: ConnectionListener = ConnectionListener.NONE, readTimeoutMillis: Int = 10_000, writeTimeoutMillis: Int = 10_000, socketConnectTimeoutMillis: Int = 10_000, socketReadTimeoutMillis: Int = 10_000, pingIntervalMillis: Int = 10_000, retryOnConnectionFailure: Boolean = true, fastFallback: Boolean = true, routeDatabase: RouteDatabase = RouteDatabase(),
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 03 20:39:41 GMT 2024 - 5.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/PunycodeTest.kt
/** * It's invalid to have a label longer than 63 characters. If that's requested, the encoder may * overflow and return null. */ @Test fun overflowEncodingOversizedLabel() { val a1000 = "a".repeat(1000) val a1000MaxCodePoint = a1000 + "\udbff\udfff" testEncodeDecode( a1000MaxCodePoint, "xn--$a1000-nc89312g", ) assertNull( Punycode.encode(a1000MaxCodePoint.repeat(2)),
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)