- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 176 for 0xa4 (0.02 sec)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
@DisplayName("Test createResponse method") void testCreateResponse() { request = new Smb2QueryInfoRequest(mockConfig); request.setInfoType((byte) 0x01); request.setFileInfoClass((byte) 0x04); Smb2QueryInfoResponse response = request.createResponse(mockContext, request); assertNotNull(response); verify(mockContext, times(1)).getConfig(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
/** * NetBIOS negative session response packet type. */ public static final int NEGATIVE_SESSION_RESPONSE = 0x83; static final int SESSION_RETARGET_RESPONSE = 0x84; static final int SESSION_KEEP_ALIVE = 0x85; static final int MAX_MESSAGE_SIZE = 0x0001FFFF; static final int HEADER_LENGTH = 4; static void writeInt2(final int val, final byte[] dst, int dstIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
private LeaseV1CreateContextRequest leaseContext; private Smb2LeaseKey testKey; private int testState; @BeforeEach void setUp() { byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; testKey = new Smb2LeaseKey(keyBytes); testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
/** * Test constructor with raw bytes. */ @Test void testAvFlagsByteArrayConstructor() { // Test with a positive integer byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian) AvFlags avFlags = new AvFlags(rawBytes); assertNotNull(avFlags, "AvFlags object should not be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
assertThat(Ints.toByteArray(0x12131415)).isEqualTo(new byte[] {0x12, 0x13, 0x14, 0x15}); assertThat(Ints.toByteArray(0xFFEEDDCC)) .isEqualTo(new byte[] {(byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC}); } public void testFromByteArray() { assertThat(Ints.fromByteArray(new byte[] {0x12, 0x13, 0x14, 0x15, 0x33})).isEqualTo(0x12131415);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
int bytesWritten = write.writeParameterWordsWireFormat(dst, 0); // Assert assertEquals(10, bytesWritten, "Should write 10 bytes"); // Check FID (little-endian) assertEquals(0x34, dst[0] & 0xFF); assertEquals(0x12, dst[1] & 0xFF); // Check count assertEquals(10, dst[2] & 0xFF); assertEquals(0, dst[3] & 0xFF); // Check offset
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
// Test with offset - NOTE: srcIndex is ignored due to bug, it always starts from index 0 byte[] data4 = { 0x00, 0x11, 0x22, 0x33, 0x44 }; assertEquals("00", Hexdump.toHexString(data4, 1, 2)); // Bug: ignores srcIndex, reads from 0 assertEquals("0011", Hexdump.toHexString(data4, 1, 4)); // Bug: ignores srcIndex, reads from 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChange.java
super(config, NT_TRANSACT_NOTIFY_CHANGE); this.fid = fid; this.completionFilter = completionFilter; this.watchTree = watchTree; this.setupCount = 0x04; this.totalDataCount = 0; this.maxDataCount = 0; this.maxParameterCount = config.getNotifyBufferSize(); this.maxSetupCount = (byte) 0x00; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java
// flags private static final int FLAGS_CLOSE_AFTER_THIS_REQUEST = 0x01; private static final int FLAGS_CLOSE_IF_END_REACHED = 0x02; private static final int FLAGS_RETURN_RESUME_KEYS = 0x04; private static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08; private static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10; private static final int DEFAULT_LIST_SIZE = 65535;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
*/ public static final byte FILE_NAMES_INFO = 0x0C; /** * File information class for both names with file IDs. */ public static final byte FILE_ID_BOTH_DIRECTORY_INFO = 0x24; /** * File information class for full directory information with file IDs. */ public static final byte FILE_ID_FULL_DIRECTORY_INFO = 0x26; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0)