- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 1,561 for Handle (0.09 seconds)
-
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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java
* * @param handle the DCE/RPC handle for communication * @param domainHandle the domain handle containing this alias * @param access the desired access rights * @param rid the relative identifier of the alias * @throws IOException if an I/O error occurs during handle creation */ public SamrAliasHandle(final DcerpcHandle handle, final SamrDomainHandle domainHandle, final int access, final int rid)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (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 } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 44.5K bytes - Click Count (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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/NetbiosNameTest.java
@DisplayName("Should handle various NetBIOS name types") void testVariousNameTypes(int nameType) { // Given when(mockNetbiosName.getNameType()).thenReturn(nameType); // When int result = mockNetbiosName.getNameType(); // Then assertEquals(nameType, result); } @Test @DisplayName("Should handle null name") void testNullName() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java
* * @param handle the DCE/RPC handle for communication * @param policyHandle the policy handle for this domain * @param access the desired access rights * @param sid the security identifier of the domain * @throws IOException if an I/O error occurs during handle creation */ public SamrDomainHandle(final DcerpcHandle handle, final SamrPolicyHandle policyHandle, final int access, final rpc.sid_t sid)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (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();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (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)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarClose.java
/** * Microsoft RPC LSA close handle request. * This class implements the LSARPC close handle operation. */ public class MsrpcLsarClose extends LsarClose { /** * Creates a new request to close an LSA policy handle. * * @param handle the policy handle to close */ public MsrpcLsarClose(final policy_handle handle) { super(handle); this.ptype = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.4K bytes - Click Count (0)