Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 405 for listOf (0.09 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        val expectedRequestHeaders =
          listOf(
            Header(Header.TARGET_METHOD, "GET"),
            Header(Header.TARGET_SCHEME, "https"),
            Header(Header.TARGET_AUTHORITY, "squareup.com"),
            Header(Header.TARGET_PATH, "/cached"),
          )
        peer.sendFrame().pushPromise(3, 2, expectedRequestHeaders)
        val expectedResponseHeaders =
          listOf(
            Header(Header.RESPONSE_STATUS, "200"),
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

            ) {
    
                assertHasNoInformation()
                assertHasNoWarning()
                assertHasErrors(
    
                    // Kotlin file-facade classes are ignored by the @since rule
                    listOf("Class com.example.SourceKt: Is not annotated with @Incubating."),
    
                    added("Field", "cathedral"),
                    added("Method", "SourceKt.foo()"),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  3. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

                parameters.srcDirs.forEach { srcDir ->
                    if (srcDir.exists()) {
                        val collector = CompositeVersionsToIncubatingCollector(
                            listOf(
                                JavaVersionsToIncubatingCollector(srcDir),
                                KotlinVersionsToIncubatingCollector()
                            )
                        )
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    }
    
    /** Returns an immutable copy of this. */
    internal fun <T> List<T>.toImmutableList(): List<T> {
      return Collections.unmodifiableList(toMutableList())
    }
    
    /** Returns an immutable list containing [elements]. */
    @SafeVarargs
    internal fun <T> immutableListOf(vararg elements: T): List<T> {
      return Collections.unmodifiableList(listOf(*elements.clone()))
    }
    
    /** Closes this, ignoring any checked exceptions. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/DuplexTest.kt

       */
      private fun enableProtocol(protocol: Protocol) {
        enableTls()
        client =
          client.newBuilder()
            .protocols(listOf(protocol, Protocol.HTTP_1_1))
            .build()
        server.protocols = client.protocols
      }
    
      private fun enableTls() {
        client =
          client.newBuilder()
            .sslSocketFactory(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

        get() = systemProperty(PREDICTIVE_TEST_SELECTION_ENABLED)
            .map { it.toBoolean() }
            .orElse(
                buildBranch.zip(buildRunningOnCi) { branch, ci ->
                    val protectedBranches = listOf("master", "release")
                    ci && !protectedBranches.contains(branch)
                        && !branch.startsWith("pre-test/")
                        && !branch.startsWith("gh-readonly-queue/")
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          object : BasicDerAdapter.Codec<T> {
            override fun decode(reader: DerReader): T {
              return reader.withTypeHint {
                val list = mutableListOf<Any?>()
    
                while (list.size < members.size) {
                  val member = members[list.size]
                  list += member.fromDer(reader)
                }
    
                if (reader.hasNext()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

        serverIps = Dns.SYSTEM.lookup(server.hostName)
        dns[server.hostName] = serverIps
        dns["san.com"] = serverIps
        dns["nonsan.com"] = serverIps
        dns["www.wildcard.com"] = serverIps
        dns["differentdns.com"] = listOf()
        val handshakeCertificates =
          HandshakeCertificates.Builder()
            .addTrustedCertificate(rootCa.certificate)
            .build()
        client =
          clientTestRule.newClientBuilder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/EventListenerTest.kt

            .throttleBody(2, 100, TimeUnit.MILLISECONDS)
            .socketPolicy(DisconnectDuringResponseBody)
            .build(),
        )
        client =
          client.newBuilder()
            .protocols(listOf<Protocol>(Protocol.HTTP_1_1))
            .readTimeout(Duration.ofMillis(250))
            .build()
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  10. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

              "[h2_prior_knowledge, http/1.1]",
          )
        }
      }
    
      @Test
      fun testH2PriorKnowledgeServerDuplicates() {
        try {
          // Treating this use case as user error
          server.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE, Protocol.H2_PRIOR_KNOWLEDGE)
          fail<Any>()
        } catch (expected: IllegalArgumentException) {
          assertThat(expected.message).isEqualTo(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top