Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 396 for listOf (0.11 seconds)

  1. android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt

        val socketFactory = context.socketFactory
    
        val sslSocket = socketFactory.createSocket() as SSLSocket
        assertTrue(adapter.matchesSocket(sslSocket))
    
        adapter.configureTlsExtensions(sslSocket, null, listOf(HTTP_2, HTTP_1_1))
        // not connected
        assertNull(adapter.getSelectedProtocol(sslSocket))
      }
    
      @Test
      fun testMatchesSupportedAndroidSocketFactory() {
        assumeTrue(adapter is StandardAndroidSocketAdapter)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/DoubleInetAddressDns.kt

     * fallbacks to guarantee that a fallback address is available.
     */
    class DoubleInetAddressDns : Dns {
      override fun lookup(hostname: String): List<InetAddress> {
        val addresses = Dns.SYSTEM.lookup(hostname)
        return listOf(addresses[0], addresses[0])
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt

      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      @StartStop
      private val server =
        MockWebServer().apply {
          protocols = listOf(protocol)
        }
    
      private var client =
        clientTestRule
          .newClientBuilder()
          .protocols(listOf(protocol))
          .build()
    
      @Test
      fun largeStatusLine() {
        assumeTrue(protocol == Protocol.HTTP_1_1)
    
        server.enqueue(
          MockResponse
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/common/PerformanceTestExtensions.kt

        os: Os = Os.LINUX,
        arch: Arch = Arch.AMD64,
        testJavaVersion: String = os.perfTestJavaVersion.major.toString(),
        testJavaVendor: String = os.perfTestJavaVendor.name.lowercase(),
    ) = listOf(
        "$task${if (extraParameters.isEmpty()) "" else " $extraParameters"}",
        "-PperformanceBaselines=$baselines",
        "-PtestJavaVersion=$testJavaVersion",
        "-PtestJavaVendor=$testJavaVendor",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

    import java.util.zip.ZipEntry
    import java.util.zip.ZipInputStream
    
    
    /**
     * This task will generate the list of relocated packages into a file that will in turn be used when generating the runtime shaded jars. All we need is a list of packages that need to be relocated, so
     * we'll make sure to filter the list of packages before generating the file.
     *
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Apr 11 15:53:18 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/configurations/SmokeIdeTests.kt

            applyTestDefaults(
                model = model,
                buildType = this,
                gradleTasks = ":smoke-ide-test:smokeIdeTest",
                extraParameters =
                    listOf(
                        stage.getBuildScanCustomValueParam(),
                        buildScanTagParam("SmokeIdeTests"),
                        "-PflakyTests=$flakyTestStrategy",
                    ).joinToString(" "),
            )
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 04:44:29 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/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 =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Sep 16 07:21:43 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  8. .teamcity/src/main/kotlin/model/PerformanceTestSpec.kt

            get() = false
    
        val buildSpecs: List<FlameGraphGenerationBuildSpec>
            get() =
                scenarios.flatMap { scenario ->
                    Os.values().flatMap { os ->
                        val arch = if (os == Os.MACOS) Arch.AARCH64 else Arch.AMD64
                        if (os == Os.WINDOWS) {
                            listOf("jprofiler")
                        } else {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/GeneratePlatformsDataTask.kt

    import org.gradle.api.tasks.OutputFile
    import org.gradle.api.tasks.TaskAction
    
    abstract class GeneratePlatformsDataTask : DefaultTask() {
    
        data class PlatformData(val name: String, val dirs: List<String>, val uses: List<String>)
    
        @get:OutputFile
        abstract val outputFile: RegularFileProperty
    
        @get:Input
        abstract val platforms: ListProperty<Platform>
    
        @TaskAction
        fun action() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  10. .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
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 14.8K bytes
    - Click Count (0)
Back to Top