Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 657 for fun (0.03 sec)

  1. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

            javaCrash = false
        }
    })
    
    private fun determineFlakyTestStrategy(stage: Stage): String {
        val stageName = StageName.values().first { it.stageName == stage.stageName.stageName }
        // See gradlebuild.basics.FlakyTestStrategy
        return if (stageName < StageName.READY_FOR_RELEASE) "exclude" else "include"
    }
    
    fun getTestTaskName(testCoverage: TestCoverage, subprojects: List<String>): String {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 06:14:43 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Connection.kt

     */
    interface Connection {
      /** Returns the route used by this connection. */
      fun route(): Route
    
      /**
       * Returns the socket that this connection is using. Returns an
       * [SSL socket][javax.net.ssl.SSLSocket] if this connection is HTTPS. If this is an HTTP/2
       * connection the socket may be shared by multiple concurrent calls.
       */
      fun socket(): Socket
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/DocsTest.kt

    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    import model.CIBuildModel
    import model.Stage
    
    enum class TestSplitType(val action: String) {
        INCLUDE("include"), EXCLUDE("exclude")
    }
    
    fun prepareTestClassesStep(os: Os, type: TestSplitType, testClasses: List<String>): BuildSteps.() -> Unit {
        val action = type.action
        val unixScript = """
    mkdir -p test-splits
    rm -rf test-splits/*-test-classes.properties
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 07:23:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

     * response.
     */
    class BridgeInterceptor(private val cookieJar: CookieJar) : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val userRequest = chain.request()
        val requestBuilder = userRequest.newBuilder()
    
        val body = userRequest.body
        if (body != null) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

    @Tag("Remote")
    class SniOverrideTest {
      var client =
        OkHttpClient.Builder()
          .build()
    
      @Test
      fun getWithCustomSocketFactory() {
        assumeTrue(Build.VERSION.SDK_INT >= 24)
    
        class CustomSSLSocketFactory(
          delegate: SSLSocketFactory,
        ) : DelegatingSSLSocketFactory(delegate) {
          override fun configureSocket(sslSocket: SSLSocket): SSLSocket {
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/StatusLine.kt

      @JvmField val code: Int,
      @JvmField val message: String,
    ) {
      override fun toString(): String {
        return buildString {
          if (protocol == Protocol.HTTP_1_0) {
            append("HTTP/1.0")
          } else {
            append("HTTP/1.1")
          }
          append(' ').append(code)
          append(' ').append(message)
        }
      }
    
      companion object {
        fun get(response: Response): StatusLine {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/vcsroots/VcsRoots.kt

    import jetbrains.buildServer.configs.kotlin.CheckoutMode
    import jetbrains.buildServer.configs.kotlin.VcsSettings
    
    val gradlePromotionMaster = "Gradle_GradlePromoteMaster"
    val gradlePromotionBranches = "Gradle_GradlePromoteBranches"
    
    fun VcsSettings.useAbsoluteVcs(absoluteId: String) {
        root(AbsoluteId(absoluteId))
    
        checkoutMode = CheckoutMode.ON_AGENT
        this.cleanCheckout = cleanCheckout
        showDependenciesChanges = true
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 510 bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt

          .certificatePinner(
            CertificatePinner.Builder()
              .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=")
              .build(),
          )
          .build()
    
      fun run() {
        val request =
          Request.Builder()
            .url("https://publicobject.com/robots.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt

        CROSSVERSION("crossVersion", listOf("embedded", "forking"))
    }
    
    
    fun Test.includeSpockAnnotation(fqcn: String) {
        systemProperties.compute("include.spock.annotation") { _, oldValue ->
            if (oldValue == null) fqcn else "$oldValue,$fqcn"
        }
    }
    
    
    fun Test.excludeSpockAnnotation(fqcn: String) {
        systemProperties.compute("exclude.spock.annotation") { _, oldValue ->
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

       * Typically this indicates that the client will need to close the web socket with code 1010.
       */
      @JvmField val unknownValues: Boolean = false,
    ) {
      fun noContextTakeover(clientOriginated: Boolean): Boolean {
        return if (clientOriginated) {
          clientNoContextTakeover // Client is deflating.
        } else {
          serverNoContextTakeover // Server is deflating.
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top