Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 234 for listafp (0.04 sec)

  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)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt

      }
    
      @AfterEach
      fun tearDown() {
        Authenticator.setDefault(null)
        factory.close()
      }
    
      @Test
      fun testBasicAuth() {
        fakeDns["server"] = listOf(InetAddress.getLocalHost())
    
        val route = factory.newRoute()
    
        val request =
          Request
            .Builder()
            .url("https://server/robots.txt")
            .build()
        val response =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt

    import org.robolectric.RobolectricTestRunner
    import org.robolectric.shadows.ShadowLog
    
    @RunWith(RobolectricTestRunner::class)
    class AndroidLoggingTest {
      val clientBuilder =
        OkHttpClient.Builder().connectionSpecs(listOf(ConnectionSpec.CLEARTEXT)).dns {
          throw UnknownHostException("shortcircuit")
        }
    
      val request = Request("http://google.com/robots.txt".toHttpUrl())
    
      @Test
      fun testHttpLoggingInterceptor() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

      )
    
    internal fun mockwebserver3.RecordedRequest.unwrap(): RecordedRequest =
      RecordedRequest(
        requestLine = requestLine,
        headers = headers,
        chunkSizes = chunkSizes ?: listOf(),
        bodySize = bodySize,
        body = Buffer().write(body ?: ByteString.EMPTY),
        sequenceNumber = exchangeIndex,
        failure = failure,
        method = method,
        path = target,
        handshake = handshake,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 4.1K bytes
    - Viewed (1)
  5. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupTask.kt

            val result: ExecResult = execOperations.exec {
                workingDir = projectDir
                executable = gradleExecutable
                args = listOf("build", "--no-daemon", "--quiet", "-x", "lint", "-x", "lintDebug", "-x", "lintRelease")
                isIgnoreExitValue = false
            }
    
            if (result.exitValue != 0) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 09 09:24:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt

        expectedCipherSuites.add(CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256.javaName)
        expectedCipherSuites.add(CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName)
        if (listOf<String>(*socket.supportedCipherSuites).contains("TLS_FALLBACK_SCSV")) {
          expectedCipherSuites.add("TLS_FALLBACK_SCSV")
        }
        assertThat(socket.enabledCipherSuites)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt

            .Builder(ConnectionSpec.MODERN_TLS)
            .tlsVersions(TlsVersion.SSL_3_0)
            .build()
        val routePlanner = factory.newRoutePlanner(client)
        val route = factory.newRoute()
        val connectionSpecs = listOf(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS, sslV3)
        val enabledSocketTlsVersions =
          arrayOf(
            TlsVersion.TLS_1_2,
            TlsVersion.TLS_1_1,
            TlsVersion.TLS_1_0,
          )
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. docs/es/docs/python-types.md

    Eso significa: "la variable `items` es una `list`, y cada uno de los ítems en esta lista es un `str`".
    
    Al hacer eso, tu editor puede proporcionar soporte incluso mientras procesa elementos de la lista:
    
    <img src="/img/python-types/image05.png">
    
    Sin tipos, eso es casi imposible de lograr.
    
    Nota que la variable `item` es uno de los elementos en la lista `items`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  9. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

                    gradleRunnerStep(
                        model,
                        ":$performanceProjectName:$taskName",
                        extraParameters =
                            listOf(
                                "-Porg.gradle.performance.branchName" to "%teamcity.build.branch%",
                                "-Porg.gradle.performance.db.url" to "%performance.db.url%",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 22 07:15:16 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

                if (reuseSession) {
                  this.enableSessionCreation = false
                }
              }
          }
    
        client =
          client
            .newBuilder()
            .connectionSpecs(listOf(spec))
            .eventListenerFactory(
              clientTestRule.wrap(
                object : EventListener() {
                  override fun connectionAcquired(
                    call: Call,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 5.9K bytes
    - Viewed (1)
Back to top