- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 146 for 0xe4 (0.03 sec)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
assertEquals(0x03, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO); assertEquals(0x0C, Smb2QueryDirectoryRequest.FILE_NAMES_INFO); assertEquals(0x24, Smb2QueryDirectoryRequest.FILE_ID_BOTH_DIRECTORY_INFO); assertEquals(0x26, Smb2QueryDirectoryRequest.FILE_ID_FULL_DIRECTORY_INFO); } @Test @DisplayName("Test all query flags constants")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
assertThat(newReader(byteStream()).readInt(0xe0 or 10, 31)).isEqualTo(10) } @Test fun readMultibyteInt() { assertThat(newReader(byteStream(154, 10)).readInt(31, 31)).isEqualTo(1337) } @Test fun writeSingleByteInt() { hpackWriter!!.writeInt(10, 31, 0) assertBytes(10) hpackWriter!!.writeInt(10, 31, 0xe0) assertBytes(0xe0 or 10) } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
*/ @Test @DisplayName("Test byte array fields (encryptionKey and guid)") public void testByteArrayFields() { // Test encryptionKey byte[] key = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; serverData.encryptionKey = key; assertNotNull(serverData.encryptionKey); assertArrayEquals(key, serverData.encryptionKey); // Test with empty array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
SMBUtil.writeInt2(8, buffer, 58); // Security buffer length // Add some dummy security data at offset 64 from start buffer[64] = (byte) 0x4E; // NTLMSSP signature start buffer[65] = (byte) 0x54; buffer[66] = (byte) 0x4C; buffer[67] = (byte) 0x4D; buffer[68] = (byte) 0x53; buffer[69] = (byte) 0x53; buffer[70] = (byte) 0x50;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K 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/http/NtlmHttpFilterTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
* Tests all constructors, parsing, and serialization functionality. */ @DisplayName("Type2Message Comprehensive Tests") class Type2MessageTest { private static final byte[] TEST_CHALLENGE = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; private static final String TEST_TARGET = "TEST_TARGET"; private static final String TEST_DOMAIN = "TEST_DOMAIN"; private static final String TEST_HOSTNAME = "TEST_HOSTNAME"; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
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) -
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) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
public void testIsWellFormed_4BytesSamples() { // Valid 4 byte. assertWellFormed(0xF0, 0xA4, 0xAD, 0xA2); // Bad trailing bytes assertNotWellFormed(0xF0, 0xA4, 0xAD, 0x7F); assertNotWellFormed(0xF0, 0xA4, 0xAD, 0xC0); // Special cases for byte2 assertNotWellFormed(0xF0, 0x8F, 0xAD, 0xA2); assertNotWellFormed(0xF4, 0x90, 0xAD, 0xA2); } /** Tests some hard-coded test cases. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0)