- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 78 for 0x1234 (0.87 sec)
-
src/test/java/jcifs/netbios/NameServicePacketTest.java
NameServicePacket.writeInt2(0x1234, dst, 0); assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); } @Test void testWriteInt4() { byte[] dst = new byte[4]; NameServicePacket.writeInt4(0x12345678, dst, 0); assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); assertEquals((byte) 0x56, dst[2]);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
Configuration cfg = mock(Configuration.class); SmbComLockingAndX cmd = new SmbComLockingAndX(cfg); // set fields via reflection setField(cmd, "fid", 0x1234); setField(cmd, "typeOfLock", (byte) 0x05); setField(cmd, "newOpLockLevel", (byte) 0x01); setField(cmd, "timeout", 3000L); // arrays of one lock and one unlock range
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
// Given byte[] buffer = new byte[offset + 20]; SMBUtil.writeInt2(16, buffer, offset); buffer[offset + 2] = 0x02; // PIPE buffer[offset + 3] = 0; SMBUtil.writeInt4(0x1234, buffer, offset + 4); SMBUtil.writeInt4(0x5678, buffer, offset + 8); SMBUtil.writeInt4(0x9ABC, buffer, offset + 12); // When int bytesRead = response.readBytesWireFormat(buffer, offset);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
byte[] buffer = new byte[34]; long create = 1600000000000L; long lastAccess = 1600000100000L; long lastWrite = 1600000200000L; long change = 1600000300000L; int attributes = 0x1234; // Convert Unix time to Windows FILETIME (100-nanosecond intervals since 1601) long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
int decodedValue = 0; TestMessage() { /* nothing */ } @Override public int getOpnum() { return 0x1234; } @Override public void encode_in(NdrBuffer buf) throws NdrException { buf.enc_ndr_small(0xAB); } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
} @Test public void testReadParameterWordsUpdatesCount() { // create a buffer with count = 0x1234 (4660 decimal) // Using little-endian byte order as per SMBUtil.readInt2 byte[] buf = new byte[12]; buf[0] = 0x34; // Low byte buf[1] = 0x12; // High byte int written = resp.readParameterWordsWireFormat(buf, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
dnsDomainInfo.domain_guid.time_low = 0x12345678; dnsDomainInfo.domain_guid.time_mid = 0x1234; dnsDomainInfo.domain_guid.time_hi_and_version = 0x5678; dnsDomainInfo.domain_guid.clock_seq_hi_and_reserved = 0x12; dnsDomainInfo.domain_guid.clock_seq_low = 0x34; dnsDomainInfo.domain_guid.node = new byte[] { 1, 2, 3, 4, 5, 6 }; dnsDomainInfo.sid = new rpc.sid_t();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
*</p> */ @ExtendWith(MockitoExtension.class) class SmbComFindClose2Test { @Mock private Configuration mockConfig; private SmbComFindClose2 instance; private final int TEST_SID = 0x1234; // 4660 decimal @BeforeEach void setUp() { instance = new SmbComFindClose2(mockConfig, TEST_SID); } @Test void testConstructorAndToString() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
} @Test void testReadInt2() { byte[] src = new byte[] { (byte) 0x34, (byte) 0x12, // 0x1234 (byte) 0xFF, (byte) 0xFF, // 0xFFFF (byte) 0x00, (byte) 0x00, // 0x0000 (byte) 0xCD, (byte) 0xAB // 0xABCD }; assertEquals(0x1234, SMBUtil.readInt2(src, 0)); assertEquals(0xFFFF, SMBUtil.readInt2(src, 2));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
void testInitDefaultsWithPresetFlags() throws CIFSException { BaseConfiguration testConfig = new BaseConfiguration(false); testConfig.flags2 = 0x1234; testConfig.capabilities = 0x5678; testConfig.initDefaults(); assertEquals(0x1234, testConfig.getFlags2()); assertEquals(0x5678, testConfig.getCapabilities()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0)