- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 175 for 0x12 (0.42 sec)
-
src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java
void testRpcPtShutdown() { assertEquals(0x11, DcerpcConstants.RPC_PT_SHUTDOWN, "RPC_PT_SHUTDOWN should be 0x11"); } @Test @DisplayName("RPC_PT_CANCEL should have correct value") void testRpcPtCancel() { assertEquals(0x12, DcerpcConstants.RPC_PT_CANCEL, "RPC_PT_CANCEL should be 0x12"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
void testEquals() { byte[] testBytes1 = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; byte[] testBytes2 = Arrays.copyOf(testBytes1, 16); byte[] testBytes3 = new byte[] { 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20 }; Smb2LeaseKey key1 = new Smb2LeaseKey(testBytes1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcConstants.java
*/ int RPC_PT_SHUTDOWN = 0x11; /** * Cancel packet type */ int RPC_PT_CANCEL = 0x12; /** * Acknowledgment packet type */ int RPC_PT_ACK = 0x13; /** * Reject packet type */ int RPC_PT_REJECT = 0x14; /** * Connection-oriented cancel packet type */ int RPC_PT_CO_CANCEL = 0x15; /** * Orphaned packet type
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
// Little-endian 0x1234 -> 0x34 0x12 byte[] data = new byte[] { 0x34, 0x12, 0x00, 0x00 }; PacDataInputStream pdis = createInputStream(data); assertEquals((short) 0x1234, pdis.readShort()); } @Test public void testReadInt() throws IOException { // Little-endian 0x12345678 -> 0x78 0x56 0x34 0x12 byte[] data = new byte[] { 0x78, 0x56, 0x34, 0x12 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
// Prepare padded arrays byte[] customData = new byte[8]; customData[0] = 0x01; customData[1] = 0x02; byte[] machineId = new byte[32]; machineId[0] = 0x10; machineId[1] = 0x11; machineId[2] = 0x12; AvSingleHost avSingleHost = new AvSingleHost(customData, machineId); assertNotNull(avSingleHost);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
} @Test @DisplayName("Should encode and decode UUIDs") void testUUIDOperations() { // Given byte[] uuid = { 0x12, 0x34, 0x56, 0x78, (byte) 0x9A, (byte) 0xBC, (byte) 0xDE, (byte) 0xF0, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88 }; byte[] buffer = new byte[16]; // When System.arraycopy(uuid, 0, buffer, 0, 16);
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/dcerpc/ndr/NdrBufferTest.java
ndrBuffer.readOctetArray(destData, 1, 3); // Read 0x10, 0x11, 0x12 into destData[1-3] assertEquals(3, ndrBuffer.getIndex()); assertEquals(0x00, destData[0]); assertEquals(0x10, destData[1]); assertEquals(0x11, destData[2]); assertEquals(0x12, destData[3]); assertEquals(0x00, destData[4]); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
void testWriteInt2() { byte[] dst = new byte[10]; // Test with simple value SMBUtil.writeInt2(0x1234L, dst, 0); assertEquals((byte) 0x34, dst[0]); assertEquals((byte) 0x12, dst[1]); // Test with max value for 2 bytes SMBUtil.writeInt2(0xFFFFL, dst, 2); assertEquals((byte) 0xFF, dst[2]); assertEquals((byte) 0xFF, dst[3]); // Test with zero
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
void testCommandProperty() { testBlock.setCommand(0x42); assertEquals(0x42, testBlock.getCommand()); } @Test @DisplayName("Test flags property") void testFlagsProperty() { testBlock.setFlags((byte) 0x12); assertEquals((byte) 0x12, testBlock.getFlags()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
void testReadHeaderWireFormat() { byte[] buffer = { (byte) 0x82, (byte) 0x00, (byte) 0x00, (byte) 0x20 }; ByteArrayInputStream bais = new ByteArrayInputStream(buffer); int read = packet.readHeaderWireFormat(bais, buffer, 0); assertEquals(4, read); assertEquals(0x82, packet.type); assertEquals(0x20, packet.length); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0)