- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 160 for 0xF4 (0.04 sec)
-
src/test/java/jcifs/netbios/NameServicePacketTest.java
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]); assertEquals((byte) 0x78, dst[3]); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertEquals((byte) 0x34, dst[0]); assertEquals((byte) 0x12, dst[1]); // LIST_COUNT (2 bytes, LE) int listCount = Trans2FindFirst2.LIST_COUNT; assertEquals((byte) (listCount & 0xFF), dst[2]); assertEquals((byte) ((listCount >> 8) & 0xFF), dst[3]); // informationLevel (2 bytes, LE) -> 0x0104 assertEquals((byte) 0x04, dst[4]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
void testWriteInt2() { byte[] dst = new byte[4]; SessionServicePacket.writeInt2(0x1234, dst, 0); assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); } @ParameterizedTest @ValueSource(ints = { 0, 1, 255, 256, 32767, 65535 }) @DisplayName("writeInt2 should handle various values") void testWriteInt2Various(int value) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K 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'; // S
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.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/DcerpcConstantsTest.java
} @Test @DisplayName("DCERPC_PENDING_CANCEL should have correct value") void testDcerpcPendingCancel() { assertEquals(0x04, DcerpcConstants.DCERPC_PENDING_CANCEL, "DCERPC_PENDING_CANCEL should be 0x04"); } @Test @DisplayName("DCERPC_RESERVED_1 should have correct value") void testDcerpcReserved1() {
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/main/java/jcifs/dcerpc/DcerpcConstants.java
*/ int DCERPC_LAST_FRAG = 0x02; /* Last fragment */ /** * Pending cancel flag - indicates cancel was pending at sender */ int DCERPC_PENDING_CANCEL = 0x04; /* Cancel was pending at sender */ /** * Reserved flag for future use */ int DCERPC_RESERVED_1 = 0x08; /** * Supports concurrent multiplexing flag. */
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/dcerpc/ndr/NdrBufferTest.java
assertEquals(0, alignedBytes); assertEquals(4, ndrBuffer.getIndex()); } @Test void testWriteOctetArray() { byte[] data = { 0x01, 0x02, 0x03, 0x04 }; ndrBuffer.writeOctetArray(data, 0, data.length); assertEquals(data.length, ndrBuffer.getIndex()); assertEquals(data.length, ndrBuffer.getLength());
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/smb1/com/SmbComSeekResponseTest.java
static java.util.stream.Stream<Arguments> int32Provider() { return java.util.stream.Stream.of(Arguments.of(0x00000000, new byte[] { 0x00, 0x00, 0x00, 0x00 }), Arguments.of(0x12345678, new byte[] { 0x78, 0x56, 0x34, 0x12 }), Arguments.of(0xFFFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }), Arguments.of(0x7FFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F })); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
new byte[] { 0x01, (byte) 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x18, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.6K bytes - Viewed (0)