Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 354 for replace (0.2 sec)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts

        inputs.property("jvmOpts", jvmOpts)
        doLast {
            val optsEnvVar = "DEFAULT_JVM_OPTS"
            scriptFile.writeText(scriptFile.readText().replace("$optsEnvVar='", "$optsEnvVar='$jvmOpts "))
            batchScript.writeText(batchScript.readText().replace("set $optsEnvVar=", "set $optsEnvVar=$jvmOpts "))
        }
    }
    
    fun Project.wrapperUpdateTask(name: String, label: String) {
        val wrapperTaskName = "${name}Wrapper"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

        return when {
          type == TYPE_PUSH_PROMISE && flags and FLAG_END_PUSH_PROMISE != 0 -> {
            result.replace("HEADERS", "PUSH_PROMISE") // TODO: Avoid allocation.
          }
          type == TYPE_DATA && flags and FLAG_COMPRESSED != 0 -> {
            result.replace("PRIORITY", "COMPRESSED") // TODO: Avoid allocation.
          }
          else -> result
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  3. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

              response,
            )
            return
          }
    
          // This is a long-lived response. Cancel full-call timeouts.
          call?.timeout()?.cancel()
    
          // Replace the body with a stripped one so the callbacks can't see real data.
          val response = response.stripBody()
    
          val reader = ServerSentEventReader(body.source(), this)
          try {
            if (!canceled) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. maven-core/src/site/apt/getting-to-container-configured-mojos.apt

      DefaultExpressionEvaluator used within. See the above discussion for more
      on why this evaluator is bad. We need to provide either an alternative
      implementation under a different roleHint, or else replace the
      BasicComponentConfigurator.
    
    * Other
    
      We may need to define a new lifecycle/phase to contextualize a mojo right
      before it's used, and reset it's state afterward. Up to now, the approach
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jan 30 15:20:35 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  5. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

     */
    fun buildRequest(selectors: List<DiscoverySelector>): LauncherDiscoveryRequest {
      val request: LauncherDiscoveryRequest =
        LauncherDiscoveryRequestBuilder.request()
          // TODO replace junit.jupiter.extensions.autodetection.enabled with API approach.
    //    .enableImplicitConfigurationParameters(false)
          .selectors(selectors)
          .build()
      return request
    }
    
    /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

          |data: +2
          |data: 10
          |
          |
          """.trimMargin().replace("\n", "\r"),
        )
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "YHOO\n+2\n10"))
      }
    
      @Test
      fun multilineCrLf() {
        consumeEvents(
          """
          |data: YHOO
          |data: +2
          |data: 10
          |
          |
          """.trimMargin().replace("\n", "\r\n"),
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. manifests/charts/gateway/README.md

    #### Other migrations
    
    If you see errors like `rendered manifests contain a resource that already exists` during installation, you may need to forcibly take ownership.
    
    The script below can handle this for you. Replace `RELEASE` and `NAMESPACE` with the name and namespace of the release:
    
    ```console
    KINDS=(service deployment)
    RELEASE=istio-ingressgateway
    NAMESPACE=istio-system
    for KIND in "${KINDS[@]}"; do
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 19:38:07 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      optional StatefulSetPersistentVolumeClaimRetentionPolicy persistentVolumeClaimRetentionPolicy = 10;
    
      // ordinals controls the numbering of replica indices in a StatefulSet. The
      // default ordinals behavior assigns a "0" index to the first replica and
      // increments the index by one for each additional replica requested. Using
      // the ordinals field requires the StatefulSetStartOrdinal feature gate to be
      // enabled, which is beta.
      // +optional
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          }
    
        private fun readClientRandom(param: String): String? {
          val matchResult = randomRegex.find(param)
    
          return if (matchResult != null) {
            matchResult.groupValues[1].replace(" ", "")
          } else {
            null
          }
        }
    
        override fun secureConnectStart(call: Call) {
          // Register to capture "Produced ClientHello handshake message".
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  10. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLParameterConversion.kt

        override val importsToAdd: List<String> = emptyList()
    ) : HLParameterConversion() {
        override fun convertExpression(expression: String, context: ConversionContext) =
            callTemplate.replace("{0}", expression)
    
        override fun convertType(type: KType): KType = callType
    }
    
    data class ConversionContext(val currentIndent: Int, val indentUnitValue: Int) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Sep 15 09:32:47 GMT 2021
    - 5.7K bytes
    - Viewed (0)
Back to top