- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 246 for 0x20 (0.02 sec)
-
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
// Bit 2: active (1) // Bit 1: permanent (1) // MAC address byte[] testMac = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; System.arraycopy(testMac, 0, src, srcIndex + 19, 6); // Statistics byte[] stats = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; System.arraycopy(stats, 0, src, srcIndex + 25, 6); response.readRDataWireFormat(src, srcIndex);
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/internal/smb2/lease/DirectoryCacheEntryTest.java
// Should match with same values assertTrue(fileInfo.matches(1024L, 1000L, 0x20)); // Should not match with different size assertFalse(fileInfo.matches(2048L, 1000L, 0x20)); // Should not match with different last modified assertFalse(fileInfo.matches(1024L, 2000L, 0x20));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
assertEquals(1, NbtAddress.P_NODE); assertEquals(2, NbtAddress.M_NODE); assertEquals(3, NbtAddress.H_NODE); assertArrayEquals(new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, NbtAddress.UNKNOWN_MAC_ADDRESS); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java
void testDcerpcConcMpx() { assertEquals(0x10, DcerpcConstants.DCERPC_CONC_MPX, "DCERPC_CONC_MPX should be 0x10"); } @Test @DisplayName("DCERPC_DID_NOT_EXECUTE should have correct value") void testDcerpcDidNotExecute() { assertEquals(0x20, DcerpcConstants.DCERPC_DID_NOT_EXECUTE, "DCERPC_DID_NOT_EXECUTE should be 0x20"); } @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/main/java/jcifs/dcerpc/DcerpcConstants.java
* Supports concurrent multiplexing flag. */ int DCERPC_CONC_MPX = 0x10; /* supports concurrent multiplexing */ /** * Did not execute flag - indicates request was not executed */ int DCERPC_DID_NOT_EXECUTE = 0x20; /** * Maybe flag - indicates 'maybe' call semantics requested */ int DCERPC_MAYBE = 0x40; /* `maybe' call semantics requested */ /**
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/netbios/NameTest.java
Name name1 = new Name(mockConfig, "TEST", 0x20, "scope"); Name name2 = new Name(mockConfig, "TEST", 0x20, "scope"); assertTrue(name1.equals(name2)); } @Test void equals_withDifferentName_shouldReturnFalse() { Name name1 = new Name(mockConfig, "TEST1", 0x20, "scope"); Name name2 = new Name(mockConfig, "TEST2", 0x20, "scope"); assertFalse(name1.equals(name2));
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/NameServiceClientTest.java
} @Test void testGetNbtAllByAddress_StringIntString() throws UnknownHostException { // Arrange String host = "testHost"; int type = 0x20; String scope = "testScope"; NetbiosAddress[] expectedAddresses = { mock(NetbiosAddress.class) }; when(nameServiceClient.getNbtAllByAddress(host, type, scope)).thenReturn(expectedAddresses);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K 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/internal/smb2/lease/DirectoryLeaseManagerTest.java
DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath); entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L); entry.updateChild("file2.txt", 2048L, 2000L, false, 0x20, 600L, 900L); entry.markComplete(); // Test FILE_ADDED - should invalidate cache
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
// Put data at offset 0x20 SMBUtil.writeInt2(0, ctx, ci); // Reserved SMBUtil.writeInt2(0x20, ctx, ci + 2); // DataOffset ci += 4; SMBUtil.writeInt4(8, ctx, ci); // DataLength ci += 4; // Name bytes at 0x10 byte[] name = new byte[] { 'T', 'E', 'S', 'T' }; System.arraycopy(name, 0, ctx, 0x10, name.length); // Data bytes at 0x20
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)