- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 750 for HANDLE (0.25 sec)
-
src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAlias.java
package jcifs.dcerpc.msrpc; /** * MSRPC implementation for opening an alias handle. * This class provides functionality to open a handle to a SAM alias * (local group) using the SAMR RPC interface. */ public class MsrpcSamrOpenAlias extends samr.SamrOpenAlias { /** * Creates a new request to open an alias handle. * * @param handle the domain handle * @param access the desired access rightsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
*/ @Test public void testIsOpen_ReturnsTrueWhenOpen() { when(smbPipeHandle.isOpen()).thenReturn(true); assertTrue(smbPipeHandle.isOpen(), "isOpen() should return true when the handle is open."); } /** * Verifies that the isOpen method returns false for a closed handle. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
} @Test @DisplayName("should handle null policy handle") void testNullPolicyHandleHandled() { // Act & Assert - The constructor accepts null policy handle without throwing assertDoesNotThrow(() -> new MsrpcSamrConnect2("\\\\srv", 0, null)); } @Test @DisplayName("should handle empty string as system name") void testEmptySystemName() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access); handle.close(); // Verify close was called verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class)); assertEquals(handle, closeCaptor.getValue().handle); // Verify correct handle is passed } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarClose.java
package jcifs.smb1.dcerpc.msrpc; /** * Microsoft RPC LSA close handle request. * This class implements the LSARPC close handle operation for closing * LSA policy handles when they are no longer needed. */ public class MsrpcLsarClose extends lsarpc.LsarClose { /** * Creates a new request to close an LSA policy handle. * * @param policyHandle the policy handle to close */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
// Test PRINT share type setPrivateField(response, "shareType", Smb2TreeConnectResponse.SMB2_SHARE_TYPE_PRINT); assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_TYPE_PRINT, response.getShareType(), "Should handle PRINT share type"); } @Test @DisplayName("Should handle share flags")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
synchronized (this.sidCache) { try (DcerpcHandle handle = DcerpcHandle.getHandle("ncacn_np:" + authorityServerName + "[\\PIPE\\samr]", tc)) { final SamrPolicyHandle policyHandle = new SamrPolicyHandle(handle, authorityServerName, 0x00000030); final SamrDomainHandle domainHandle = new SamrDomainHandle(handle, policyHandle, 0x00000200, domsid.unwrap(sid_t.class));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
} @Test @DisplayName("Should handle empty byte array") void testToHexStringEmpty() { // Given byte[] data = {}; // When String result = Hexdump.toHexString(data); // Then assertNotNull(result); assertEquals("", result); } @Test @DisplayName("Should handle null byte array") void testToHexStringNull() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
final static int pipeFlags = 0x2019F << 16 | SmbPipeResource.PIPE_TYPE_RDWR | SmbPipeResource.PIPE_TYPE_DCE_TRANSACT; private final SmbNamedPipe pipe; private final SmbPipeHandleInternal handle; /** * Creates a DCERPC pipe handle for named pipe communication * @param url the DCERPC URL specifying the endpoint * @param tc the CIFS context for connection configuration
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0)