- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 1,116 for handles (0.56 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
assertEquals(16, bytesRead); assertEquals(2048, response.getCount()); assertEquals(1024, response.getRemaining()); } @Test @DisplayName("Should handle zero count and remaining") void testReadZeroValues() throws SMBProtocolDecodingException { byte[] buffer = createValidWriteResponse(0, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java
* Verifies that the handle, ptype, and flags are correctly initialized. */ @Test void testConstructor() { // Create an instance of MsrpcLsarClose with the mock handle MsrpcLsarClose lsarClose = new MsrpcLsarClose(mockHandle); // Verify that the handle passed to the constructor is correctly set in the superclass
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
@Test @DisplayName("Should handle null domain and workstation") void testNullDomainAndWorkstation() { // When Type1Message type1 = new Type1Message(mockContext, 0, null, null); // Then assertNull(type1.getSuppliedDomain()); assertNull(type1.getSuppliedWorkstation()); } @Test @DisplayName("Should handle case sensitivity in domain and workstation")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
assertNotNull(table.get(name1)); assertNotNull(table.get(name2)); } @Test void testPopulateWithIncludeDirective() throws Exception { // Test that #INCLUDE directive is handled (even if the include fails) String content = "#INCLUDE \\\\server\\share\\lmhosts\n" + "192.168.1.100 MAINHOST\n"; // Mock SmbFileInputStream to simulate include file
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
docs/en/docs/advanced/wsgi.md
And then mount that under a path. {* ../../docs_src/wsgi/tutorial001.py hl[2:3,3] *} ## Check it { #check-it } Now, every request under the path `/v1/` will be handled by the Flask application. And the rest will be handled by **FastAPI**. If you run it and go to <a href="http://localhost:8000/v1/" class="external-link" target="_blank">http://localhost:8000/v1/</a> you will see the response from Flask: ```txt
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnectResponse.java
import jcifs.internal.smb2.create.CreateContextResponse; /** * SMB2 Durable Handle Reconnect Response Create Context * * MS-SMB2 Section 2.2.14.2.5 */ public class DurableHandleReconnectResponse implements CreateContextResponse { /** * Context name for durable handle reconnect response */ public static final String CONTEXT_NAME = "DHnC";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
assertEquals(transport, result); verify(transportPool).getSmbTransport(context, TEST_HOST, DEFAULT_PORT, false, true); } @Test @DisplayName("Should handle UnknownHostException") void testGetSmbTransportUnknownHost() throws UnknownHostException, IOException { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
assertArrayEquals(expectedName, actualName); verify(response, times(1)).getName(); } @Test @DisplayName("getName() should handle null return value") void testGetNameWithNull() { CreateContextResponse response = mock(CreateContextResponse.class); when(response.getName()).thenReturn(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
cmd/os_windows.go
if err != nil { return errInvalidArgument } data := &syscall.Win32finddata{} handle, err := syscall.FindFirstFile(globAllP, data) if err != nil { if err = syscallErrToFileErr(dirPath, err); err == errFileNotFound { return nil } return err } defer syscall.FindClose(handle) for ; ; err = syscall.FindNextFile(handle, data) { if err != nil { if err == syscall.ERROR_NO_MORE_FILES { break }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtStatusTest.java
assertNotNull(messages[0]); assertTrue(messages[0].toLowerCase().contains("success") || messages[0].toLowerCase().contains("completed")); } @Test @DisplayName("Should handle access denied status") void testAccessDeniedStatus() { // Given int status = NtStatus.NT_STATUS_ACCESS_DENIED; // When/Then assertEquals((int) 0xC0000022L, status);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)