- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 381 for listOf (0.8 sec)
-
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() }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
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()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt
} @Test fun proxySelector() { server.enqueue(MockResponse.Builder().body("abc").build()) val proxySelector: ProxySelector = object : ProxySelector() { override fun select(uri: URI) = listOf(socksProxy.proxy()) override fun connectFailed( uri: URI, socketAddress: SocketAddress, e: IOException, ) = error("unexpected call") } val client =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
val dispatcher: Dispatcher = client.dispatcher() val proxy: Proxy? = client.proxy() val protocols: List<Protocol> = client.protocols() val connectionSpecs: List<ConnectionSpec> = client.connectionSpecs() val interceptors: List<Interceptor> = client.interceptors() val networkInterceptors: List<Interceptor> = client.networkInterceptors() val eventListenerFactory: EventListener.Factory = client.eventListenerFactory()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
var recordTaskRunner = false var recordFrames = false var recordSslDebug = false private val sslExcludeFilter = Regex( buildString { append("^(?:") append( listOf( "Inaccessible trust store", "trustStore is", "Reload the trust store", "Reload trust certs", "Reloaded", "adding as trusted certificates",Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 10.8K bytes - Viewed (0) -
.teamcity/src/test/kotlin/SplitBucketTest.kt
data class SmallSubprojectCombination( val subprojects: List<Subproject>, ) : SubprojectBucket data class LargeSubprojectSplit( val subproject: Subproject, val split: Int, ) : SubprojectBucket class SplitBucketTest { @Test fun testUnbalancedBuckets() { val subprojects = LinkedList( listOf( Subproject("a", 20),
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Feb 12 09:12:03 UTC 2025 - 3K bytes - Viewed (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
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Apr 28 14:56:52 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeParameter.java
import org.jspecify.annotations.Nullable; /** * Captures a free type variable that can be used in {@link TypeToken#where}. For example: * * {@snippet : * static <T> TypeToken<List<T>> listOf(Class<T> elementType) { * return new TypeToken<List<T>>() {} * .where(new TypeParameter<T>() {}, elementType); * } * } * * @author Ben Yu * @since 12.0 */ /*Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.4K bytes - Viewed (0) -
.teamcity/src/test/kotlin/PromotionProjectTests.kt
val model = setupModelFor("master") assertEquals("Promotion", model.name) assertEquals(10, model.buildTypes.size) assertEquals( listOf( "SanityCheck", "Nightly Snapshot", "Nightly Snapshot (from QuickFeedback)", "Nightly Snapshot (from QuickFeedback) - Check Ready",
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Jun 12 09:41:54 UTC 2025 - 15.3K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
private fun configureClientAndServerProxies(http2: Boolean) { server.useHttps(handshakeCertificates.sslSocketFactory()) server.protocols = when { http2 -> listOf(Protocol.HTTP_2, Protocol.HTTP_1_1) else -> listOf(Protocol.HTTP_1_1) } server.enqueue( MockResponse .Builder() .inTunnel() .build(), ) client = client
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 147.4K bytes - Viewed (0)