- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,154 for Handle (0.09 sec)
-
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
import jcifs.internal.smb2.create.CreateContextResponse; import jcifs.internal.util.SMBUtil; /** * SMB2 Durable Handle V2 Response Create Context * * MS-SMB2 Section 2.2.14.2.4 */ public class DurableHandleV2Response implements CreateContextResponse { /** * Context name for durable handle V2 response */ public static final String CONTEXT_NAME = "DH2Q";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.4K 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"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K 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. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenDomain.java
* * This class implements the SAMR OpenDomain operation for obtaining * a handle to a specific domain in the Security Account Manager. */ public class MsrpcSamrOpenDomain extends samr.SamrOpenDomain { /** * Creates a new request to open a domain handle. * * @param handle the SAM policy handle * @param access the desired access rights * @param sid the security identifier of the domain
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
assertEquals(rootNames[i], entries[i].getName()); assertEquals(8, entries[i].getType()); // TYPE_SHARE constant value } } @Test @DisplayName("getEntries should handle single DFS root correctly") void testGetEntries_singleEntry() throws Exception { // Create array with single entry netdfs.DfsEnumArray200 singleArray = new netdfs.DfsEnumArray200();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
try { // Create RPC handle to witness service this.handle = DcerpcHandle.getHandle( "ncacn_ip_tcp:" + serverAddress.getHostAddress() + "[135]", WITNESS_INTERFACE_UUID, WITNESS_INTERFACE_VERSION, context ); // Bind to witness interface handle.bind();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
@NullAndEmptySource @DisplayName("Should handle null and empty FQDN in fixupHost") void testFixupHostWithNullAndEmpty(String fqdn) { // Test with mock doNothing().when(mockReferralData).fixupHost(fqdn); assertDoesNotThrow(() -> mockReferralData.fixupHost(fqdn)); // Test with concrete implementation - fixupHost doesn't handle null fqdn if (fqdn == null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0)