- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 557 for fun (0.01 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
else -> Log.DEBUG } object AndroidLogHandler : Handler() { override fun publish(record: LogRecord) { androidLog(record.loggerName, record.androidLevel, record.message, record.thrown) } override fun flush() { } override fun close() { } } @SuppressSignatureCheck object AndroidLog { private const val MAX_LOG_LENGTH = 4000Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Oct 25 11:16:17 GMT 2025 - 4.3K bytes - Click Count (0) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
) } @Test fun commonName() { val heldCertificate = HeldCertificate .Builder() .commonName("cash.app") .build() val certificate = heldCertificate.certificate assertThat(certificate.getSubjectX500Principal().name).isEqualTo("CN=cash.app") } @Test fun organizationalUnit() { val heldCertificate =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 22.6K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt
} } } object LoggingCallback : FutureCallback<SimpleHttpResponse> { override fun completed(response: SimpleHttpResponse) { } override fun failed(ex: Exception) { println("Failed: $ex") } override fun cancelled() { println("Cancelled") }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Feb 07 06:56:34 GMT 2026 - 2.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt
this.bytes = publicSuffixListBytes!! this.exceptionBytes = publicSuffixExceptionListBytes!! } } finally { readCompleteLatch.countDown() } } abstract fun listSource(): Source override fun ensureLoaded() { if (!listRead.get() && listRead.compareAndSet(false, true)) { readTheListUninterruptibly() } else { try { readCompleteLatch.await()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 3.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt
import org.junit.Test class JSpecifyNullabilityChangesTest : AbstractJavaNullabilityChangesTest() { override val nullableAnnotationName: String = "org.jspecify.annotations.Nullable" @Test fun `from non-null array returning to null returning is breaking`() { checkNotBinaryCompatibleJava( v1 = """ import java.util.List; public class Source {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu May 15 17:05:08 GMT 2025 - 18K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt
import okhttp3.Request import okhttp3.RequestBody import okio.BufferedSink class PostStreaming { private val client = OkHttpClient() fun run() { val requestBody = object : RequestBody() { override fun contentType() = MEDIA_TYPE_MARKDOWN override fun writeTo(sink: BufferedSink) { sink.writeUtf8("Numbers\n") sink.writeUtf8("-------\n") for (i in 2..997) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
private val factory = TestValueFactory() .apply { dns = fakeDns } @BeforeEach fun setup() { Authenticator.setDefault(recordingAuthenticator) } @AfterEach fun tearDown() { Authenticator.setDefault(null) factory.close() } @Test fun testBasicAuth() { fakeDns["server"] = listOf(InetAddress.getLocalHost()) val route = factory.newRoute()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.7K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
proxySelector = proxySelector, ) fun newRoute( address: Address = newAddress(), proxy: Proxy = this.proxy, socketAddress: InetSocketAddress = InetSocketAddress.createUnresolved(uriHost, uriPort), ): Route = Route( address = address, proxy = proxy, socketAddress = socketAddress, ) fun newChain(call: RealCall): RealInterceptorChain =Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 6.6K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
.build() } /** Returns an SSL client for this host's localhost address. */ @JvmStatic fun localhost(): HandshakeCertificates = localhost /** Returns a trust manager that trusts `trustedCertificates`. */ @JvmStatic @IgnoreJRERequirement fun newTrustManager( keyStoreType: String?, trustedCertificates: List<X509Certificate>, insecureHosts: List<String>,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (1) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
fun generate(jsonFile: File) { val output = buckets.map { TestCoverageAndBucketSplits(it.key.uuid, it.value.map { it.toJsonBucket() }) } jsonFile.writeText(gson.toJson(output)) } private fun buildBuckets( buildClassTimeJson: File, model: CIBuildModel,Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Apr 10 15:09:32 GMT 2025 - 7.3K bytes - Click Count (0)