- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 657 for fun (0.02 sec)
-
okhttp/src/test/java/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()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
/** * Returns the trimmed contents of the file at the given [path] after * marking the file as a build logic input. */ fun Project.trimmedContentsOfFile(path: String): String = providers.fileContents(repoRoot().file(path)).asText.get().trim() // TODO Simplify the buildTimestamp() calculation if possible fun Project.buildTimestamp(): Provider<String> = providers.of(BuildTimestampValueSource::class) { parameters {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 4.9K bytes - Viewed (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) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt
* directly. */ class ConscryptSocketAdapter : SocketAdapter { override fun matchesSocket(sslSocket: SSLSocket): Boolean = Conscrypt.isConscrypt(sslSocket) override fun isSupported(): Boolean = ConscryptPlatform.isSupported override fun getSelectedProtocol(sslSocket: SSLSocket): String? = when { matchesSocket(sslSocket) -> Conscrypt.getApplicationProtocol(sslSocket)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
private val setAlpnProtocols = sslSocketClass.getMethod("setAlpnProtocols", ByteArray::class.java) override fun isSupported(): Boolean = AndroidPlatform.isSupported override fun matchesSocket(sslSocket: SSLSocket): Boolean = sslSocketClass.isInstance(sslSocket) override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<Protocol>, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.6K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/StageTriggers.kt
} } } } fun stageTriggerId(model: CIBuildModel, stage: Stage, os: Os? = null) = stageTriggerId(model, stage.stageName, os) fun stageTriggerUuid(model: CIBuildModel, stage: Stage, os: Os? = null) = stageTriggerUuid(model, stage.stageName, os) fun stageTriggerId(model: CIBuildModel, stageName: StageName, os: Os? = null) =
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Nov 06 08:08:13 UTC 2024 - 5.8K bytes - Viewed (0) -
okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 24 04:40:49 UTC 2024 - 20.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SocketChannelTest.kt
private lateinit var server: MockWebServer @BeforeEach fun setUp(server: MockWebServer) { this.server = server // Test designed for Conscrypt and JSSE platform.assumeNotBouncyCastle() } @ParameterizedTest @MethodSource("connectionTypes") fun testConnection(socketMode: SocketMode) { // https://github.com/square/okhttp/pull/6554 assumeFalse(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt
""".trimIndent() ) } protected fun run(vararg args: String) = GradleRunner.create() .withProjectDir(projectDir) .withTestKitDir(projectDir.resolve("test-kit")) .withPluginClasspath() .forwardOutput() .withArguments(*args) protected fun assertChangesProperlyOrdered() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/main/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",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.3K bytes - Viewed (0)