Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 734 for val3 (0.01 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingResponseBody.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.BufferedSource
    
    open class ForwardingResponseBody(
      delegate: ResponseBody?,
    ) : ResponseBody() {
      private val delegate: ResponseBody
    
      fun delegate(): ResponseBody = delegate
    
      override fun contentType(): MediaType? = delegate.contentType()
    
      override fun contentLength(): Long = delegate.contentLength()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

     *
     * https://datatracker.ietf.org/doc/html/rfc8305#section-4
     */
    internal fun reorderForHappyEyeballs(addresses: List<InetAddress>): List<InetAddress> {
      if (addresses.size < 2) {
        return addresses
      }
    
      val (ipv6, ipv4) = addresses.partition { it is Inet6Address }
    
      return if (ipv6.isEmpty() || ipv4.isEmpty()) {
        addresses
      } else {
        interleave(ipv6, ipv4)
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Apr 24 15:15:15 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt

        socketEnabledCipherSuites
      }
    
    internal fun MediaType?.chooseCharset(): Pair<Charset, MediaType?> {
      var charset: Charset = Charsets.UTF_8
      var finalContentType: MediaType? = this
      if (this != null) {
        val resolvedCharset = this.charset()
        if (resolvedCharset == null) {
          charset = Charsets.UTF_8
          finalContentType = "$this; charset=utf-8".toMediaTypeOrNull()
        } else {
          charset = resolvedCharset
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. helm/minio/templates/deployment.yaml

                - name: MINIO_ETCD_COREDNS_PATH
                  value: {{ .Values.etcd.corednsPathPrefix }}
                {{- end }}
                {{- end }}
                {{- range $key, $val := .Values.environment }}
                - name: {{ $key }}
                  value: {{ tpl $val $ | quote }}
                {{- end }}
              resources: {{- toYaml .Values.resources | nindent 12 }}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. cmd/batch-expire.go

    // UnmarshalYAML - BatchJobExpirePurge extends unmarshal to extract line, col
    func (p *BatchJobExpirePurge) UnmarshalYAML(val *yaml.Node) error {
    	type purge BatchJobExpirePurge
    	var tmp purge
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*p = BatchJobExpirePurge(tmp)
    	p.line, p.col = val.Line, val.Column
    	return nil
    }
    
    // Validate returns nil if value is valid, ie > 0.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  6. tests/test_request_params/test_form/test_required_str.py

        openapi = app.openapi()
        body_model_name = get_body_model_name(openapi, path)
    
        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p_val_alias": {"title": "P Val Alias", "type": "string"},
            },
            "required": ["p_val_alias"],
            "title": body_model_name,
            "type": "object",
        }
    
    
    @pytest.mark.parametrize(
        "path",
        [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. tests/test_request_params/test_header/test_list.py

    )
    def test_required_list_validation_alias_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": True,
                "schema": {
                    "title": "P Val Alias",
                    "type": "array",
                    "items": {"type": "string"},
                },
                "name": "p_val_alias",
                "in": "header",
            }
        ]
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * Validates which environment is used by the IDE.
     */
    class PlatformRuleTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @Test
      fun testMode() {
        println(PlatformRule.getPlatformSystemProperty())
        println(Platform.get().javaClass.simpleName)
      }
    
      @Test
      fun testGreenCase() {
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. module-tests/build.gradle.kts

        exportAllPackages()
        requires("kotlin.stdlib")
        requires("java.logging")
      }
      module("com.squareup.okio:okio", "okio") {
        exportAllPackages()
      }
    }
    
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    tasks.withType<Test> {
      useJUnitPlatform()
    
      enabled = testJavaVersion > 8
    
      javaLauncher.set(javaToolchains.launcherFor {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:45:42 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. regression-test/build.gradle.kts

      }
    
      // issue merging due to conflict with httpclient and something else
      packagingOptions.resources.excludes += setOf(
        "META-INF/DEPENDENCIES"
      )
    }
    
    
    dependencies {
      val okhttpLegacyVersion = "3.12.12"
    
      implementation(libs.kotlin.reflect)
      implementation(libs.playservices.safetynet)
      implementation("com.squareup.okhttp3:okhttp:${okhttpLegacyVersion}")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Mar 17 15:11:24 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top