- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 710 for fun (0.01 sec)
-
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt
val subprojectsJson = project.layout.projectDirectory.file(".teamcity/subprojects.json") protected fun generateSubprojectsJson(): String { val subprojects = generateSubprojects() val gson = GsonBuilder().setPrettyPrinting().create() return gson.toJson(subprojects) + '\n' } private fun generateSubprojectsDirectories(): List<File> {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Mar 10 01:32:13 UTC 2025 - 3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.jvm.kt
actual class PublicSuffixTestRunner( klass: Class<*>, ) : Runner() { private val delegate = JUnit4(klass) override fun getDescription() = delegate.description override fun run(notifier: RunNotifier?) = delegate.run(notifier) override fun testCount() = delegate.testCount() } actual fun beforePublicSuffixTest() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri May 23 16:58:05 UTC 2025 - 1.1K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt
private fun scriptsCacheDirsUnder(cacheDir: File) = scriptCacheDirNames .map { File(cacheDir, it) } .filter { it.isDirectory } /** * Clean up cache files for older versions that aren't multi-process safe. */ fun FileSystemOperations.removeDodgyCacheFiles(dir: Directory) { if (dir.asFile.isDirectory) {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 4.4K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt
fun setProtocolNegotiationEnabled(protocolNegotiationEnabled: Boolean) { delegate.protocolNegotiationEnabled = protocolNegotiationEnabled } @JvmName("-deprecated_protocols") fun setProtocols(protocols: List<Protocol>) { delegate.protocols = protocols } @JvmName("-deprecated_protocols") fun protocols(): List<Protocol> = delegate.protocols fun useHttps(
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 00:19:42 UTC 2025 - 4.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
} @Test fun clientEmptyClose() { clientWriter.writeClose(0, null) assertData("888060b420bb") } @Test fun clientCloseWithCode() { clientWriter.writeClose(1001, null) assertData("888260b420bb635d") } @Test fun clientCloseWithCodeAndReason() { clientWriter.writeClose(1001, "Hello".encodeUtf8()) assertData("888760b420bb635d68de0cd84f") }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9.3K bytes - Viewed (0) -
okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt
val platform = PlatformRule() @Test fun testMode() { println(PlatformRule.getPlatformSystemProperty()) println(Platform.get().javaClass.simpleName) } @Test fun testGreenCase() { } @Test fun testGreenCaseFailingOnLater() { platform.expectFailureFromJdkVersion(PlatformVersion.majorVersion + 1) } @Test fun failureCase() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 1.3K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
@Timeout(30) class CustomDispatcherTest { @StartStop private val mockWebServer = MockWebServer() @Test fun simpleDispatch() { val requestsMade = mutableListOf<RecordedRequest>() val dispatcher: Dispatcher = object : Dispatcher() { override fun dispatch(request: RecordedRequest): MockResponse { requestsMade.add(request) return MockResponse() } }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.2K bytes - Viewed (1) -
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 {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu May 15 17:05:08 UTC 2025 - 18K bytes - Viewed (0) -
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 = 4000Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Oct 25 11:16:17 UTC 2025 - 4.3K 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 Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Nov 29 14:03:44 UTC 2024 - 6K bytes - Viewed (0)