Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 77 for Turing (0.14 sec)

  1. okhttp/src/test/java/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 =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

          .isEqualTo("/lookup?ct&dns=AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ")
      }
    
      @Test
      fun failOnExcessiveResponse() {
        val array = CharArray(128 * 1024 + 2) { '0' }
        server.enqueue(dnsResponse(String(array)))
        try {
          dns.lookup("google.com")
          fail<Any>()
        } catch (ioe: IOException) {
          assertThat(ioe.message).isEqualTo("google.com")
          val cause = ioe.cause!!
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 11K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

      }
    
      internal class LogRecorder(
        val prefix: Regex = Regex(""),
      ) : HttpLoggingInterceptor.Logger {
        private val logs = mutableListOf<String>()
        private var index = 0
    
        fun assertLogEqual(expected: String) =
          apply {
            assertThat(index, "No more messages found")
              .isLessThan(logs.size)
            assertThat(logs[index++]).isEqualTo(expected)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

       * `"SSL_RSA_EXPORT_WITH_RC4_40_MD5"`.
       */
      @get:JvmName("javaName") val javaName: String,
    ) {
      @JvmName("-deprecated_javaName")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "javaName"),
        level = DeprecationLevel.ERROR,
      )
      fun javaName(): String = javaName
    
      override fun toString(): String = javaName
    
      companion object {
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

      }
    
      override fun finishRequest() {
        sink.flush()
      }
    
      /** Returns bytes of a request header for sending on an HTTP transport. */
      fun writeRequest(
        headers: Headers,
        requestLine: String,
      ) {
        check(state == STATE_IDLE) { "state: $state" }
        sink.writeUtf8(requestLine).writeUtf8("\r\n")
        for (i in 0 until headers.size) {
          sink.writeUtf8(headers.name(i))
            .writeUtf8(": ")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

      }
    
      /**
       * Don't call through to the proxy selector if we don't have a host name.
       * https://github.com/square/okhttp/issues/5770
       */
      @Test fun proxySelectorNotCalledForNullHost() {
        // The string '>' is okay in a hostname in HttpUrl, which does very light hostname validation.
        // It is not okay in URI, and so it's stripped and we get a URI with a null host.
        val bogusHostname = ">"
        val address =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

        )
      }
    
      @ParameterizedTest
      @ValueSource(booleans = [false, true])
      fun proxyMoveTest(cleanShutdown: Boolean) {
        // Define a single Proxy at myproxy:8008 that will artificially move during the test
        val proxySelector = RecordingProxySelector()
        proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, InetSocketAddress("myproxy", 8008)))
    
        // Define two host names for the DNS routing of fake proxy servers
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

       * ```
       *
       * TODO(jwilson): constrain to printable string characters.
       */
      val PRINTABLE_STRING =
        BasicDerAdapter(
          name = "PRINTABLE STRING",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 19L,
          codec =
            object : BasicDerAdapter.Codec<String> {
              override fun decode(reader: DerReader): String = reader.readUtf8String()
    
              override fun encode(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  9. gradle/wrapper/gradle-wrapper.jar

    WrapperConfiguration { public java.net.URI distribution; public String distributionBase; public String distributionPath; public String distributionSha256Su; public String zipBase; public String zipPath; public int networkTimeout; public boolean validateDistribution; public void WrapperConfiguration(); public final void setDistribution(java.net.URI); public final String getDistributionBase(); public final void setDistributionBase(String); public final String getDistributionPath(); public final void setDistributionPath(String);...
    Archive
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 42.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val encodedPath: String = httpUrl.encodedPath()
        val encodedPathSegments: List<String> = httpUrl.encodedPathSegments()
        val pathSegments: List<String> = httpUrl.pathSegments()
        val encodedQuery: String? = httpUrl.encodedQuery()
        val query: String? = httpUrl.query()
        val querySize: Int = httpUrl.querySize()
        val queryParameter: String? = httpUrl.queryParameter("")
        val queryParameterNames: Set<String> = httpUrl.queryParameterNames()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top