- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 693 for fun (0.13 seconds)
-
android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt
assertNull(adapter.getSelectedProtocol(sslSocket)) } @Test fun testMatchesSupportedAndroidSocketFactory() { assumeTrue(adapter is StandardAndroidSocketAdapter) assertTrue(adapter.matchesSocketFactory(context.socketFactory)) assertNotNull(adapter.trustManager(context.socketFactory)) } @Test fun testDoesntMatchSupportedCustomSocketFactory() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
val responseString = same.body.string() assertThat(responseString).isEmpty() } private fun ByteString.zstdCompress(): ByteString { val result = Buffer() result.zstdCompress().buffer().use { it.write(this@zstdCompress) } return result.readByteString() } private fun ByteString.gzipCompress(): ByteString { val result = Buffer() (result as Sink).gzip().buffer().use {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Aug 01 06:04:22 GMT 2025 - 4.8K bytes - Click Count (1) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt
} private fun toCategory(version: String, gradleModule: String) = when { gradleModule.endsWith("-native") || gradleModule in listOf("model-core", "platform-base", "testing-base") -> "Software Model and Native" else -> "Incubating since $version" } private fun generateHtmlReport(data: Map<String, ProjectNameToProblems>) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jun 02 09:57:54 GMT 2025 - 5.2K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusService.kt
private val projectsToEnableNullaway = ConcurrentHashMap.newKeySet<String>() private fun ensureProjectNotSeen(projectPath: String) { require(projectPath !in projectsWithNullAwayEnabled) require(projectPath !in projectsWithUncheckedDeps) require(projectPath !in projectsToEnableNullaway) } fun addProjectWithNullawayEnabled(projectPath: String) { ensureProjectNotSeen(projectPath)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Aug 20 13:18:23 GMT 2025 - 3.8K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt
return result } public override fun peek(): MockResponse = responseQueue.peek() ?: failFastResponse ?: super.peek() public open fun enqueue(response: MockResponse) { responseQueue.add(response) } public open fun clear() { responseQueue.clear() } public override fun close() { responseQueue.add(DEAD_LETTER) } public open fun setFailFast(failFast: Boolean) { setFailFast(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jun 14 16:09:26 GMT 2025 - 2.9K bytes - Click Count (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 {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.9K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/PushPromise.kt
replaceWith = ReplaceWith(expression = "method"), level = DeprecationLevel.ERROR, ) fun method(): String = method @JvmName("-deprecated_path") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "path"), level = DeprecationLevel.ERROR, ) fun path(): String = path @JvmName("-deprecated_headers") @Deprecated( message = "moved to val",
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
.build() private val executorService = Executors.newScheduledThreadPool(1) @BeforeEach fun setUp() { platform.assumeNotOpenJSSE() platform.assumeHttp2Support() } @AfterEach fun tearDown() { executorService.shutdown() } @Test @Throws(IOException::class) fun http1DoesntSupportDuplex() { val call = client.newCall( Request
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 25.8K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
level = DeprecationLevel.ERROR, ) fun keyManager(): X509KeyManager = keyManager @JvmName("-deprecated_trustManager") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "trustManager"), level = DeprecationLevel.ERROR, ) fun trustManager(): X509TrustManager = trustManager fun sslSocketFactory(): SSLSocketFactory = sslContext().socketFactory
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.4K bytes - Click Count (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt
import com.squareup.kotlinpoet.PropertySpec import java.io.File import okio.FileSystem import okio.Path.Companion.toPath fun main(vararg args: String) { val data = loadIdnaMappingTableData() val file = generateMappingTableFile(data) file.writeTo(File(args[0])) } fun loadIdnaMappingTableData(): IdnaMappingTableData { val path = "/okhttp3/internal/idna/IdnaMappingTable.txt".toPath() val table =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.8K bytes - Click Count (1)