- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 998 for vals (1.37 sec)
-
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
* on classpath. */ open class AndroidSocketAdapter( private val sslSocketClass: Class<in SSLSocket>, ) : SocketAdapter { private val setUseSessionTickets: Method = sslSocketClass.getDeclaredMethod("setUseSessionTickets", Boolean::class.javaPrimitiveType) private val setHostname = sslSocketClass.getMethod("setHostname", String::class.java) private val getAlpnSelectedProtocol = sslSocketClass.getMethod("getAlpnSelectedProtocol")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K bytes - Viewed (0) -
.teamcity/src/test/kotlin/BuildTypeTest.kt
} private val buildModel = CIBuildModel( projectId = "Gradle_Check", branch = VersionedSettingsBranch("master"), buildScanTags = listOf("Check"), subprojects = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json")), ) @Test fun `CompileAll parameters are correct`() { val linuxPaths = listOf(Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Aug 25 20:21:47 UTC 2025 - 5.7K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt
*/ class JavaHttpClientTest { @JvmField @RegisterExtension val platform = PlatformRule() @StartStop private val server = MockWebServer() @Test fun get() { // Not available platform.expectFailureOnJdkVersion(8) val httpClient = HttpClient .newBuilder() .followRedirects(NORMAL) .build()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2.8K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
promotionBuild = isPromotionBuild val finalReleaseSuffix = buildFinalRelease.map { "" } val rcSuffix = buildRcNumber.map { "-rc-$it" } val milestoneSuffix = buildMilestoneNumber.map { "-milestone-$it" } val buildVersionQualifierSuffix = buildVersionQualifier.zip(buildTimestamp) { buildVersion, timestamp -> "-$buildVersion-$timestamp" } val buildTimestampSuffix = buildTimestamp.map { "-$it" }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 30 16:56:31 UTC 2025 - 5.9K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/ShadowDnsResolver.kt
@Implements(DnsResolver::class) class ShadowDnsResolver { var responder: (Request) -> Unit = { it.callback.onAnswer(listOf(), 0) } data class Request( val network: Network?, val domain: String, val nsType: Int, val flags: Int, val callback: DnsResolver.Callback<List<InetAddress>>, ) @Implementation fun query( network: Network?, domain: String, nsType: Int,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Dec 30 23:28:56 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt
import java.io.IOException import okhttp3.Authenticator import okhttp3.Request import okhttp3.Response import okhttp3.Route class RecordingOkAuthenticator( val credential: String?, val scheme: String?, ) : Authenticator { val responses = mutableListOf<Response>() val routes = mutableListOf<Route>() fun onlyResponse() = responses.single() fun onlyRoute() = routes.single() @Throws(IOException::class)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/BufferedSocket.kt
interface BufferedSocket : OkioSocket { override val source: BufferedSource override val sink: BufferedSink } fun JavaNetSocket.asBufferedSocket(): BufferedSocket = asOkioSocket().asBufferedSocket() fun OkioSocket.asBufferedSocket(): BufferedSocket = object : BufferedSocket { private val delegate = this@asBufferedSocket override val source = delegate.source.buffer() override val sink = delegate.sink.buffer()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 1.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt
) : RequestBody() { private val encodedNames: List<String> = encodedNames.toImmutableList() private val encodedValues: List<String> = encodedValues.toImmutableList() /** The number of key-value pairs in this form-encoded body. */ @get:JvmName("size") val size: Int get() = encodedNames.size @JvmName("-deprecated_size") @Deprecated( message = "moved to val",
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
docs/de/docs/tutorial/body-nested-models.md
## Listen als Felder { #list-fields } Sie können ein Attribut als Kindtyp definieren, zum Beispiel eine Python-`list`. {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *} Das bewirkt, dass `tags` eine Liste ist, wenngleich es nichts über den Typ der Elemente der Liste aussagt. ## Listen mit Typ-Parametern als Felder { #list-fields-with-type-parameter }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt
// Make a defensive copy and clean it up. val namesAndValues: Array<String> = arrayOf(*inputNamesAndValues) for (i in namesAndValues.indices) { require(namesAndValues[i] != null) { "Headers cannot be null" } namesAndValues[i] = inputNamesAndValues[i].trim() } // Check for malformed headers. for (i in namesAndValues.indices step 2) { val name = namesAndValues[i] val value = namesAndValues[i + 1]
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 5.8K bytes - Viewed (0)