- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 710 for fun (0.01 sec)
-
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt
class DnsRecordCodecTest { @Test fun testGoogleDotComEncoding() { val encoded = encodeQuery("google.com", TYPE_A) assertThat(encoded).isEqualTo("AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ") } private fun encodeQuery( host: String, type: Int, ): String = DnsRecordCodec.encodeQuery(host, type).base64Url().replace("=", "") @Test fun testGoogleDotComEncodingWithIPv6() {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu May 29 20:09:10 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt
return@firstOrNull true } catch (_: Exception) { return@firstOrNull false } } } override fun equals(other: Any?): Boolean = other === this || (other is BasicTrustRootIndex && other.subjectToCaCerts == subjectToCaCerts) override fun hashCode(): Int = subjectToCaCerts.hashCode()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 7.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt
.tlsVersions(TlsVersion.TLS_1_2) .build() private fun testClient( urls: List<String>, client: OkHttpClient, ) { try { for (url in urls) { sendRequest(client, url) } } finally { client.dispatcher.executorService.shutdownNow() client.connectionPool.evictAll() } } private fun buildClient(vararg specs: ConnectionSpec): OkHttpClient = OkHttpClient
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu May 22 14:39:30 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt
private var client = clientTestRule.newClient() @AfterEach internal fun tearDown() { factory.close() } @Test fun nonRetryableIOException() { val exception = IOException("Non-handshake exception") assertThat(retryTlsHandshake(exception)).isFalse() } @Test fun nonRetryableSSLHandshakeException() { val exception =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/testing/services/BuildBucketProvider.kt
override fun configureTest(testTask: Test, sourceSetName: String) { val currentVersionUnderTest = extractTestTaskGradleVersion(testTask.name) currentVersionUnderTest?.apply { testTask.enabled = currentVersionEnabled(currentVersionUnderTest) } } private fun currentVersionEnabled(currentVersionUnderTest: String): Boolean {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 4.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepositoryLifecycle.kt
} @Suppress("unchecked_cast") override fun execute(context: ViolationCheckContext) { (context.userData as MutableMap<String, Any?>)[REPOSITORY_CONTEXT_KEY] = BinaryCompatibilityRepository.openRepositoryFor( param(Params.sourceRoots), param(Params.sourceCompilationClasspath) ) } @Suppress("unchecked_cast") private fun param(name: String): List<File> =Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
} private fun KtFile.ktClassOf(member: CtClass) = collectDescendantsOfType<KtClassOrObject> { it.fqName?.asString() == member.name }.singleOrNull() private val SINCE_REGEX = Regex("""@since ([^\s]+)""") fun KtDeclaration.getSince(): String? = docComment?.let { SINCE_REGEX.find(it.text)?.groupValues?.get(1) } private fun String.mapJavaTypeToKotlinType(): String {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Jul 08 07:02:19 UTC 2025 - 13.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
*/ private val routePlanner = FakeRoutePlanner(taskFaker = taskFaker) private val finder = FastFallbackExchangeFinder(routePlanner, taskRunner) @AfterEach fun tearDown() { taskFaker.close() routePlanner.close() } @Test fun takeConnectedConnection() { val plan0 = routePlanner.addPlan() plan0.connectState = TLS_CONNECTED taskRunner.newQueue().execute("connect") {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 20.9K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
.protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1)) .eventListener(eventRecorder.eventListener) .build() @BeforeEach fun setUp() { server.protocols = bootstrapClient.protocols dns = buildLocalhost(bootstrapClient, false) } @Test fun getOne() { server.enqueue( dnsResponse( "0000818000010003000000000567726170680866616365626f6f6b03636f6d0000010001c00c000500010" +
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 11.9K bytes - Viewed (0)