Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 396 for listOf (0.09 seconds)

  1. 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 =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. 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()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 13.3K bytes
    - Click Count (0)
  3. .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),
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. 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",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/configurations/LightweightChecks.kt

    import common.javaHome
    import jetbrains.buildServer.configs.kotlin.BuildStep
    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    import model.CIBuildModel
    import model.Stage
    
    private val remoteProjectRefs =
        listOf(
            "androidSmokeTestProjectRef",
            "buildBuilderProjectRef",
            "nowInAndroidBuildProjectRef",
            "largeAndroidBuildProjectRef",
            "largeAndroidBuild2ProjectRef",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 23 03:29:32 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt

                                ]
                            }
                        ]
                    }
                """.trimIndent()
            )
    
            assertHasMisorderedChanges(
                listOf(
                    Change("org.gradle.api.tasks.AbstractExecTask", "Method org.gradle.api.tasks.AbstractExecTask.getExecResult()"),
                    Change("org.gradle.api.AntBuilder", "Class org.gradle.api.AntBuilder"),
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

      @Suppress("NewApi")
      @IgnoreJRERequirement // This function is overridden to require API >= 24.
      open fun getHandshakeServerNames(sslSocket: SSLSocket): List<String> {
        val session = sslSocket.session as? ExtendedSSLSession ?: return listOf()
        return try {
          session.requestedServerNames.mapNotNull { (it as? SNIHostName)?.asciiName }
        } catch (_: UnsupportedOperationException) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/configurations/DocsTest.kt

                "docs:docsTest docs:checkSamples",
                os = os,
                arch = os.defaultArch,
                timeout = if (os == Os.WINDOWS || os == Os.LINUX) 90 else 60,
                extraParameters =
                    listOf(
                        buildScanTagParam(docsTestType.docsTestName),
                        parallelizationMethod.extraBuildParameters,
                        "-PenableConfigurationCacheForDocsTests=${docsTestType.ccEnabled}",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 08 05:47:02 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

        fun toText() =
            StringBuilder("Binary compatibility\n").apply {
                listOf("Errors" to errors, "Warnings" to warnings, "Information" to information, "Accepted" to accepted).forEach { (name, list) ->
                    if (list.isNotEmpty()) {
                        append("  $name (").append(list.size).append(")\n")
                        append(list.joinToString(separator = "\n    ", prefix = "    ", postfix = "\n"))
                    }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

        chain: Array<out X509Certificate>,
        authType: String,
        host: String,
      ): List<Certificate> {
        if (host in insecureHosts) return listOf()
        try {
          val method =
            checkServerTrustedMethod
              ?: throw CertificateException("Failed to call checkServerTrusted")
          return method.invoke(delegate, chain, authType, host) as List<Certificate>
        } catch (e: InvocationTargetException) {
          throw e.targetException
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Click Count (0)
Back to Top