- Sort Score
- Num 10 results
- Language All
Results 581 - 590 of 693 for fun (0.02 seconds)
-
okhttp/src/androidHostTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.android.kt
import androidx.test.core.app.ApplicationProvider import okhttp3.internal.platform.PlatformRegistry import org.robolectric.RobolectricTestRunner actual typealias PublicSuffixTestRunner = RobolectricTestRunner actual fun beforePublicSuffixTest() { PlatformRegistry.applicationContext = ApplicationProvider.getApplicationContext()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 26 07:38:51 GMT 2026 - 974 bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-NormalizeJvm.kt
* limitations under the License. */ @file:Suppress("ktlint:standard:filename") package okhttp3.internal import java.text.Normalizer import java.text.Normalizer.Form.NFCCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 842 bytes - Click Count (1) -
okcurl/src/main/kotlin/okhttp3/curl/logging/MessageFormatter.kt
* limitations under the License. */ package okhttp3.curl.logging import java.util.logging.LogRecord import java.util.logging.SimpleFormatter object MessageFormatter : SimpleFormatter() { override fun format(record: LogRecord): String = String.format("%s%n", record.message)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 845 bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/RecordingAuthenticator.kt
private val authentication: PasswordAuthentication? = PasswordAuthentication( "username", "password".toCharArray(), ), ) : Authenticator() { val calls = mutableListOf<String>() override fun getPasswordAuthentication(): PasswordAuthentication? { calls.add( "host=$requestingHost port=$requestingPort site=${requestingSite.hostName} " + "url=$requestingURL type=$requestorType prompt=$requestingPrompt " +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) -
okhttp/src/jvmTest/kotlin/okhttp3/CommonRequestBodyTest.kt
*/ package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import kotlin.test.Test import okhttp3.RequestBody.Companion.toRequestBody class CommonRequestBodyTest { @Test fun correctContentType() { val body = "Body" val requestBody = body.toRequestBody(MediaType("text/plain", "text", "plain", arrayOf())) val contentType = requestBody.contentType()!!Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ForceConnectRoutePlanner.kt
/** * A RoutePlanner that will always establish a new connection, ignoring any connection pooling */ class ForceConnectRoutePlanner( private val delegate: RealRoutePlanner, ) : RoutePlanner by delegate { override fun plan(): RoutePlanner.Plan = delegate.planConnect() // not delegate.plan()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 937 bytes - Click Count (0) -
okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt
* .build() * ``` */ @Deprecated(message = "Use okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR instead") class JavaNetAuthenticator : Authenticator { @Throws(IOException::class) override fun authenticate( route: Route?, response: Response, ): Request? = JAVA_NET_AUTHENTICATOR.authenticate(route, response)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Credentials.kt
import okio.ByteString.Companion.encode /** Factory for HTTP authorization credentials. */ object Credentials { /** Returns an auth credential for the Basic scheme. */ @JvmStatic @JvmOverloads fun basic( username: String, password: String, charset: Charset = ISO_8859_1, ): String { val usernameAndPassword = "$username:$password" val encoded = usernameAndPassword.encode(charset).base64()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.1K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt
* called by readers. */ public interface MockResponseBody { /** The length of this response in bytes, or -1 if unknown. */ public val contentLength: Long @Throws(IOException::class) public fun writeTo(sink: BufferedSink)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jun 14 16:09:26 GMT 2025 - 1K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/SmokeIdeTests.kt
buildScanTagParam("SmokeIdeTests"), "-PflakyTests=$flakyTestStrategy", ).joinToString(" "), ) }) { companion object { fun buildTypeId(model: CIBuildModel) = "${model.projectId}_SmokeIdeTests" }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 30 04:44:29 GMT 2026 - 1.7K bytes - Click Count (0)