Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 396 for listOf (0.05 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

            ResponseHeadersEnd::class,
          )
        expectedEventTypes +=
          when {
            emptyBody -> {
              listOf(
                ResponseBodyStart::class,
                ResponseBodyEnd::class,
                FollowUpDecision::class,
              )
            }
    
            else -> {
              listOf(
                FollowUpDecision::class,
                ResponseBodyStart::class,
                ResponseBodyEnd::class,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

    import java.io.File
    
    val ignoredSubprojects =
        listOf(
            "soak", // soak test
            "distributions-integ-tests", // build distribution testing
            "architecture-test", // sanity check
        )
    
    interface GradleSubprojectProvider {
        val subprojects: List<GradleSubproject>
    
        fun getSubprojectsForFunctionalTest(testConfig: TestCoverage): List<GradleSubproject>
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. 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()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  4. native-image-tests/src/test/kotlin/okhttp3/nativeimage/WithArgumentSourceTest.kt

      }
    }
    
    internal class FakeArgumentsProvider : ArgumentsProvider {
      override fun provideArguments(
        parameters: ParameterDeclarations?,
        context: ExtensionContext?,
      ): Stream<out Arguments> = listOf(Arguments.of(1), Arguments.of(2)).stream()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 22 20:31:49 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/configurations/SmokeTests.kt

                model,
                this,
                ":smoke-test:$task",
                timeout = if (flakyTestStrategy == FlakyTestStrategy.ONLY) 30 else 120,
                extraParameters =
                    listOf(
                        stage.getBuildScanCustomValueParam(),
                        buildScanTagParam("SmokeTests"),
                        "-PtestJavaVersion=${testJava.version.major}",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 04:44:29 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  6. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformInitializer.kt

      override fun create(context: Context): Platform {
        PlatformRegistry.applicationContext = context
    
        return Platform.get()
      }
    
      override fun dependencies(): List<Class<Initializer<*>>> = listOf()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Dec 31 14:50:53 GMT 2024
    - 1K bytes
    - Click Count (1)
  7. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt

     */
    data class Story(
      val description: String? = null,
      val cases: List<Case>,
      val fileName: String? = null,
    ) {
      // Used as the test name.
      override fun toString() = fileName ?: "?"
    
      companion object {
        @JvmField
        val MISSING = Story(description = "Missing", cases = listOf(), "missing")
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/proxy/NullProxySelector.kt

    import java.net.URI
    
    /**
     * A proxy selector that always returns the [Proxy.NO_PROXY].
     */
    object NullProxySelector : ProxySelector() {
      override fun select(uri: URI?): List<Proxy> {
        requireNotNull(uri) { "uri must not be null" }
        return listOf(Proxy.NO_PROXY)
      }
    
      override fun connectFailed(
        uri: URI?,
        sa: SocketAddress?,
        ioe: IOException?,
      ) {
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  9. 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) }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  10. .teamcity/src/test/kotlin/PromotionProjectTests.kt

            val model = setupModelFor("master")
    
            assertEquals("Promotion", model.name)
            assertEquals(10, model.buildTypes.size)
            assertEquals(
                listOf(
                    "SanityCheck",
                    "Nightly Snapshot",
                    "Nightly Snapshot (from QuickFeedback)",
                    "Nightly Snapshot (from QuickFeedback) - Check Ready",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 12 09:41:54 GMT 2025
    - 15.3K bytes
    - Click Count (1)
Back to Top