- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 1,116 for handles (2.02 sec)
-
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
void testConstructorAndOpnum() { // When: Creating close handle message samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle); // Then: Should have correct opnum and handle assertEquals(0x01, message.getOpnum()); assertEquals(mockPolicyHandle, message.handle); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
// Then assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); } @Test @DisplayName("Should handle null message gracefully") void testNullMessage() { // When/Then assertDoesNotThrow(() -> { RuntimeCIFSException exception = new RuntimeCIFSException((String) null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
} /** * Sets the context handle for the async notify request. * * @param contextHandle the context handle from registration */ public void setContextHandle(byte[] contextHandle) { this.contextHandle = contextHandle != null ? contextHandle.clone() : null; } /** * Gets the context handle. * * @return the context handle */ public byte[] getContextHandle() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0) -
src/main/java/jcifs/context/BaseContext.java
import jcifs.SmbResource; import jcifs.SmbTransportPool; import jcifs.netbios.NameServiceClientImpl; import jcifs.smb.BufferCacheImpl; import jcifs.smb.CredentialsInternal; import jcifs.smb.DfsImpl; import jcifs.smb.Handler; import jcifs.smb.NtlmPasswordAuthenticator; import jcifs.smb.SIDCacheImpl; import jcifs.smb.SmbFile; import jcifs.smb.SmbNamedPipe; import jcifs.smb.SmbTransportPoolImpl; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
assertEquals(0xDE, buffer[1] & 0xFF); assertEquals(0xBC, buffer[2] & 0xFF); assertEquals(0x9A, buffer[3] & 0xFF); } @Test @DisplayName("Should handle big endian encoding/decoding") void testBigEndianOperations() { // Given int value = 0x12345678; byte[] buffer = new byte[4]; // When - encode big endian
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/smb1/trans/TransPeekNamedPipeTest.java
assertNull(transPeekNamedPipe.name); } @ParameterizedTest @ValueSource(ints = { 0, 1, -1, Integer.MAX_VALUE, Integer.MIN_VALUE, 0xFFFF }) @DisplayName("Constructor should handle various FID values") void testConstructorWithVariousFids(int fid) { // Act transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, fid); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
} @ParameterizedTest @ValueSource(strings = { "", "a", "short", "medium length text", "very long text that exceeds typical block sizes" }) @DisplayName("Should handle various input sizes for hashing") void testHashVariousInputSizes(String input) { // Given byte[] data = input.getBytes(); // When MessageDigest md4 = Crypto.getMD4();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java
} /** * Gets the context handle returned by the server. * * @return the context handle */ public byte[] getContextHandle() { return contextHandle != null ? contextHandle.clone() : null; } /** * Sets the context handle. * * @param contextHandle the context handle */ public void setContextHandle(byte[] contextHandle) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.6K bytes - Viewed (0) -
api/go1.25.txt
pkg net/http, method (*CrossOriginProtection) Check(*Request) error #73626 pkg net/http, method (*CrossOriginProtection) Handler(Handler) Handler #73626 pkg net/http, method (*CrossOriginProtection) SetDenyHandler(Handler) #73626 pkg net/http, type CrossOriginProtection struct #73626 pkg os, method (*Root) Chmod(string, fs.FileMode) error #67002
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jun 02 16:09:57 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
assertEquals(expectedFlags, flags); } @Test @DisplayName("getDefaultFlags should handle Type1Message with request target") void testGetDefaultFlags_CIFSContext_Type1Message_Unicode_RequestTarget_DomainPresent() { // Given CIFSContext mockContext = createMockContext();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0)