- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for lint (0.13 sec)
-
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
// TODO make exception message escape non-printable characters } @Test fun parseDoesNotTrimOtherWhitespaceCharacters() { // Whitespace characters list from Google's Guava team: http://goo.gl/IcR9RD // line tabulation assertThat(parse("http://h/\u000b").encodedPath).isEqualTo("/%0B") // information separator 4 assertThat(parse("http://h/\u001c").encodedPath).isEqualTo("/%1C")
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
* component parts, this class implements relative URL resolution: what address you'd reach by * clicking a relative link on a specified page. For example: * * ```java * HttpUrl base = HttpUrl.parse("https://www.youtube.com/user/WatchTheDaily/videos"); * HttpUrl link = base.resolve("../../watch?v=cbP2N1BQdYc"); * System.out.println(link); * ``` * * which prints: * * ``` * https://www.youtube.com/watch?v=cbP2N1BQdYc * ```
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) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
} private fun firstFrame( logs: List<String>, type: String, ): String? { for (log in logs) { if (type in log) { return log } } return null } private fun countFrames( logs: List<String>, message: String, ): Int { var result = 0 for (log in logs) { if (log == message) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
* @param protocols the protocols to use, in order of preference. If the list contains * [Protocol.H2_PRIOR_KNOWLEDGE] then that must be the only protocol and HTTPS URLs will not * be supported. Otherwise the list must contain [Protocol.HTTP_1_1]. The list must * not contain null or [Protocol.HTTP_1_0]. */ fun protocols(protocols: List<Protocol>) = apply {
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/cache/DiskLruCacheTest.kt
""".trimMargin(), ) for (line in bodyLines) { writeUtf8(line) writeUtf8("\n") } } } private fun readJournalLines(): List<String> { val result = mutableListOf<String>() filesystem.read(journalFile) { while (true) { val line = readUtf8Line() ?: break result.add(line) } } return result }
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/src/test/java/okhttp3/EventListenerTest.kt
.url(server.url("/")) .build(), ) val response2 = call2.execute() assertThat(response2.code).isEqualTo(200) response2.body.close() val recordedEvents: List<String> = listener.recordedEventTypes() assertThat(recordedEvents).doesNotContain("DnsStart") assertThat(recordedEvents).doesNotContain("DnsEnd") } @Test fun multipleDnsLookupsForSingleCall() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 56.9K bytes - Viewed (0) -
okhttp/api/okhttp.api
public static final fun get (Lokhttp3/TlsVersion;Lokhttp3/CipherSuite;Ljava/util/List;Ljava/util/List;)Lokhttp3/Handshake; public fun hashCode ()I public final fun localCertificates ()Ljava/util/List; public final fun localPrincipal ()Ljava/security/Principal; public final fun peerCertificates ()Ljava/util/List; public final fun peerPrincipal ()Ljava/security/Principal;
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/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
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)