- Sort Score
- Num 10 results
- Language All
Results 441 - 450 of 693 for fun (0.02 seconds)
-
.teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt
projectId = "Check", branch = VersionedSettingsBranch.fromDslContext(), buildScanTags = listOf("Check"), subprojects = subprojectProvider, ) @Test fun `test stage tags`() { assertEquals( "-DbuildScan.PartOf=QuickFeedbackLinuxOnly,QuickFeedback,PullRequestFeedback,ReadyforNightly,ReadyforRelease", model.stages[0].getBuildScanCustomValueParam(),
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Aug 05 16:58:51 GMT 2025 - 1.7K bytes - Click Count (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
} } override fun afterHandshake(sslSocket: SSLSocket) { try { removeMethod.invoke(null, sslSocket) } catch (e: IllegalAccessException) { throw AssertionError("failed to remove ALPN", e) } catch (e: InvocationTargetException) { throw AssertionError("failed to remove ALPN", e) } } override fun getSelectedProtocol(sslSocket: SSLSocket): String? { try {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.1K bytes - Click Count (0) -
.teamcity/src/test/kotlin/VersionedSettingsBranchTest.kt
@CsvSource( value = [ "master, 0", "release, 1", "release6x, 2", "release7x, 3", "release27x,23", ], ) fun branchesWithVcsTriggerEnabled( branchName: String, expectedNightlyPromotionTriggerHour: Int?, ) { val vsb = VersionedSettingsBranch(branchName)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Dec 29 08:57:18 GMT 2025 - 1.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt
import okhttp3.Response import okhttp3.internal.connection.Exchange import okhttp3.internal.connection.RealCall import okhttp3.internal.connection.RealConnection import okio.FileSystem import okio.Path internal fun buildCache( file: Path, maxSize: Long, fileSystem: FileSystem, ): Cache = Cache(fileSystem, file, maxSize) internal var RealConnection.idleAtNsAccessor: Long get() = idleAtNs set(value) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.3K bytes - Click Count (0) -
android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt
@RunWith(RobolectricTestRunner::class) @Config( sdk = [23, 26, 30, 33, 35], ) class DisabledInitialiserTest { @Before fun setContext() { // Ensure we aren't succeeding because of another test Platform.resetForTests() PlatformRegistry.applicationContext = null } @Test fun testWithoutContext() { val httpUrl = "https://www.google.co.uk".toHttpUrl() assertFailure { httpUrl.topPrivateDomain() }.all {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 16:25:39 GMT 2025 - 2.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt
*/ @Serializable class WebPlatformToAsciiData { var input: String? = null var output: String? = null var comment: String? = null override fun toString() = "input=$input output=$output" companion object { fun load(): List<WebPlatformToAsciiData> { val path = okHttpRoot / "okhttp/src/jvmTest/resources/web-platform-test-toascii.json" return SYSTEM_FILE_SYSTEM.read(path) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullUnmarkedChangesTest.kt
private val nullableAnnotationName = "org.jspecify.annotations.Nullable" private val nullUnmarkedAnnotationName = "org.jspecify.annotations.NullUnmarked" @Test fun `from non-null returning to null-unmarked returning is breaking`() { checkNotBinaryCompatibleJava( v1 = """ public class Source { public String foo() { return "bar"; }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Oct 27 09:26:32 GMT 2025 - 5.1K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.collect-failed-tasks.gradle.kts
override val collectedInformation: Serializable = failedTaskPaths override fun shouldInclude(taskPath: String): Boolean { // https://github.com/gradle/gradle/issues/21351 return super.shouldInclude(taskPath) || taskPath.contains("detekt") } override fun action(taskPath: String, taskResult: TaskOperationResult) { if (taskResult is TaskFailureResult) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Apr 11 20:57:49 GMT 2025 - 2.4K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
private const val SERVFAIL = 2 private const val NXDOMAIN = 3 const val TYPE_A = 0x0001 const val TYPE_AAAA = 0x001c private const val TYPE_PTR = 0x000c private val ASCII = Charsets.US_ASCII fun encodeQuery( host: String, type: Int, ): ByteString = Buffer() .apply { writeShort(0) // query id writeShort(256) // flags with recursion writeShort(1) // question count
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.9K bytes - Click Count (0) -
mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt
* ``` */ class MockWebServerRule : ExternalResource() { val server: MockWebServer = MockWebServer() override fun before() { try { server.start() } catch (e: IOException) { throw RuntimeException(e) } } override fun after() { server.close() }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jun 16 22:36:18 GMT 2025 - 1.4K bytes - Click Count (0)