Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 314 for listOf (0.19 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

        val expectedEvents2 =
          mutableListOf<String>().apply {
            add("CallStart")
            if (connectionType != H2) {
              addAll(listOf("ConnectStart", "ConnectEnd"))
            }
            addAll(listOf("ConnectionAcquired", "ConnectionReleased", "CallEnd"))
          }
    
        assertThat(events2).isEqualTo(expectedEvents2)
      }
    
      private fun isConnectionEvent(it: CallEvent?) =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/FunctionalTestBucketModel.kt

        val buildTimeMs: Int,
    )
    
    data class TestCoverageAndBucketSplits(
        val testCoverageUuid: Int,
        val buckets: List<FunctionalTestBucket>,
    )
    
    data class FunctionalTestBucket(
        val subprojects: SortedSet<String>,
        val parallelizationMethod: ParallelizationMethod,
    ) {
        constructor(subprojectList: List<String>, parallelizationMethod: ParallelizationMethod) : this(
            subprojectList.toSortedSet(),
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Apr 10 15:09:32 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/common/CommonExtensions.kt

                doesNotEqual("skip.build", "true")
            }
        }
    }
    
    fun buildToolGradleParameters(
        isContinue: Boolean = true,
        maxParallelForks: String = "%maxParallelForks%",
    ): List<String> =
        listOf(
            // We pass the 'maxParallelForks' setting as 'workers.max' to limit the maximum number of executers even
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Sep 10 01:37:13 UTC 2025
    - 15K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

        val dispatcher: Dispatcher = client.dispatcher()
        val proxy: Proxy? = client.proxy()
        val protocols: List<Protocol> = client.protocols()
        val connectionSpecs: List<ConnectionSpec> = client.connectionSpecs()
        val interceptors: List<Interceptor> = client.interceptors()
        val networkInterceptors: List<Interceptor> = client.networkInterceptors()
        val eventListenerFactory: EventListener.Factory = client.eventListenerFactory()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

      fun getWithCustomSocketFactory() {
        client =
          client
            .newBuilder()
            .sslSocketFactory(CustomSSLSocketFactory(client.sslSocketFactory), client.x509TrustManager!!)
            .connectionSpecs(
              listOf(
                ConnectionSpec
                  .Builder(ConnectionSpec.MODERN_TLS)
                  .supportsTlsExtensions(false)
                  .build(),
              ),
            ).eventListener(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

        // Less than 16,384 chars, because we index on a 14-bit index in the ranges table.
        assertThat(compactTable.mappings.length).isLessThan(1 shl 14)
    
        // Confirm the data strings are ASCII.
        for (dataString in listOf<String>(compactTable.sections, compactTable.ranges)) {
          for (codePoint in dataString.codePoints()) {
            assertThat(codePoint and 0x7f).isEqualTo(codePoint)
          }
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    private val prefix = if (File("samples").exists()) "" else "../../"
    
    private fun mainFiles(): List<File> {
      val directories =
        listOf(
          "$prefix/samples/guide/src/main/java/okhttp3/guide",
          "$prefix/samples/guide/src/main/java/okhttp3/recipes",
          "$prefix/samples/guide/src/main/java/okhttp3/recipes/kt",
        ).map { File(it) }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/TypeParameter.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Captures a free type variable that can be used in {@link TypeToken#where}. For example:
     *
     * {@snippet :
     * static <T> TypeToken<List<T>> listOf(Class<T> elementType) {
     *   return new TypeToken<List<T>>() {}
     *       .where(new TypeParameter<T>() {}, elementType);
     * }
     * }
     *
     * @author Ben Yu
     * @since 12.0
     */
    /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/configurations/CheckLinks.kt

            description = "Check links in documentations"
    
            applyDefaults(
                model,
                this,
                ":docs:checkLinks",
                extraParameters =
                    listOf(
                        buildScanTagParam("CheckLinks"),
                        "-Dorg.gradle.java.installations.auto-download=false",
                        "-Porg.gradle.java.installations.auto-download=false",
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Aug 26 11:35:04 UTC 2025
    - 799 bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          logFile = File("/tmp/key.log"),
          tlsVersions = tlsVersions,
          launch = launch,
        )
    
      val client =
        OkHttpClient
          .Builder()
          .connectionSpecs(listOf(connectionSpec))
          .eventListenerFactory(eventListenerFactory)
          .build()
    
      fun run() {
        // Launch wireshark in the background
        val process = eventListenerFactory.launchWireShark()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top