- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,206 for handle (0.17 sec)
-
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) -
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) -
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/internal/AllocInfoTest.java
@Test @DisplayName("Should handle zero values") void shouldHandleZeroValues() { // Given TestAllocInfo allocInfo = new TestAllocInfo(0L, 0L); // When & Then assertEquals(0L, allocInfo.getCapacity()); assertEquals(0L, allocInfo.getFree()); } @Test @DisplayName("Should handle maximum long values")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceException.java
default: return "Check resource availability and retry"; } } /** * Static factory for file handle exhaustion */ public static SmbResourceException fileHandleExhausted(int errorCode) { return new SmbResourceException("File handle limit exceeded", errorCode, ResourceType.FILE_HANDLE); } /** * Static factory for connection pool exhaustion */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
// When int bytesWritten = response.writeBytesWireFormat(buffer, offset); // Then assertEquals(0, bytesWritten); } @Test @DisplayName("Should handle error response structure size 9") void testReadBytesWireFormatErrorResponse() throws Exception { // Given byte[] buffer = new byte[256]; int bufferIndex = 0;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
} @Test @DisplayName("getUrlHandler should return initialized URL handler") void testGetUrlHandler() { // When URLStreamHandler urlHandler = context.getUrlHandler(); // Then assertNotNull(urlHandler, "URL handler should not be null"); assertSame(urlHandler, context.getUrlHandler(), "Should return same instance on multiple calls");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/https/HandlerTest.java
Handler handler2 = new Handler(null); Handler handler3 = new Handler(null); // Then assertEquals(443, handler1.getDefaultPort()); assertEquals(443, handler2.getDefaultPort()); assertEquals(443, handler3.getDefaultPort()); } } @Nested @DisplayName("HTTP vs HTTPS Comparison Tests")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
* @throws CIFSException if an error occurs connecting to the tree */ SmbTreeHandleInternal ensureTreeConnected() throws CIFSException; /** * Ensures that the file handle is open and returns it. * * @return file handle * @throws CIFSException if an error occurs opening the file */ SmbFileHandle ensureOpen() throws CIFSException; /** * Receive data from the pipe *Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} @Test @DisplayName("Should handle different cipher IDs") void testDifferentCipherIds() { // Test cipher ID 1 (AES-CCM) Smb2EncryptionContext context1 = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey); assertEquals(1, context1.getCipherId(), "Should handle cipher ID 1"); // Test cipher ID 2 (AES-GCM)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0)