Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 668 for val3 (0.41 sec)

  1. .teamcity/src/main/kotlin/projects/PerformanceTestProject.kt

    import model.PerformanceTestCoverage
    import model.PerformanceTestProjectSpec
    import model.Stage
    
    abstract class PerformanceTestProject(
        model: CIBuildModel,
        val spec: PerformanceTestProjectSpec,
        val performanceTests: List<PerformanceTest>,
    ) : Project({
            this.id(spec.asConfigurationId(model))
            this.name = spec.asName()
        }) {
        init {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

        })
    
    class FlakyTestQuarantine(
        model: CIBuildModel,
        stage: Stage,
        testCoverage: TestCoverage,
    ) : OsAwareBaseGradleBuildType(os = testCoverage.os, stage = stage, init = {
            val os = testCoverage.os
            val arch = testCoverage.arch
            id("${model.projectId}_FlakyQuarantine_${testCoverage.asId(model)}")
            name = "Flaky Test Quarantine - ${testCoverage.asName()}"
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jul 29 03:24:58 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsClient.kt

      callFactory: Call.Factory,
    ) {
      private val moshi = Moshi.Builder().build()
    
      private val moshiConverterFactory = MoshiConverterFactory.create(moshi)
    
      private val retrofit =
        Retrofit
          .Builder()
          .baseUrl(SslLabsApi.BASE_URL)
          .addConverterFactory(moshiConverterFactory)
          .callFactory(callFactory)
          .build()
    
      private val sslLabsApi = retrofit.create(SslLabsApi::class.java)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt

    import org.junit.Test
    import org.junit.runner.Description
    import org.junit.runners.model.Statement
    
    class MockWebServerRuleTest {
      @Test fun statementStartsAndStops() {
        val rule = MockWebServerRule()
        val called = AtomicBoolean()
        val statement: Statement =
          rule.apply(
            object : Statement() {
              override fun evaluate() {
                called.set(true)
                rule.server
                  .url("/")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

        ) : DelegatingSSLSocketFactory(delegate) {
          override fun configureSocket(sslSocket: SSLSocket): SSLSocket {
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
              val parameters = sslSocket.sslParameters
              val sni = parameters.serverNames
              Log.d("CustomSSLSocketFactory", "old SNI: $sni")
              parameters.serverNames = mutableListOf<SNIServerName>(SNIHostName("cloudflare-dns.com"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. mockwebserver/README.md

      // instance for every unit test.
      val server = MockWebServer()
    
      // Schedule some responses.
      server.enqueue(MockResponse(body = "hello, world!"))
      server.enqueue(MockResponse(body = "sup, bra?"))
      server.enqueue(MockResponse(body = "yo dog"))
    
      // Start the server.
      server.start()
    
      // Ask the server for its URL. You'll need this to make HTTP requests.
      val baseUrl = server.url("/v1/chat/")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:40:52 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/AssetPublicSuffixList.kt

    import java.io.IOException
    import okhttp3.internal.platform.PlatformRegistry
    import okio.Source
    import okio.source
    
    internal class AssetPublicSuffixList(
      override val path: String = PUBLIC_SUFFIX_RESOURCE,
    ) : BasePublicSuffixList() {
      override fun listSource(): Source {
        val assets = PlatformRegistry.applicationContext?.assets
    
        if (assets == null) {
          if (Build.FINGERPRINT == null) {
            throw IOException(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/promotion/PublishRelease.kt

     */
    
    package promotion
    
    import common.VersionedSettingsBranch
    import jetbrains.buildServer.configs.kotlin.ParameterDisplay
    
    const val FINAL_RELEASE_BUILD_CONFIGURATION_ID = "Promotion_FinalRelease"
    const val RELEASE_CANDIDATE_BUILD_CONFIGURATION_ID = "Promotion_ReleaseCandidate"
    const val MILESTONE_BUILD_CONFIGURATION_ID = "Promotion_Milestone"
    
    abstract class PublishRelease(
        prepTask: String,
        promoteTask: String,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Jul 24 03:08:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt

            .build()
      }
    
      @Test
      fun testRequestExternal() {
        assumeNetwork()
    
        val request = Request("https://www.google.com/robots.txt".toHttpUrl())
    
        val networkRequest =
          request
            .newBuilder()
            .build()
    
        val call = client.newCall(networkRequest)
    
        call.execute().use { response ->
          assertThat(response.code).isEqualTo(200)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.asRequestBody
    
    class PostMultipart {
      private val client = OkHttpClient()
    
      fun run() {
        // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
        val requestBody =
          MultipartBody
            .Builder()
            .setType(MultipartBody.FORM)
            .addFormDataPart("title", "Square Logo")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top