Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,311 for Same (0.24 sec)

  1. src/test/java/jcifs/internal/SmbNegotiationTest.java

        }
    
        @Test
        @DisplayName("getRequest should return the same request instance")
        void testGetRequest() {
            // Verify getRequest returns the exact same instance
            SmbNegotiationRequest request = negotiation.getRequest();
            assertSame(mockRequest, request);
    
            // Verify multiple calls return the same instance
            assertSame(request, negotiation.getRequest());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/sql-databases.md

    You would have **one single `engine` object** for all your code to connect to the same database.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[14:18] hl[14:15,17:18] *}
    
    Using `check_same_thread=False` allows FastAPI to use the same SQLite database in different threads. This is necessary as **one single request** could use **more than one thread** (for example in dependencies).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. docs/en/docs/alternatives.md

    And these same full-stack generators were the base of the [**FastAPI** Project Generators](project-generation.md){.internal-link target=_blank}.
    
    /// info
    
    Flask-apispec was created by the same Marshmallow developers.
    
    ///
    
    /// check | Inspired **FastAPI** to
    
    Generate the OpenAPI schema automatically, from the same code that defines serialization and validation.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/bigger-applications.md

    <img src="/img/tutorial/bigger-applications/image01.png">
    
    ## Include the same router multiple times with different `prefix` { #include-the-same-router-multiple-times-with-different-prefix }
    
    You can also use `.include_router()` multiple times with the *same* router using different prefixes.
    
    This could be useful, for example, to expose the same API under different prefixes, e.g. `/api/v1` and `/api/latest`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/response-model.md

    ///
    
    And we are using this model to declare our input and the same model to declare our output:
    
    {* ../../docs_src/response_model/tutorial002_py310.py hl[16] *}
    
    Now, whenever a browser is creating a user with a password, the API will return the same password in the response.
    
    In this case, it might not be a problem, because it's the same user sending the password.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/BaseContextTest.java

            assertSame(dfs, context.getDfs(), "Should return same instance on multiple calls");
        }
    
        @Test
        @DisplayName("getNameServiceClient should return initialized name service client")
        void testGetNameServiceClient() {
            // When
            NameServiceClient nameServiceClient = context.getNameServiceClient();
    
            // Then
            assertNotNull(nameServiceClient, "Name service client should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. docs/en/docs/async.md

    * **Machine Learning**: it normally requires lots of "matrix" and "vector" multiplications. Think of a huge spreadsheet with numbers and multiplying all of them together at the same time.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/security/oauth2-scopes.md

    This is the same mechanism used when you give permissions while logging in with Facebook, Google, GitHub, etc:
    
    <img src="/img/tutorial/security/image11.png">
    
    ## JWT token with scopes { #jwt-token-with-scopes }
    
    Now, modify the token *path operation* to return the scopes requested.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // Second call should return cached value (same as first)
            Subject second = auth.getSubject();
            if (first == null && second == null) {
                // Both null - caching is working
                assertNull(second, "Second getSubject should return same result as first (both null)");
            } else if (first != null && second != null) {
                // Both non-null - should be same instance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. docs/en/docs/python-types.md

    The parameter `name` is defined as `Optional[str]`, but it is **not optional**, you cannot call the function without the parameter:
    
    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    The `name` parameter is **still required** (not *optional*) because it doesn't have a default value. Still, `name` accepts `None` as the value:
    
    ```Python
    say_hi(name=None)  # This works, None is valid 🎉
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top