- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 650 for HANDLE (0.04 sec)
-
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
handle.ensureOpen(); assertTrue(handle.isOpen()); // Simulate invalidation assertFalse(handle.isOpen(), "Becomes not open when underlying handle invalid"); // After close, report stale handle.close(); assertTrue(handle.isStale(), "Closed handle reports stale"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
log.warn("Tree handle was not properly released, performing emergency cleanup: " + (this.resourceLoc != null ? this.resourceLoc.getURL() : "unknown")); emergencyReleaseHandle(); } } catch (Exception e) { log.error("Error during tree handle finalization", e); } finally { super.finalize();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
} } @Nested @DisplayName("Policy Handle Tests") class PolicyHandleTests { @Test @DisplayName("Should encode policy handle correctly") void testPolicyHandleEncode() throws NdrException { // Given: A policy handle with test values rpc.policy_handle policyHandle = new rpc.policy_handle();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
} } private void reconnectWithDurableHandle(HandleInfo handle) throws IOException { Smb2CreateRequest request = new Smb2CreateRequest(); request.setPath(handle.path); request.addReconnectContext(handle.fileId); // Add lease context if needed if (handle.leaseKey != null) { request.addLeaseContext(handle.leaseKey, Smb2LeaseState.SMB2_LEASE_NONE, false); }
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/test/java/jcifs/dcerpc/DcerpcHandleTest.java
assertEquals(mockBinding, handle.getBinding()); assertTrue(handle.getMaxRecv() > 0); assertTrue(handle.getMaxXmit() > 0); assertEquals("test_server", handle.getServer()); assertEquals("test_server_dfs", handle.getServerWithDfs()); assertEquals(mockContext, handle.getTransportContext());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java
private static final long serialVersionUID = 1L; /** * The underlying UUID representing this handle GUID */ private final UUID guid; /** * Create a new random handle GUID */ public HandleGuid() { this.guid = UUID.randomUUID(); } /** * Create a handle GUID from existing bytes * @param bytes the 16-byte GUID data in little-endian format (SMB wire format)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
private final SmbPipeHandleImpl handle; /** * @param handle * @param th * @throws SmbException */ SmbPipeInputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException { super(handle.getPipe(), th, null); this.handle = handle; } /** * Ensures that the tree connection is established.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
SmbFileHandleImpl handle = mock(SmbFileHandleImpl.class); when(dest.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(handle); int attrs = SmbConstants.ATTR_NORMAL; // Act SmbFileHandleImpl result = SmbCopyUtil.openCopyTargetFile(dest, attrs, alsoRead); // Assert assertSame(handle, result, "Should return handle from dest.openUnshared");
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/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java
/** * Handle for Security Account Manager (SAM) domain operations. * This class represents an open handle to a SAM domain and provides * operations for managing domain users, groups, and aliases. */ public class SamrDomainHandle extends rpc.policy_handle { DcerpcHandle handle; /** * Creates a new SAM domain handle. * * @param handle the DCE/RPC handle for communication
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0)