Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for ArrayList (0.24 sec)

  1. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

            "java.util.ListIterator" to "kotlin.collections.ListIterator",
            "java.util.Collection" to "kotlin.collections.Collection",
            "java.util.List" to "kotlin.collections.List",
            "java.util.ArrayList" to "kotlin.collections.ArrayList",
            "java.util.Set" to "kotlin.collections.Set",
            "java.util.HashSet" to "kotlin.collections.HashSet",
            "java.util.LinkedHashSet" to "kotlin.collections.LinkedHashSet",
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10IntersectionType.kt

        override fun asStringForDebugging(): String = withValidityAssertion { fe10Type.asStringForDebugging(analysisContext) }
    
        override val conjuncts: List<KtType> by cached {
            val result = ArrayList<KtType>(supertypes.size)
            val isNullable = fe10Type.isMarkedNullable
            for (supertype in supertypes) {
                val mappedSupertype = if (isNullable) supertype.makeNullable() else supertype
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Jan 12 10:48:21 GMT 2023
    - 2K bytes
    - Viewed (0)
  3. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        return lookupHttps(hostname)
      }
    
      @Throws(UnknownHostException::class)
      private fun lookupHttps(hostname: String): List<InetAddress> {
        val networkRequests = ArrayList<Call>(2)
        val failures = ArrayList<Exception>(2)
        val results = ArrayList<InetAddress>(5)
    
        buildRequest(hostname, networkRequests, results, failures, DnsRecordCodec.TYPE_A)
    
        if (includeIPv6) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

    class MockHttp2Peer : Closeable {
      private var frameCount = 0
      private var client = false
      private val bytesOut = Buffer()
      private var writer = Http2Writer(bytesOut, client)
      private val outFrames: MutableList<OutFrame> = ArrayList()
      private val inFrames: BlockingQueue<InFrame> = LinkedBlockingQueue()
      private var port = 0
      private val executor = Executors.newSingleThreadExecutor(threadFactory("MockHttp2Peer"))
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

            list(certificate, intermediateCa, trusted),
          )
      }
    
      @Test
      fun chainMaxLength() {
        val heldCertificates = chainOfLength(10)
        val certificates: MutableList<Certificate> = ArrayList()
        for (heldCertificate in heldCertificates) {
          certificates.add(heldCertificate.certificate)
        }
        val root = heldCertificates[heldCertificates.size - 1].certificate
        val cleaner = get(root)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

            TE,
            TRANSFER_ENCODING,
            ENCODING,
            UPGRADE,
          )
    
        fun http2HeadersList(request: Request): List<Header> {
          val headers = request.headers
          val result = ArrayList<Header>(headers.size + 4)
          result.add(Header(TARGET_METHOD, request.method))
          result.add(Header(TARGET_PATH, RequestLine.requestPath(request.url)))
          val host = request.header("Host")
          if (host != null) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

       *
       * https://github.com/square/okhttp/issues/2409
       */
      @Test
      fun connectionsAreNotReusedIfNetworkInterceptorInterferes() {
        val responsesNotClosed: MutableList<Response?> = ArrayList()
        client =
          client.newBuilder()
            // Since this test knowingly leaks a connection, avoid using the default shared connection
            // pool, which should remain clean for subsequent tests.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        assertThat(server2.takeRequest().sequenceNumber, "Expected connection reuse")
          .isEqualTo(1)
      }
    
      @Test
      fun redirectWithProxySelector() {
        val proxySelectionRequests: MutableList<URI> = ArrayList()
        client =
          client.newBuilder()
            .proxySelector(
              object : ProxySelector() {
                override fun select(uri: URI): List<Proxy> {
                  proxySelectionRequests.add(uri)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

        applyConnectionSpec(tlsSpec, socket, isFallback = true)
        assertThat(socket.enabledProtocols).containsExactly(
          TlsVersion.TLS_1_2.javaName,
        )
        val expectedCipherSuites: MutableList<String> = ArrayList()
        expectedCipherSuites.add(CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256.javaName)
        expectedCipherSuites.add(CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        initialize()
        return object : MutableIterator<Snapshot> {
          /** Iterate a copy of the entries to defend against concurrent modification errors. */
          private val delegate = ArrayList(lruEntries.values).iterator()
    
          /** The snapshot to return from [next]. Null if we haven't computed that yet. */
          private var nextSnapshot: Snapshot? = null
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
Back to top