Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 314 for listOf (0.11 sec)

  1. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        val extraBuildScanTags: List<String> = if (isRetry) listOf("RetriedBuild") else emptyList()
    
        val buildScanTags = model.buildScanTags + listOfNotNull(stage?.id) + extraBuildScanTags
        val parameters =
            (
                buildToolGradleParameters(maxParallelForks = maxParallelForks) +
                    listOf(extraParameters) +
                    buildScanTags.map { buildScanTagParam(it) } +
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Jun 11 12:58:05 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt

      @get:JvmName("cipherSuite") val cipherSuite: CipherSuite,
      /** Returns a possibly-empty list of certificates that identify this peer. */
      @get:JvmName("localCertificates") val localCertificates: List<Certificate>,
      // Delayed provider of peerCertificates, to allow lazy cleaning.
      peerCertificatesFn: () -> List<Certificate>,
    ) {
      /** Returns a possibly-empty list of certificates that identify the remote peer. */
      @get:JvmName("peerCertificates")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Apr 05 09:48:10 UTC 2025
    - 6.6K bytes
    - Viewed (1)
  3. android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt

        val socketFactory = context.socketFactory
    
        val sslSocket = socketFactory.createSocket() as SSLSocket
        assertTrue(adapter.matchesSocket(sslSocket))
    
        adapter.configureTlsExtensions(sslSocket, null, listOf(HTTP_2, HTTP_1_1))
        // not connected
        assertNull(adapter.getSelectedProtocol(sslSocket))
      }
    
      @Test
      fun testMatchesSupportedAndroidSocketFactory() {
        assumeTrue(adapter is StandardAndroidSocketAdapter)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. 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")))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

      private lateinit var handshakeEnabledCipherSuites: List<String>
    
      /** Ciphers in order we observed on sslSocketFactory defaults. */
      private lateinit var defaultEnabledCipherSuites: List<String>
    
      /** Ciphers in order we observed on sslSocketFactory supported. */
      private lateinit var defaultSupportedCipherSuites: List<String>
    
      val expectedModernTls12CipherSuites =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/configurations/BuildLogicTest.kt

            }
    
            applyDefaults(
                model,
                this,
                ":build-logic:test -PskipBuildLogicTests=false",
                extraParameters =
                    listOf(
                        stage.getBuildScanCustomValueParam(),
                        buildScanTagParam("BuildLogitTest"),
                        "-Dorg.gradle.java.installations.auto-download=false",
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Aug 25 20:21:47 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        val wildcardRuleLabels = wildcardMatch?.split('.') ?: listOf()
    
        return if (exactRuleLabels.size > wildcardRuleLabels.size) {
          exactRuleLabels
        } else {
          wildcardRuleLabels
        }
      }
    
      companion object {
        private val WILDCARD_LABEL = ByteString.of('*'.code.toByte())
        private val PREVAILING_RULE = listOf("*")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top