- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 217 for 0x30 (0.02 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
byte[] wireData = new byte[] { 0x10, 0x00, // StructureSize (must be 16) 0x01, // ShareType (DISK) 0x00, // Reserved 0x01, 0x00, 0x00, 0x00, // ShareFlags 0x08, 0x00, 0x00, 0x00, // Capabilities (byte) 0xFF, 0x01, 0x1F, 0x00 // MaximalAccess }; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
private static Stream<Arguments> provideNamesForWriteTest() { return Stream.of(Arguments.of("SERVER", 0x20, "CLIENT", 0x00), Arguments.of("WORKSTATION", 0x00, "USER", 0x03), Arguments.of("DOMAIN", 0x1B, "BROWSER", 0x1D), Arguments.of("A", 0x20, "B", 0x00), Arguments.of("VERYLONGNAMETEST", 0x20, "ANOTHERLONGNAME", 0x00)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
@Test @DisplayName("Various byte values are converted to uppercase hex") void testHexConversion() { byte[] challenge = new byte[] { (byte) 0x00, (byte) 0x0F, (byte) 0x10, (byte) 0x7F, (byte) 0x80, (byte) 0xFF }; UniAddress dc = mock(UniAddress.class); when(dc.toString()).thenReturn("DC"); NtlmChallenge nc = new NtlmChallenge(challenge, dc);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
// Given int testType = 0x20; // Server service when(mockNetbiosName.getNameType()).thenReturn(testType); // When int nameType = mockNetbiosName.getNameType(); // Then assertEquals(testType, nameType); verify(mockNetbiosName).getNameType(); } @ParameterizedTest @ValueSource(ints = { 0x00, 0x03, 0x06, 0x1B, 0x1C, 0x1D, 0x1E, 0x20 })Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
// Since FLAGS2_RESOLVE_PATHS_IN_DFS is 0x1000, when cast to byte it becomes 0 // Therefore the method will always return false unless flags has all 0x00 bits set // This test verifies actual behavior testBlock.setFlags((byte) 0x00); assertFalse(testBlock.isResolveInDfs()); // The correct implementation should check flags2, not flagsRegistered: 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/internal/smb2/Smb2ConstantsTest.java
void testGlobalCapPersistentHandles() { assertEquals(0x10, Smb2Constants.SMB2_GLOBAL_CAP_PERSISTENT_HANDLES, "Persistent handles capability must be 0x10"); } @Test @DisplayName("Directory leasing capability should be 0x20") void testGlobalCapDirectoryLeasing() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.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) -
src/test/java/jcifs/util/ByteEncodableTest.java
// Verify content assertArrayEquals(new byte[] { 0x02, 0x03, 0x04, 0x00, 0x00 }, dest, "Encoded bytes should match the expected subset"); } @Test void testEncodeWithOffset() { // Test encoding with a destination offset byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 }; ByteEncodable encodable = new ByteEncodable(data, 0, 3);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/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
// securityMode buffer[bufferIndex++] = 0x03; // maxMpxCount buffer[bufferIndex++] = 50; buffer[bufferIndex++] = 0; // maxNumberVcs buffer[bufferIndex++] = 1; buffer[bufferIndex++] = 0; // maxBufferSize buffer[bufferIndex++] = (byte) 0x00; buffer[bufferIndex++] = (byte) 0x40; buffer[bufferIndex++] = 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/smb2/session/Smb2SessionSetupRequestTest.java
System.arraycopy(buffer, tokenOffset, actualToken, 0, tokenSize); assertArrayEquals(token, actualToken); } } @ParameterizedTest @CsvSource({ "0x00, 0x00000000", "0x01, 0x00000001", "0x03, 0x0000000F", "0xFF, 0x7FFFFFFF" }) @DisplayName("Should handle various security modes and capabilities")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0)