- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 707 for fun (0.01 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FailedPlan.kt
val result = RoutePlanner.ConnectResult(plan = this, throwable = e) override val isReady = false override fun connectTcp() = result override fun connectTlsEtc() = result override fun handleSuccess() = error("unexpected call") override fun cancel() = error("unexpected cancel") override fun retry() = error("unexpected retry")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.5K bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/BuildScanUtils.kt
*/ package common import model.Stage import model.StageName import model.TestCoverage fun buildScanTagParam(tag: String) = """-Dscan.tag.$tag""" fun buildScanCustomValueParam( key: String, value: String, ) = """-Dscan.value.$key=$value""" fun TestCoverage.asBuildScanCustomValue() = testType.name.toCamelCase().toCapitalized() + testJvmVersion.toCapitalized() +
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jun 10 05:45:46 GMT 2025 - 1.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
@BeforeEach fun setUp() { socketFactory = SpecificHostSocketFactory(InetSocketAddress(server1.hostName, server1.port)) client = clientTestRule .newClientBuilder() .dns(dns) .socketFactory(socketFactory) .eventListenerFactory(clientTestRule.wrap(eventRecorder)) .build() } @Test fun http2OneBadHostOneGoodNoRetryOnConnectionFailure() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 11.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt
@Throws(IOException::class) override fun intercept(chain: Chain): Response = chain.proceed(uppercaseRequest(chain.request())) /** Returns a request that transforms `request` to be all uppercase. */ private fun uppercaseRequest(request: Request): Request { val uppercaseBody: RequestBody = object : ForwardingRequestBody(request.body) { @Throws(IOException::class) override fun writeTo(sink: BufferedSink) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.9K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingResponseBody.kt
delegate: ResponseBody?, ) : ResponseBody() { private val delegate: ResponseBody fun delegate(): ResponseBody = delegate override fun contentType(): MediaType? = delegate.contentType() override fun contentLength(): Long = delegate.contentLength() override fun source(): BufferedSource = delegate.source() override fun toString(): String = javaClass.simpleName + "(" + delegate.toString() + ")" init {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ReusePlan.kt
val connection: RealConnection, ) : RoutePlanner.Plan { override val isReady = true override fun connectTcp() = error("already connected") override fun connectTlsEtc() = error("already connected") override fun handleSuccess() = connection override fun cancel() = error("unexpected cancel") override fun retry() = error("unexpected retry")Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt
import java.io.ByteArrayOutputStream import java.io.File /** * `dir / "sub"` is the same as `dir.resolve("sub")`. * * @see [File.resolve] */ operator fun File.div(child: String): File = resolve(child) fun ExecOperations.execAndGetStdout(workingDir: File, ignoreExitValue: Boolean, vararg args: String): String { val out = ByteArrayOutputStream() exec {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon May 19 11:33:57 GMT 2025 - 965 bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Route.kt
replaceWith = ReplaceWith(expression = "address"), level = DeprecationLevel.ERROR, ) fun address(): Address = address @JvmName("-deprecated_proxy") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "proxy"), level = DeprecationLevel.ERROR, ) fun proxy(): Proxy = proxy @JvmName("-deprecated_socketAddress") @Deprecated( message = "moved to val",
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
} override fun trackFailure( call: RealCall, e: IOException?, ) { // Do nothing. } override fun noNewExchanges() { // Do nothing. } override fun cancel() { canceled = true // Close the raw socket so we don't end up doing synchronous I/O. rawSocket?.closeQuietly() } override fun retry(): RoutePlanner.Plan = ConnectPlan(
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 19.3K bytes - Click Count (2) -
okhttp/src/jvmTest/kotlin/okhttp3/ConscryptTest.kt
private val client = clientTestRule.newClient() @BeforeEach fun setUp() { platform.assumeConscrypt() } @Test fun testTrustManager() { assertThat(Conscrypt.isConscrypt(Platform.get().platformTrustManager())).isTrue() } @Test @Disabled fun testMozilla() { assumeNetwork()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.1K bytes - Click Count (0)