- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,501 for Same (0.02 seconds)
-
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()); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
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`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 18.6K bytes - Click Count (0) -
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).Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 02 05:06:56 GMT 2025 - 15.8K bytes - Click Count (0) -
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. ///
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 23.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
for (int i = 0; i < keyBits; i++) { int same = 0x0; // bitset for output bits with same values int diff = 0x0; // bitset for output bits with different values int count = 0; // originally was 2 * Math.log(...), making it try more times to avoid flakiness issues int maxCount = (int) (4 * Math.log(2 * keyBits * hashBits) + 1); while (same != 0xffffffff || diff != 0xffffffff) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0) -
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");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 15.1K bytes - Click Count (0) -
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.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 15.5K bytes - Click Count (0) -
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 instanceCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
docs/en/docs/async.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:56:21 GMT 2025 - 24K bytes - Click Count (0) -
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.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 10:49:48 GMT 2025 - 13.5K bytes - Click Count (0)