- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 514 for Handle (0.06 sec)
-
docs/smb3-features/02-persistent-handles-design.md
List<CompletableFuture<Void>> futures = new ArrayList<>(); for (HandleInfo handle : handles) { futures.add(CompletableFuture.runAsync(() -> { try { reconnectHandle(handle); } catch (Exception e) { log.error("Failed to reconnect handle: " + handle.path, e); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
import jcifs.CIFSContext; import jcifs.internal.smb2.lease.Smb2LeaseKey; /** * Manager for persistent and durable SMB handles. * * This class provides: * - Handle lifecycle management * - Persistent storage for persistent handles * - Expiration tracking for durable handles * - Thread-safe access to handle information */ public class PersistentHandleManager {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0) -
api/go1.17.txt
pkg runtime/cgo (linux-amd64-cgo), method (Handle) Delete() pkg runtime/cgo (linux-amd64-cgo), method (Handle) Value() interface{} pkg runtime/cgo (linux-amd64-cgo), type Handle uintptr pkg runtime/cgo (linux-arm-cgo), func NewHandle(interface{}) Handle pkg runtime/cgo (linux-arm-cgo), method (Handle) Delete() pkg runtime/cgo (linux-arm-cgo), method (Handle) Value() interface{} pkg runtime/cgo (linux-arm-cgo), type Handle uintptr
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 18K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
static void setupURLHandler() { // Register the SMB URL handler to avoid MalformedURLException String pkgs = System.getProperty("java.protocol.handler.pkgs"); if (pkgs == null) { System.setProperty("java.protocol.handler.pkgs", "jcifs"); } else if (!pkgs.contains("jcifs")) { System.setProperty("java.protocol.handler.pkgs", pkgs + "|jcifs"); } } @BeforeEach
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
when(tree.hasCapability(anyInt())).thenReturn(false); return new SmbPipeInputStream(handle, tree); } private SmbPipeInputStream newStreamWithMinimalStubs(boolean smb2) throws CIFSException { when(handle.getPipe()).thenReturn(pipe); when(tree.isSMB2()).thenReturn(smb2); return new SmbPipeInputStream(handle, tree); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
lenient().when(handle.getServerWithDfs()).thenCallRealMethod(); lenient().when(handle.getSessionKey()).thenCallRealMethod(); lenient().when(handle.getBinding()).thenReturn(mockDcerpcBinding); lenient().doCallRealMethod().when(handle).doSendReceiveFragment(any(byte[].class), anyInt(), anyInt(), any(byte[].class));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
auth.handle(cbs); // Name should be formatted as username@domain assertEquals("user@DOM", nc.getName()); // Password should be set assertEquals("pass", new String(pc.getPassword())); } @Test @DisplayName("handle: sets only provided callbacks (name-only)") void testHandleNameOnly() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
} @Test @DisplayName("Should handle null file ID in setter") void testSetNullFileId() { assertDoesNotThrow(() -> request.setFileId(null)); } @Test @DisplayName("Should handle various file ID sizes") void testVariousFileIdSizes() { byte[] shortFileId = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
/** * Get failure count for a handle * * @param handle notification handle * @return number of consecutive failures */ private int getFailureCount(ChangeNotificationHandle handle) { return failureCounts.getOrDefault(handle.getDirectoryPath(), 0); } /** * Increment failure count for a handle * * @param handle notification handle */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
return new LeaseV2CreateContextResponse(); case "DHnQ": // Durable Handle Request/Response return new jcifs.internal.smb2.persistent.DurableHandleResponse(); case "DH2Q": // Durable Handle V2 Request/Response return new jcifs.internal.smb2.persistent.DurableHandleV2Response(); case "DHnC": // Durable Handle Reconnect Request/Response
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 15.4K bytes - Viewed (0)