- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,206 for handle (0.04 sec)
-
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
private int flags; private HandleGuid createGuid; /** * Create a new durable handle V2 request * @param timeoutMs the timeout in milliseconds (0 for persistent handles) * @param persistent true if this should be a persistent handle */ public DurableHandleV2Request(long timeoutMs, boolean persistent) { this.timeoutMs = timeoutMs;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/samr.java
* Constructs a SamrCloseHandle request. * * @param handle The policy handle to close */ public SamrCloseHandle(final rpc.policy_handle handle) { this.handle = handle; } @Override public void encode_in(final NdrBuffer _dst) throws NdrException { this.handle.encode(_dst); } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java
* Constructs a SamrCloseHandle request. * * @param handle The policy handle to close */ public SamrCloseHandle(final rpc.policy_handle handle) { this.handle = handle; } @Override public void encode_in(final NdrBuffer _dst) throws NdrException { handle.encode(_dst); } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.1K 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/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"); } @TestRegistered: 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/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
int offset = 10; // When int bytesRead = request.readBytesWireFormat(buffer, offset); // Then assertEquals(0, bytesRead); } @DisplayName("Should handle different completion filter combinations") @ParameterizedTest @CsvSource({ "1, FILE_NOTIFY_CHANGE_FILE_NAME", "2, FILE_NOTIFY_CHANGE_DIR_NAME", "4, FILE_NOTIFY_CHANGE_ATTRIBUTES",Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
return null; }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class)); // Act LsaPolicyHandle handle = new LsaPolicyHandle(mockDcerpcHandle, server, access); // Assert assertNotNull(handle); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class)); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/SmbTreeHandle.java
/** * Checks if this tree handle refers to the same tree as another * @param th the tree handle to compare with * @return whether the handles refer to the same tree */ boolean isSameTree(SmbTreeHandle th); /** * Checks if this tree handle uses SMB2 or later protocol * @return whether this tree handle uses SMB2+ */ boolean isSMB2(); /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K 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/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)