Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,376 for example1 (0.04 sec)

  1. docs/es/docs/tutorial/security/first-steps.md

    Porque estamos usando una URL relativa, si tu API estuviera ubicada en `https://example.com/`, entonces se referiría a `https://example.com/token`. Pero si tu API estuviera ubicada en `https://example.com/api/v1/`, entonces se referiría a `https://example.com/api/v1/token`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * {@snippet :
     * final CountDownLatch latch = new CountDownLatch(1);
     * Object x = new MyClass() {
     *   ...
     *   protected void finalize() { latch.countDown(); ... }
     * };
     * x = null;  // Hint to the JIT that x is stack-unreachable
     * GcFinalization.await(latch);
     * }
     *
     * <p>Here's an example that uses a user-defined finalization predicate:
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/bug_report.yaml

          description: Please describe the issue you encountered.
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Example
          description: >
            Please provide a [Short, Self Contained, Correct (Compilable), Example](http://sscce.org/)
            demonstrating the bug.
          render: java
        validations:
          required: true
    
      - type: textarea
        attributes:
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 16 20:08:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/additional-status-codes.md

    If you want to return additional status codes apart from the main one, you can do that by returning a `Response` directly, like a `JSONResponse`, and set the additional status code directly.
    
    For example, let's say that you want to have a *path operation* that allows to update items, and returns HTTP status codes of 200 "OK" when successful.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java

     * <p>
     * This annotation allows you to limit which types of a bean should be available
     * for injection. It can be used to prevent unintended automatic binding of implemented
     * interfaces or extended classes.
     * <p>
     * Example usage:
     * <pre>
     * {@literal @}Typed(ServiceImpl.class)
     * public class ServiceImpl implements Service {
     *     // Implementation
     * }
     * </pre>
     *
     * @since 4.0.0
     */
    @Target({FIELD, METHOD, TYPE})
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_query_params_str_validations/test_tutorial006c.py

        mod = importlib.import_module(
            f"docs_src.query_params_str_validations.{request.param}"
        )
        client = TestClient(mod.app)
        return client
    
    
    @pytest.mark.xfail(
        reason="Code example is not valid. See https://github.com/fastapi/fastapi/issues/12419"
    )
    def test_query_params_str_validations_no_query(client: TestClient):
        response = client.get("/items/")
        assert response.status_code == 200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.internal.EmptyTags
    
    class RequestCommonTest {
      @Test
      fun constructorNormal() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:36:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. docs/ftp/README.md

    45 bytes received in 00:00 (3.55 KiB/s)
    ...
    ```
    
    
    Following example shows connecting via sftp client using `minioadmin` credentials, and list a bucket named `runner`:
    
    ```
    sftp -P 8022 minioadmin@localhost
    minioadmin@localhost's password:
    Connected to localhost.
    sftp> ls runner/
    chunkdocs  testdir
    ```
    
    Following example shows how to download an object locally via `sftp` client:
    
    ```
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 07 06:41:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. docs/extensions/s3zip/examples/aws-js/package.json

    {
        "name": "s3-zip-example",
        "version": "1.0.0",
        "main": "main.js",
        "dependencies": {
            "aws-sdk": "^2.924.0"
        }
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jun 10 15:17:03 UTC 2021
    - 139 bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            assertTrue(e.getOptions().isEmpty(), "Default options should be empty");
        }
    
        @ParameterizedTest
        @NullSource
        @ValueSource(strings = { "", "svc/http@EXAMPLE.COM" })
        @DisplayName("Name parameter is ignored (null/empty/arbitrary)")
        void nameParameter_isIgnoredAndDoesNotAffectResult(String name) {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top