- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 200 for 0x14 (0.02 sec)
-
src/test/java/jcifs/spnego/NegTokenInitTest.java
} @Test @DisplayName("Parse handles MIC in tag [3] and [4] (compatibility)") void testParsesMicInTag4Compatibility() throws Exception { byte[] mic = new byte[] { 0x11, 0x22, 0x33 }; // Tag [4] byte[] tokenTag4 = buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, null, null, mic, true, null, null, null); NegTokenInit p4 = new NegTokenInit(tokenTag4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("0A0B0C", Hexdump.toHexString(data3, 0, 6)); // 6 chars = 3 bytes // Test with offset - NOTE: srcIndex is ignored due to bug, it always starts from index 0 byte[] data4 = { 0x00, 0x11, 0x22, 0x33, 0x44 }; assertEquals("00", Hexdump.toHexString(data4, 1, 2)); // Bug: ignores srcIndex, reads from 0 assertEquals("0011", Hexdump.toHexString(data4, 1, 4)); // Bug: ignores srcIndex, reads from 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
// Then assertTrue(result > 0); assertEquals((byte) 0x04, dst[0]); // First buffer format byte // Find the second buffer format byte int secondBufferFormatIndex = oldFileName.length() + 2; // 1 for first 0x04, 1 for null terminator assertEquals((byte) 0x04, dst[secondBufferFormatIndex]); } /** * Test writeBytesWireFormat with Unicode encoding
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
assertEquals(1 + expectedString.length + 1, used, "Expected exactly one command byte plus OEM string and NUL terminator"); assertEquals(0x04, buffer[0] & 0xFF, "First byte must be SMB_COM_QUERY_INFORMATION type 0x04"); // Verify that the string part ends with the null terminator assertArrayEquals(expectedString, subArray(buffer, 1, expectedString.length));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
SmbRandomAccessFile raf = spy(newInstance("r", false, false, false)); doAnswer(inv -> { byte[] b = inv.getArgument(0); int off = inv.getArgument(1); b[off] = 0x12; b[off + 1] = 0x34; return 2; }).when(raf).read(any(byte[].class), anyInt(), eq(2)); assertEquals(0x1234, raf.readUnsignedShort()); assertEquals((short) 0x1234, raf.readShort());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
* RPC message for getting information about a specific share. */ public static class ShareGetInfo extends DcerpcMessage { @Override public int getOpnum() { return 0x10; } /** * The return value of the operation. */ public int retval; /** * The name of the server. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
public void testCollisionsDueToIncorrectSignExtension() { byte[] col1 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x80}; byte[] col2 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x81}; byte[] col3 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0xff}; ImmutableSet<HashCode> hashCodes = ImmutableSet.of(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 }; ByteEncodable encodable = new ByteEncodable(data, 1, 3); // Verify size assertEquals(3, encodable.size(), "Size should be equal to the specified length"); } @Test void testEncodeBasic() { // Test basic encoding byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
} return clearText; } // Tables, permutations, S-boxes, etc. private static byte[] bytebit = { (byte) 0x80, (byte) 0x40, (byte) 0x20, (byte) 0x10, (byte) 0x08, (byte) 0x04, (byte) 0x02, (byte) 0x01 }; private static int[] bigbyte = { 0x800000, 0x400000, 0x200000, 0x100000, 0x080000, 0x040000, 0x020000, 0x010000, 0x008000, 0x004000,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
@Test 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]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0)