- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,091 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) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
*/ private final HandleGuid createGuid; /** * The 16-byte file ID returned by the server for this handle */ private final byte[] fileId; /** * The type of handle (DURABLE_V1, DURABLE_V2, or PERSISTENT) */ private final HandleType type; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K 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/SmbPipeOutputStreamTest.java
assertEquals(state, result, "isOpen should reflect handle state"); verify(handle, times(1)).isOpen(); } @Test @DisplayName("ensureTreeConnected delegates and returns the tree handle") void ensureTreeConnected_delegatesAndReturns() throws Exception { // Arrange SmbPipeOutputStream out = newStream(); when(handle.ensureTreeConnected()).thenReturn(tree); // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K 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/internal/util/StringUtilTest.java
} @Test @DisplayName("Should handle null delimiter by inserting 'null' string") void testJoinWithNullDelimiter() { String result = StringUtil.join(null, "first", "second", "third"); assertEquals("firstnullsecondnullthird", result); } @Test @DisplayName("Should handle null elements in array") void testJoinWithNullElements() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K 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/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java
import jcifs.smb1.dcerpc.rpc; import jcifs.smb1.smb1.SmbException; /** * LSA policy handle for Local Security Authority operations. */ public class LsaPolicyHandle extends rpc.policy_handle { DcerpcHandle handle; /** * Constructs an LSA policy handle. * * @param handle the DCERPC handle * @param server the server name * @param access the access rights
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
assertNotNull(capturedRpc); assertEquals(mockPolicyHandle, capturedRpc.handle); assertEquals(access, capturedRpc.access_mask); assertEquals(mockSid, capturedRpc.sid); assertEquals(handle, capturedRpc.domain_handle); // Ensure the handle itself is passed for output } @Test void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0)