- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 310 for 0x03 (0.01 sec)
-
src/main/java/jcifs/internal/witness/WitnessNotification.java
private final InetAddress address; private final int flags; /** Flag indicating IPv4 address type */ public static final int IPV4 = 0x01; /** Flag indicating IPv6 address type */ public static final int IPV6 = 0x02; /** * Creates a new witness IP address. * * @param address the IP address */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 6.4K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
// Prepare buffer with totalParameterCount = 1500 buffer[bufferIndex] = 0x00; buffer[bufferIndex + 1] = 0x00; buffer[bufferIndex + 2] = 0x00; SMBUtil.writeInt4(1500, buffer, bufferIndex + 3); // Fill rest of required fields for (int i = 7; i < 37; i++) { buffer[bufferIndex + i] = 0x00; } response.readParameterWordsWireFormat(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
src[srcIndex + 1] = 0x0C; // Pointer offset // recordType (2 bytes) src[srcIndex + 2] = 0x00; src[srcIndex + 3] = 0x20; // NB (0x0020) // recordClass (2 bytes) src[srcIndex + 4] = 0x00; src[srcIndex + 5] = 0x01; // IN (0x0001) // ttl (4 bytes) src[srcIndex + 6] = 0x00; src[srcIndex + 7] = 0x00; src[srcIndex + 8] = 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
static final byte[] header = { (byte) 0xFF, (byte) 'S', (byte) 'M', (byte) 'B', (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; static void writeInt2(final long val, final byte[] dst, int dstIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
void testReadBytesWireFormatSignedByteValue() { // Given byte[] buffer = new byte[10]; // Write 4 in little-endian format buffer[0] = 0x04; buffer[1] = 0x00; // When & Then assertDoesNotThrow(() -> { int bytesRead = response.readBytesWireFormat(buffer, 0); assertEquals(4, bytesRead);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0)