- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,418 for Handle (0.98 sec)
-
src/main/java/jcifs/dcerpc/DcerpcHandle.java
* @param tc * the CIFS context for this handle */ public DcerpcHandle(final CIFSContext tc) { this.transportContext = tc; this.binding = null; } /** * Constructs a DcerpcHandle with the specified CIFS context and binding * * @param tc * the CIFS context for this handle * @param bindingRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (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)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.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 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
@Test @DisplayName("Should handle null domain and workstation") void testNullDomainAndWorkstation() { // When Type1Message type1 = new Type1Message(mockContext, 0, null, null); // Then assertNull(type1.getSuppliedDomain()); assertNull(type1.getSuppliedWorkstation()); } @Test @DisplayName("Should handle case sensitivity in domain and workstation")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbFileHandleTest.java
} /** * Test isValid() when the handle is valid. */ @Test void testIsValid_whenValid() { when(smbFileHandle.isValid()).thenReturn(true); assertTrue(smbFileHandle.isValid(), "isValid should return true when the handle is valid."); verify(smbFileHandle, times(1)).isValid(); } /** * Test isValid() when the handle is invalid. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.create.CreateContextResponse; /** * SMB2 Durable Handle Response Create Context * * MS-SMB2 Section 2.2.14.2.3 */ public class DurableHandleResponse implements CreateContextResponse { /** * Context name for durable handle response */ public static final String CONTEXT_NAME = "DHnQ";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterRequest.java
this.registrationId = registrationId; } /** * Gets the context handle. * * @return the context handle */ public byte[] getContextHandle() { return contextHandle; } /** * Sets the context handle. * * @param contextHandle the context handle */ public void setContextHandle(byte[] contextHandle) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
// Then assertEquals(maxMid, request.getMid(), "Should handle maximum MID"); assertEquals(maxAsyncId, request.getAsyncId(), "Should handle maximum AsyncId"); assertEquals(maxCredits, request.getCredit(), "Should handle maximum credits"); assertEquals(maxTreeId, request.getTreeId(), "Should handle maximum tree ID"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
} @Test @DisplayName("Should handle zero value correctly") void testConstructorZero() { // Given/When: Creating NdrShort with zero NdrShort ndrShort = new NdrShort(0); // Then: Value should be zero assertEquals(0, ndrShort.value); } @Test @DisplayName("Should handle maximum byte value correctly")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0)