- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 299 for 0x04 (0.9 sec)
-
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
assertArrayEquals(expectedDescrBytes, actualDescrBytes); // Verify level (0x0001) int descrEnd = 2 + expectedDescrBytes.length; assertEquals(0x01, dst[descrEnd]); assertEquals(0x00, dst[descrEnd + 1]); // Verify maxDataCount (16384) assertEquals(16384, SMBUtil.readInt2(dst, descrEnd + 2)); // Verify serverTypes
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
filter.init(filterConfig); // Test NTLM Type 1 message handling byte[] type1Message = new byte[] { 0x4E, 0x54, 0x4C, 0x4D, 0x53, 0x53, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00 }; String authHeader = "NTLM " + new String(org.bouncycastle.util.encoders.Base64.encode(type1Message)); when(request.getHeader("Authorization")).thenReturn(authHeader);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
dst[dstIndex + 2 * i + 2] = (byte) ((tmp[i] & 0x0F) + 0x41); } for (; i < 15; i++) { dst[dstIndex + 2 * i + 1] = (byte) 0x43; dst[dstIndex + 2 * i + 2] = (byte) 0x41; } dst[dstIndex + TYPE_OFFSET] = (byte) (((hexCode & 0xF0) >> 4) + 0x41); dst[dstIndex + TYPE_OFFSET + 1] = (byte) ((hexCode & 0x0F) + 0x41);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
dst[dstIndex + 2 * i + 2] = (byte) ((tmp[i] & 0x0F) + 0x41); } for (; i < 15; i++) { dst[dstIndex + 2 * i + 1] = (byte) 0x43; dst[dstIndex + 2 * i + 2] = (byte) 0x41; } dst[dstIndex + TYPE_OFFSET] = (byte) (((this.hexCode & 0xF0) >> 4) + 0x41); dst[dstIndex + TYPE_OFFSET + 1] = (byte) ((this.hexCode & 0x0F) + 0x41);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
// relative to headerStart private static final int SETUP_OFFSET = 61; private static final int DISCONNECT_TID = 0x01; private static final int ONE_WAY_TRANSACTION = 0x02; private int pad; private int pad1; private boolean parametersDone, dataDone; protected int totalParameterCount; protected int totalDataCount;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java
*/ @Test void testReadParameterWordsWireFormat() { SmbComWriteAndXResponse response = new SmbComWriteAndXResponse(); byte[] buffer = new byte[] { 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // count = 10 int bytesRead = response.readParameterWordsWireFormat(buffer, 0); // The count should be read from the buffer. assertEquals(10L, response.count);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
// Encode "TEST" (0x54 0x45 0x53 0x54) // T=0x54: upper nibble 0x5->F(0x46), lower nibble 0x4->E(0x45) src[1] = 'F'; src[2] = 'E'; // T // E=0x45: upper nibble 0x4->E(0x45), lower nibble 0x5->F(0x46) src[3] = 'E'; src[4] = 'F'; // E // S=0x53: upper nibble 0x5->F(0x46), lower nibble 0x3->D(0x44) src[5] = 'F'; src[6] = 'D'; // SRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
int written = trans2SetFileInfo.writeSetupWireFormat(buffer, 0); // Should write 2 bytes: subcommand and 0x00 assertEquals(2, written); assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, buffer[0]); assertEquals(0x00, buffer[1]); } @Test @DisplayName("Test writeSetupWireFormat with offset") void testWriteSetupWireFormatWithOffset() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
*/ public class NameServiceClientImpl implements Runnable, NameServiceClient { private static final int NAME_SERVICE_UDP_PORT = 137; static final byte[] UNKNOWN_MAC_ADDRESS = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; private static final Logger log = LoggerFactory.getLogger(NameServiceClientImpl.class); private final Object LOCK = new Object(); private int nbnsIndex = 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0)