- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 396 for listOf (0.18 seconds)
-
.teamcity/src/main/kotlin/model/FunctionalTestBucketModel.kt
val buildTimeMs: Int, ) data class TestCoverageAndBucketSplits( val testCoverageUuid: Int, val buckets: List<FunctionalTestBucket>, ) data class FunctionalTestBucket( val subprojects: SortedSet<String>, val parallelizationMethod: ParallelizationMethod, ) { constructor(subprojectList: List<String>, parallelizationMethod: ParallelizationMethod) : this( subprojectList.toSortedSet(),
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Apr 10 15:09:32 GMT 2025 - 3.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ExternalHttp2Example.kt
import okhttp3.Protocol import okhttp3.Request object ExternalHttp2Example { @JvmStatic fun main(args: Array<String>) { val client = OkHttpClient .Builder() .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1)) .build() val call = client.newCall( Request .Builder() .url("https://www.google.ca/") .build(), )Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt
data class JavaSourceQuery<T : Any?>( val defaultValue: T, val visitor: GenericVisitor<T, Unit?> ) internal class SourcesRepository( private val sourceRoots: List<File>, private val compilationClasspath: List<File> ) : AutoCloseable { private val openJavaCompilationUnitsByFile = mutableMapOf<File, CompilationUnit>() private
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Apr 28 14:56:52 GMT 2025 - 4.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
hpackWriter!!.writeHeaders(listOf(Header("far", "boo"))) assertBytes(0x40, 3, 'f'.code, 'a'.code, 'r'.code, 3, 'b'.code, 'o'.code, 'o'.code) } @Test fun noDynamicTableSizeUpdateWhenSizeIsEqual() { val currentSize = hpackWriter!!.headerTableSizeSetting hpackWriter!!.resizeHeaderTable(currentSize) hpackWriter!!.writeHeaders(listOf(Header("foo", "bar")))
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 38.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt
fun addProxy(proxy: Proxy): FakeProxySelector { proxies.add(proxy) return this } override fun select(uri: URI): List<Proxy> { // Don't handle 'socket' schemes, which the RI's Socket class may request (for SOCKS). return if (uri.scheme == "http" || uri.scheme == "https") proxies else listOf(Proxy.NO_PROXY) } override fun connectFailed( uri: URI, sa: SocketAddress, ioe: IOException, ) { }
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) -
.teamcity/src/main/kotlin/util/UpdateWrapper.kt
param("env.DEFAULT_BRANCH", "%teamcity.build.branch%") param("env.TRIGGERED_BY", "%teamcity.build.triggeredBy%") } if (!vcsBranch.isMaster) { listOf(FINAL_RELEASE_BUILD_CONFIGURATION_ID, RELEASE_CANDIDATE_BUILD_CONFIGURATION_ID).forEach { triggers { finishBuildTrigger { buildType =
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jul 24 03:08:48 GMT 2025 - 2.7K bytes - Click Count (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,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Dec 30 23:28:56 GMT 2024 - 1.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
} /** Prepares the proxy servers to try. */ private fun resetNextProxy( url: HttpUrl, proxy: Proxy?, ) { fun selectProxies(): List<Proxy> { // If the user specifies a proxy, try that and only that. if (proxy != null) return listOf(proxy) // If the URI lacks a host (as in "http://</"), don't call the ProxySelector. val uri = url.toUri()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 7.3K bytes - Click Count (2) -
okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt
.isInstanceOf<SSLSocketImpl>() } } @Test fun testSupportedProtocols() { val factory = SSLSocketFactoryImpl() val s = factory.createSocket() as SSLSocketImpl assertEquals(listOf("TLSv1.3", "TLSv1.2"), s.enabledProtocols.toList()) } @Test @Disabled fun testMozilla() { assumeNetwork() val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.7K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt
} val handshake: Handshake? get() = (javaNetSocket as? SSLSocket)?.session?.handshake() val handshakeServerNames: List<String> get() = (javaNetSocket as? SSLSocket) ?.let { Platform.Companion.get().getHandshakeServerNames(it) } ?: listOf() fun shutdownInput() { javaNetSocket.shutdownInput() } fun shutdownOutput() { javaNetSocket.shutdownOutput() }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 3.3K bytes - Click Count (0)