- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 242 for Name (0.14 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
import java.net.ProtocolException /** * Handles basic types that always use the same tag. This supports optional types and may set a type * hint for further adapters to process. * * Types like ANY and CHOICE that don't have a consistent tag cannot use this. */ internal data class BasicDerAdapter<T>( private val name: String, /** The tag class this adapter expects, or -1 to match any tag class. */ val tagClass: Int,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Viewed (0) -
mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt
): Any { val nameAnnotation = parameterContext.findAnnotation(MockWebServerInstance::class.java) val name = if (nameAnnotation.isPresent) { nameAnnotation.get().name } else { defaultName } return extensionContext.resource.server(name) } /** Start the servers passed in as test method parameters. */ override fun beforeEach(context: ExtensionContext) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 11 12:12:36 GMT 2024 - 4.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersTest.kt
val headers = headersOf("a", "b", "c", "d") assertFailsWith<IndexOutOfBoundsException> { headers.name(-1) } assertThat(headers.name(0)).isEqualTo("a") assertThat(headers.name(1)).isEqualTo("c") assertFailsWith<IndexOutOfBoundsException> { headers.name(2) } } @Test fun valueIndexesAreStrict() { val headers = headersOf("a", "b", "c", "d")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt
) { Platform.get().log("[WS $name] onOpen", Platform.INFO, null) val delegate = delegate if (delegate != null) { this.delegate = null delegate.onOpen(webSocket, response) } else { events.add(Open(webSocket, response)) } } override fun onMessage( webSocket: WebSocket, bytes: ByteString, ) { Platform.get().log("[WS $name] onMessage", Platform.INFO, null)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt
noCharset.charset(Charsets.UTF_8)!!.name(), ) assertEquals( "US-ASCII", noCharset.charset(Charsets.US_ASCII)!!.name(), ) val charset = parse("text/plain; charset=iso-8859-1") assertEquals( "ISO-8859-1", charset.charset(Charsets.UTF_8)!!.name(), ) assertEquals( "ISO-8859-1", charset.charset(Charsets.US_ASCII)!!.name(), ) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
* TLS: * * * **A common name.** This is a string identifier for the certificate. It usually describes the * purpose of the certificate like "Entrust Root Certification Authority - G2" or * "www.squareup.com". * * * **A set of hostnames.** These are in the certificate's subject alternative name (SAN) * extension. A subject alternative name is either a literal hostname (`squareup.com`), a literal
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 21.6K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.5K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
* received without TLS. */ val handshake: Handshake? val requestUrl: HttpUrl? /** * Returns the name of the server the client requested via the SNI (Server Name Indication) * attribute in the TLS handshake. Unlike the rest of the HTTP exchange, this name is sent in * cleartext and may be monitored or blocked by a proxy or other middlebox. */ val handshakeServerNames: List<String> init {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 3.8K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt
when { name.equals("client_max_window_bits", ignoreCase = true) -> { if (clientMaxWindowBits != null) unexpectedValues = true // Repeated parameter! clientMaxWindowBits = value?.toIntOrNull() if (clientMaxWindowBits == null) unexpectedValues = true // Not an int! }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 8.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
while (true) { if (peek == null) { peek = readToken() if (skipCommasAndWhitespace()) break // We peeked a scheme name followed by ','. eqCount = skipAll('='.code.toByte()) } if (eqCount == 0) break // We peeked a scheme name. if (eqCount > 1) return // Unexpected '=' characters. if (skipCommasAndWhitespace()) return // Unexpected ','. val parameterValue =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.2K bytes - Viewed (0)