- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 880 for val3 (0.07 sec)
-
okhttp/src/test/java/okhttp3/FastFallbackTest.kt
class FastFallbackTest { @RegisterExtension val clientTestRule = OkHttpClientTestRule() // Don't use JUnit 5 test rules for these; otherwise we can't bind them to a single local IP. private lateinit var localhostIpv4: InetAddress private lateinit var localhostIpv6: InetAddress private lateinit var serverIpv4: MockWebServer private lateinit var serverIpv6: MockWebServer private val listener = RecordingEventListener()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
* } * ``` * * The first property of the pair is the adapter that was used, the second property is the value. */ internal val generalNameDnsName = Adapters.IA5_STRING.withTag(tag = 2L) internal val generalNameIpAddress = Adapters.OCTET_STRING.withTag(tag = 7L) internal val generalName: DerAdapter<Pair<DerAdapter<*>, Any?>> = Adapters.choice( generalNameDnsName, generalNameIpAddress,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt
} } private val backend = TaskRunner.RealBackend(threadFactory) private val taskRunner = TaskRunner(backend) private val queue = taskRunner.newQueue() @AfterEach fun tearDown() { backend.shutdown() } @Test fun test() { val t1 = System.nanoTime() / 1e6 val delays = mutableListOf(TimeUnit.MILLISECONDS.toNanos(1000), -1L)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
var testLogHandler = TestLogHandler(OkHttpClient::class.java) private lateinit var webServer: MockWebServer private val handshakeCertificates = platform.localhostHandshakeCertificates() private val clientListener = WebSocketRecorder("client") private val serverListener = WebSocketRecorder("server") private val random = Random(0) private var client = clientTestRule.newClientBuilder() .writeTimeout(Duration.ofMillis(500))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 35.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ResponseCommonTest.kt
class ResponseCommonTest { @Test fun peekShorterThanResponse() { val response = newResponse(responseBody("abcdef")) val peekedBody = response.peekBody(3) assertThat(peekedBody.string()).isEqualTo("abc") assertThat(response.body.string()).isEqualTo("abcdef") } @Test fun peekLongerThanResponse() { val response = newResponse(responseBody("abc")) val peekedBody = response.peekBody(6)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt
* represent the length. */ internal const val B1_MASK_LENGTH = 127 internal const val OPCODE_CONTINUATION = 0x0 internal const val OPCODE_TEXT = 0x1 internal const val OPCODE_BINARY = 0x2 internal const val OPCODE_CONTROL_CLOSE = 0x8 internal const val OPCODE_CONTROL_PING = 0x9 internal const val OPCODE_CONTROL_PONG = 0xa /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt
continue // Not a header we're interested in. } val header = responseHeaders.value(i) // Parse each extension. var pos = 0 while (pos < header.length) { val extensionEnd = header.delimiterOffset(',', pos) val extensionTokenEnd = header.delimiterOffset(';', pos, extensionEnd) val extensionToken = header.trimSubstring(pos, extensionTokenEnd)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt
import okio.ByteString.Companion.decodeHex import okio.DeflaterSink private val EMPTY_DEFLATE_BLOCK = "000000ffff".decodeHex() private const val LAST_OCTETS_COUNT_TO_REMOVE_AFTER_DEFLATION = 4 class MessageDeflater( private val noContextTakeover: Boolean, ) : Closeable { private val deflatedBytes = Buffer() private val deflater = Deflater( Deflater.DEFAULT_COMPRESSION,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
* on [ExchangeCodec], which handles the actual I/O. */ class Exchange( internal val call: RealCall, internal val eventListener: EventListener, internal val finder: ExchangeFinder, private val codec: ExchangeCodec, ) { /** True if the request body need not complete before the response body starts. */ internal var isDuplex: Boolean = false private set
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.2K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
*/ @Suppress("DEPRECATION") class HeldCertificate( @get:JvmName("keyPair") val keyPair: KeyPair, @get:JvmName("certificate") val certificate: X509Certificate, ) { @JvmName("-deprecated_certificate") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "certificate"), level = DeprecationLevel.ERROR, )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.6K bytes - Viewed (0)