- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,418 for Handle (0.04 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrCloseHandle.java
import jcifs.smb1.dcerpc.rpc; /** * MS-RPC SAMR close handle operation. * * This class implements the SAMR CloseHandle operation for releasing * Security Account Manager (SAM) handles. */ public class MsrpcSamrCloseHandle extends samr.SamrCloseHandle { /** * Creates a new request to close a SAM 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/smb2/ServerMessageBlock2ResponseTest.java
NtStatus.NT_STATUS_INVALID_PARAMETER }) @DisplayName("Should handle various status codes") void testVariousStatusCodes(int status) { response.setStatusForTest(status); assertEquals(status, response.getErrorCode()); } @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 100, 255 }) @DisplayName("Should handle various credit values") void testVariousCreditValues(int credits) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
*/ @Named @Singleton public class DefaultExceptionHandler implements ExceptionHandler { @Override public ExceptionSummary handleException(Throwable exception) { return handle("", exception); } private ExceptionSummary handle(String message, Throwable exception) { String reference = getReference(Collections.newSetFromMap(new IdentityHashMap<>()), exception); List<ExceptionSummary> children = null;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 10.9K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class)); DcerpcHandle handle = mock(DcerpcHandle.class); LsaPolicyHandle policy = mock(LsaPolicyHandle.class); jcifs.SID[] none = new jcifs.SID[0]; cache.resolveSids(handle, policy, none); verify(handle, times(1)).sendrecv(any(jcifs.dcerpc.msrpc.MsrpcLookupSids.class)); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
}); } @Test @DisplayName("Should handle null nonce") void testNullNonce() { // When/Then assertThrows(NullPointerException.class, () -> { transformHeader.setNonce(null); }); } @Test @DisplayName("Should handle invalid nonce length") void testInvalidNonceLength() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java
*/ public static final int SMB2_LEASE_READ_CACHING = 0x01; /** * Handle caching lease (H) */ public static final int SMB2_LEASE_HANDLE_CACHING = 0x02; /** * Write caching lease (W) */ public static final int SMB2_LEASE_WRITE_CACHING = 0x04; /** * Read and Handle caching (RH) */ public static final int SMB2_LEASE_READ_HANDLE = 0x03; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
try { digest.verify(data, 0, data.length, 0, response); // If no exception is thrown, verification should return false or handle gracefully assertTrue(true, "Verify operation after close should either throw exception or handle gracefully"); } catch (RuntimeException e) { // Accept runtime exceptions that might be thrown due to closed stateRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0)