Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 1,467 for example2 (0.06 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

          Route(
            factory.newAddress(uriHost = "example.com", uriPort = 1003),
            Proxy.NO_PROXY,
            InetSocketAddress(ipv4Address, 1003),
          ).toString(),
        ).isEqualTo("example.com at 1.2.3.4:1003")
        assertThat(
          Route(
            factory.newAddress(uriHost = "example.com", uriPort = 1003),
            Proxy(Proxy.Type.HTTP, InetSocketAddress.createUnresolved("proxy.example.com", 1003)),
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/custom-response.md

    The same example from above, returning an `HTMLResponse`, could look like:
    
    {* ../../docs_src/custom_response/tutorial003_py39.py hl[2,7,19] *}
    
    /// warning
    
    A `Response` returned directly by your *path operation function* won't be documented in OpenAPI (for example, the `Content-Type` won't be documented) and won't be visible in the automatic interactive docs.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/xml/ParametricNullness.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Annotates a "top-level" type-variable usage that takes its nullness from the type argument
     * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns
     * {@code @ParametricNullness E}, which means:
     *
     * <ul>
     *   <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull
     *       String}.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/io/ParametricNullness.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    /**
     * Annotates a "top-level" type-variable usage that takes its nullness from the type argument
     * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns
     * {@code @ParametricNullness E}, which means:
     *
     * <ul>
     *   <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull
     *       String}.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  5. docs/debugging/README.md

    `mc support inspect ALIAS/path/to/files`. This can for example be used to collect `xl.meta` from objects that are misbehaving. To collect `xl.meta` from a specific object, for example placed at `ALIAS/bucket/path/to/file.txt` append `/xl.meta`, for instance `mc support inspect ALIAS/bucket/path/to/file.txt/xl.meta`. All files can be collected, so this can also be used to retrieve `part.*` files, etc.
    
    Wildcards can be used, for example `mc support inspect ALIAS/bucket/path/**/xl.meta` will...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/extra-models.md

    ///
    
    {* ../../docs_src/extra_models/tutorial003_py310.py hl[1,14:15,18:20,33] *}
    
    ### `Union` in Python 3.10 { #union-in-python-3-10 }
    
    In this example we pass `Union[PlaneItem, CarItem]` as the value of the argument `response_model`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  7. docs/erasure/README.md

    In 12 drive example above, with MinIO server running in the default configuration, you can lose any of the six drives and still reconstruct the data reliably from the remaining drives.
    
    ## Why is Erasure Code useful?
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_metadata/test_tutorial001_1.py

                "termsOfService": "http://example.com/terms/",
                "contact": {
                    "name": "Deadpoolio the Amazing",
                    "url": "http://x-force.example.com/contact/",
                    "email": "dp@x-force.example.com",
                },
                "license": {
                    "name": "Apache 2.0",
                    "identifier": "MIT",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_behind_a_proxy/test_tutorial001_01.py

    from docs_src.behind_a_proxy.tutorial001_01_py39 import app
    
    client = TestClient(
        app,
        base_url="https://example.com",
        follow_redirects=False,
    )
    
    
    def test_redirect() -> None:
        response = client.get("/items")
        assert response.status_code == 307
        assert response.headers["location"] == "https://example.com/items/"
    
    
    def test_no_redirect() -> None:
        response = client.get("/items/")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 544 bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

    import javax.security.auth.callback.UnsupportedCallbackException
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.internal.SuppressSignatureCheck
    import okhttp3.internal.platform.Platform
    
    /**
     * Example of using a hardware key to perform client auth.
     * Prefer recent JDK builds, and results are temperamental to slight environment changes.
     * Different instructions and configuration may be required for other hardware devices.
     *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top