- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 3,766 for same (0.24 sec)
-
docs/en/docs/advanced/path-operation-advanced-configuration.md
/// /// tip Here we reuse the same Pydantic model. But the same way, we could have validated it in some other way.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.8K bytes - Viewed (0) -
cmd/os-readdir_test.go
entries := []string{} for i := range 10 { name := fmt.Sprintf("file-%d", i) if err := os.WriteFile(filepath.Join(dir, name), []byte{}, os.ModePerm); err != nil { // For cleanup, its required to add these entries into test results. testResults = append(testResults, result{dir, entries}) t.Fatalf("Unable to create file, %s", err) } entries = append(entries, name) } // Keep entries sorted for easier comparison.Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
SmbComNTCreateAndX req = createRequest(0, 0); String str = req.toString(); assertTrue(str.startsWith("SmbComNTCreateAndX["), "toString should start with class name"); assertTrue(str.contains("name=test.txt"), "The file name should appear"); // securityFlags are set to 0x03 – verify hex sequence assertTrue(str.contains("securityFlags=0x03"), "securityFlags should be present"); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
} @Test @DisplayName("Should produce consistent keys for same input") void testDeriveKeys_Consistency() { // Given int dialect = Smb2Constants.SMB2_DIALECT_0311; // When - derive same key twice byte[] signingKey1 = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, preauthIntegrity);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
// If the worker is not yet running, the delegate Executor might reject our attempt to start // it. To preserve FIFO order and failure atomicity of rejected execution when the same // Runnable is executed more than once, allocate a wrapper that we know is safe to remove by // object identity. // A data structure that returned a removal handle from add() would allow eliminating this // allocation. submittedTask =Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
* Verifies that the method returns the correct OEM domain name. * @throws CIFSException */ @Test void testGetOEMDomainName() throws CIFSException { when(smbTreeHandle.getOEMDomainName()).thenReturn("TEST_DOMAIN"); assertEquals("TEST_DOMAIN", smbTreeHandle.getOEMDomainName(), "OEM domain name should be TEST_DOMAIN"); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
docs/en/docs/advanced/websockets.md
<img src="/img/tutorial/websockets/image04.png"> And all of them will use the same WebSocket connection. ## Using `Depends` and others { #using-depends-and-others } In WebSocket endpoints you can import from `fastapi` and use: * `Depends` * `Security` * `Cookie` * `Header` * `Path` * `Query` They work the same way as for other FastAPI endpoints/*path operations*:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
assertNull(session.transport, "transport not created yet"); SmbTransport tr = session.transport(); assertNotNull(tr, "transport should now exist"); // subsequent calls return the same instance assertSame(tr, session.transport()); } @Test void sendResetsResponseAndForwards() throws Exception { SmbSession session = new SmbSession(addr, 445, inet, 0, auth);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java
assertEquals("Field naming should be CAMEL_TO_LOWER_SNAKE", JsonFieldNaming.CAMEL_TO_LOWER_SNAKE, fieldNaming); // Verify the naming convention assertEquals(JsonFieldNaming.CAMEL_TO_LOWER_SNAKE.name(), fieldNaming.name()); } public void test_provideMappingOption_newInstanceEachTime() { // Test that provideMappingOption creates a new instance each time
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
The same as when using a custom CDN, the first step is to disable the automatic docs, as those use the CDN by default. To disable them, set their URLs to `None` when creating your `FastAPI` app: {* ../../docs_src/custom_docs_ui/tutorial002.py hl[9] *} ### Include the custom docs for static files { #include-the-custom-docs-for-static-files }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.8K bytes - Viewed (0)