Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 771 - 780 of 949 for Val (0.01 seconds)

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

    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.SSLSession
    import javax.net.ssl.SSLSessionContext
    import javax.security.cert.X509Certificate
    
    class FakeSSLSession(
      vararg val certificates: Certificate,
    ) : SSLSession {
      override fun getApplicationBufferSize(): Int = throw UnsupportedOperationException()
    
      override fun getCipherSuite(): String = throw UnsupportedOperationException()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                        mark = si + 1;
                    } else if (ch == ',' || ch == ']') {
                        final String val = str.substring(mark, si).trim();
                        if (key == null) {
                            key = "endpoint";
                        }
                        binding.setOption(key, val);
                        key = null;
                    }
                    break;
                default:
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  3. tests/test_request_params/test_header/test_optional_list.py

                        "anyOf": [
                            {"items": {"type": "string"}, "type": "array"},
                            {"type": "null"},
                        ],
                        "title": "P Val Alias",
                    },
                    "name": "p_val_alias",
                    "in": "header",
                }
            ]
        )
    
    
    @pytest.mark.parametrize(
        "path",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CookieJar.kt

       * [match][Cookie.matches] [url].
       */
      fun loadForRequest(url: HttpUrl): List<Cookie>
    
      companion object {
        /** A cookie jar that never accepts any cookies. */
        @JvmField
        val NO_COOKIES: CookieJar = NoCookies()
    
        private class NoCookies : CookieJar {
          override fun saveFromResponse(
            url: HttpUrl,
            cookies: List<Cookie>,
          ) {
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. src/archive/tar/strconv_test.go

    	}
    
    	for _, v := range vectors {
    		key, val, res, err := parsePAXRecord(v.in)
    		ok := (err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("parsePAXRecord(%q): got parsing failure, want success", v.in)
    			} else {
    				t.Errorf("parsePAXRecord(%q): got parsing success, want failure", v.in)
    			}
    		}
    		if v.ok && (key != v.wantKey || val != v.wantVal) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Sep 11 17:52:43 GMT 2025
    - 15K bytes
    - Click Count (0)
  6. tests/test_request_params/test_body/test_list.py

        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p_val_alias": {
                    "items": {"type": "string"},
                    "title": "P Val Alias",
                    "type": "array",
                },
            },
            "required": ["p_val_alias"],
            "title": body_model_name,
            "type": "object",
        }
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  7. tests/test_request_params/test_body/test_optional_str.py

        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p_val_alias": {
                    "anyOf": [{"type": "string"}, {"type": "null"}],
                    "title": "P Val Alias",
                },
            },
            "title": body_model_name,
            "type": "object",
        }
    
    
    def test_optional_validation_alias_missing():
        client = TestClient(app)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  8. docs/changelogs/upgrading_to_okhttp_4.md

    with OkHttp 3.x: must use `object :` with OkHttp 4.x:
    
    Kotlin calling OkHttp 3.x:
    
    ```kotlin
    val client = OkHttpClient.Builder()
        .dns { hostname -> InetAddress.getAllByName(hostname).toList() }
        .build()
    ```
    
    Kotlin calling OkHttp 4.x:
    
    ```kotlin
    val client = OkHttpClient.Builder()
        .dns(object : Dns {
          override fun lookup(hostname: String) =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  9. tests/test_request_params/test_query/test_list.py

        assert app.openapi()["paths"][path]["get"]["parameters"] == snapshot(
            [
                {
                    "required": True,
                    "schema": {
                        "title": "P Val Alias",
                        "type": "array",
                        "items": {"type": "string"},
                    },
                    "name": "p_val_alias",
                    "in": "query",
                }
            ]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

      operator fun plus(other: EventListener): EventListener {
        val left =
          when {
            this === NONE -> return other
            this is AggregateEventListener -> this.eventListeners
            else -> arrayOf(this)
          }
        val right =
          when {
            other === NONE -> return this
            other is AggregateEventListener -> other.eventListeners
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 24.9K bytes
    - Click Count (0)
Back to Top