- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 527 for Fun (0.01 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
} } } fun isConscrypt() = getPlatformSystemProperty() == CONSCRYPT_PROPERTY fun isJdk9() = getPlatformSystemProperty() == JDK9_PROPERTY fun isJdk8() = getPlatformSystemProperty() == JDK8_PROPERTY fun isJdk8Alpn() = getPlatformSystemProperty() == JDK8_ALPN_PROPERTY fun isBouncyCastle() = getPlatformSystemProperty() == BOUNCYCASTLE_PROPERTY
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt
} @Throws(IOException::class) private fun writeMetadata(upstreamSize: Long) { val metadataBuffer = Buffer() metadataBuffer.write(metadata) val fileOperator = FileOperator(file!!.channel) fileOperator.write(FILE_HEADER_SIZE + upstreamSize, metadataBuffer, metadata.size.toLong()) } @Throws(IOException::class) fun commit(upstreamSize: Long) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt
} override fun doExtensiveHealthChecks(): Boolean { return chain.request.method != "GET" } override fun isCanceled(): Boolean { return call.isCanceled() } override fun candidateConnection(): RealConnection? { return call.connection } override fun proxySelectStart(url: HttpUrl) { eventListener.proxySelectStart(call, url) } override fun proxySelectEnd(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Mar 06 17:33:38 UTC 2024 - 3.6K bytes - Viewed (0) -
mockwebserver-junit5/src/test/java/mockwebserver3/junit5/internal/ExtensionMultipleInstancesTest.kt
import org.junit.jupiter.api.Test class ExtensionMultipleInstancesTest { var defaultInstancePort: Int = -1 var instanceAPort: Int = -1 var instanceBPort: Int = -1 @BeforeEach fun setup( defaultInstance: MockWebServer, @MockWebServerInstance("A") instanceA: MockWebServer, @MockWebServerInstance("B") instanceB: MockWebServer, ) { defaultInstancePort = defaultInstance.port
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 2.3K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt
class BasicMockServerTest { @Container val mockServer: MockServerContainer = MockServerContainer(MOCKSERVER_IMAGE) val client = OkHttpClient.Builder() .trustMockServer() .build() @Test fun testRequest() { MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient -> mockServerClient .`when`( request().withPath("/person")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 3.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/RealResponseBody.kt
private val contentTypeString: String?, private val contentLength: Long, private val source: BufferedSource, ) : ResponseBody() { override fun contentLength(): Long = contentLength override fun contentType(): MediaType? = contentTypeString?.toMediaTypeOrNull() override fun source(): BufferedSource = source
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.2K bytes - Viewed (0) -
okhttp-coroutines/src/main/kotlin/okhttp3/coroutines/ExecuteAsync.kt
import okio.IOException @ExperimentalCoroutinesApi // resume with a resource cleanup. suspend fun Call.executeAsync(): Response = suspendCancellableCoroutine { continuation -> continuation.invokeOnCancellation { this.cancel() } this.enqueue( object : Callback { override fun onFailure( call: Call, e: IOException, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:24:38 UTC 2024 - 1.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
override fun callEnd(call: Call) { logWithTime("callEnd") delegate.callEnd(call) } override fun callFailed( call: Call, ioe: IOException, ) { logWithTime("callFailed: $ioe") delegate.callFailed(call, ioe) } override fun canceled(call: Call) { logWithTime("canceled") delegate.canceled(call) } override fun satisfactionFailure(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt
delegate!!.invalidate() } override fun isValid(): Boolean { return delegate!!.isValid } override fun putValue( s: String, o: Any, ) { delegate!!.putValue(s, o) } override fun getValue(s: String): Any { return delegate!!.getValue(s) } override fun removeValue(s: String) { delegate!!.removeValue(s) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt
fun idleConnectionCount(): Int = delegate.idleConnectionCount() /** Returns total number of connections in the pool. */ fun connectionCount(): Int = delegate.connectionCount() internal val connectionListener: ConnectionListener get() = delegate.connectionListener /** Close and remove all idle connections in the pool. */ fun evictAll() { delegate.evictAll() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 03 20:39:41 UTC 2024 - 5.6K bytes - Viewed (0)