- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 693 for fun (0.01 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
"Trailers cannot be read because the state is $state" } return trailers } override fun flushRequest() { socket.sink.flush() } override fun finishRequest() { socket.sink.flush() } /** Returns bytes of a request header for sending on an HTTP transport. */ fun writeRequest( headers: Headers, requestLine: String, ) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 17.6K bytes - Click Count (7) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
/** Closes this, ignoring any checked exceptions. */ internal fun ServerSocket.closeQuietly() { try { close() } catch (rethrown: RuntimeException) { throw rethrown } catch (_: Exception) { } } internal fun Long.toHexString(): String = java.lang.Long.toHexString(this) internal fun Int.toHexString(): String = Integer.toHexString(this) internal fun <T> readFieldOrNull( instance: Any,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.3K bytes - Click Count (1) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
*/ private fun BaseGradleBuildType.getSubProjectSplitName() = largeSubProjectRegex.find(this.name)!!.groupValues[1] private fun BaseGradleBuildType.getGradleTasks(): String { val runnerStep = this.steps.items.find { it.name == "GRADLE_RUNNER" } as GradleBuildStep return runnerStep.tasks!! } private fun BaseGradleBuildType.getGradleParams(): String {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Oct 16 01:27:05 GMT 2025 - 14.6K bytes - Click Count (0) -
mockwebserver-deprecated/api/mockwebserver.api
public final fun requireClientAuth ()V public final fun setBodyLimit (J)V public final fun setDispatcher (Lokhttp3/mockwebserver/Dispatcher;)V public final fun setProtocolNegotiationEnabled (Z)V public final fun setProtocols (Ljava/util/List;)V public final fun setServerSocketFactory (Ljavax/net/ServerSocketFactory;)V public final fun shutdown ()V public final fun start ()V public final fun start (I)V
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jul 22 12:28:51 GMT 2023 - 10.2K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
} } private fun containsFailedTest(taskPath: String): Boolean { return testTaskPathToBinaryResultsDir[taskPath]?.let { containsFailedTest(it.get()) } == true } private fun addExecutedTaskPath(taskPath: String) { projectPathToExecutedTaskPaths.add(taskPathToProjectPath(taskPath), taskPath) } private fun addFailedTaskPath(taskPath: String) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 11:05:07 GMT 2026 - 14.3K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
} @Test fun stringWithDefaultCharsetAdded() { val contentType = "text/plain".toMediaType() val body = "\u0800".toRequestBody(contentType) assertThat(body.contentType()).isEqualTo("text/plain; charset=utf-8".toMediaType()) assertThat(body.contentLength()).isEqualTo(3) assertThat(bodyToHex(body)).isEqualTo("e0a080") } @Test fun stringWithNonDefaultCharsetSpecified() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 24.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt
} @Test fun basicChallenge() { val headers = Headers .Builder() .add("WWW-Authenticate: Basic realm=\"protected area\"") .build() assertThat(headers.parseChallenges("WWW-Authenticate")) .isEqualTo(listOf(Challenge("Basic", mapOf("realm" to "protected area")))) } @Test fun basicChallengeWithCharset() { val headers =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 16.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/BaseTestHandler.kt
fail("") } override fun settings( clearPrevious: Boolean, settings: Settings, ) { fail("") } override fun ackSettings() { fail("") } override fun ping( ack: Boolean, payload1: Int, payload2: Int, ) { fail("") } override fun goAway( lastGoodStreamId: Int, errorCode: ErrorCode, debugData: ByteString, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinNullabilityChangesTest.kt
} } @Test fun `from non-null accepting to null accepting is not breaking`() { checkBinaryCompatibleKotlin( v1 = """ class Source(some: String) { fun foo(bar: String) {} } operator fun Source.invoke(arg: String) {} """, v2 = """Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Feb 04 09:55:47 GMT 2025 - 5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt
} @Test fun fragmentNonAscii() { val url = "http://host/#Σ".toHttpUrl() assertThat(url.toUri().toString()).isEqualTo("http://host/#Σ") } @Test fun fragmentPercentEncodedNonAscii() { val url = "http://host/#%C2%80".toHttpUrl() assertThat(url.toUri().toString()).isEqualTo("http://host/#%C2%80") } @Test fun fragmentPercentEncodedPartialCodePoint() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 12K bytes - Click Count (0)