- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 320 for 0x03 (0.02 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
assertTrue(str.contains("name=test.txt"), "The file name should appear"); // securityFlags are set to 0x03 – verify hex sequence assertTrue(str.contains("securityFlags=0x03"), "securityFlags should be present"); } /** * Fetch a private field value via reflection. This helper keeps the
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
byte[] b = inv.getArgument(0); int off = inv.getArgument(1); b[off] = 0x01; b[off + 1] = 0x02; b[off + 2] = 0x03; b[off + 3] = 0x04; b[off + 4] = 0x05; b[off + 5] = 0x06; b[off + 6] = 0x07; b[off + 7] = 0x08; return 8; }).when(raf).read(any(byte[].class), anyInt(), eq(8));
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/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/ACE.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
// Then assertEquals(testType, nameType); verify(mockNetbiosName).getNameType(); } @ParameterizedTest @ValueSource(ints = { 0x00, 0x03, 0x06, 0x1B, 0x1C, 0x1D, 0x1E, 0x20 }) @DisplayName("Should handle various NetBIOS name types") void testVariousNameTypes(int nameType) { // Given when(mockNetbiosName.getNameType()).thenReturn(nameType);
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/SMBSigningDigestTest.java
private CommonServerMessageBlock message; private byte[] testData; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; } @Test @DisplayName("Test sign method with valid parameters") void testSignWithValidParameters() { // Arrange int offset = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
// Test successful reading of 6 bytes from the input stream. // The content of these bytes is not critical for this test, only that 6 bytes are read. byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; // Sample 6 bytes ByteArrayInputStream bais = new ByteArrayInputStream(data); SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
class ToStringTests { @ParameterizedTest @DisplayName("Should format command name correctly") @ValueSource(shorts = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11, 0x12 }) void testToStringCommandNames(short command) { testMessage.setCommand(command);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
byte[] params = { 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x02, 0x00 }; response.readParametersWireFormat(params, 0, params.length); // Data block: 2 entries byte[] data = new byte[100]; // Entry 1: SHARE1, type 0 (Disk), remark "Remark 1" System.arraycopy("SHARE1".getBytes(StandardCharsets.US_ASCII), 0, data, 0, 6); data[14] = 0x00; data[15] = 0x00; // type = 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
} @Test @DisplayName("parsing malformed token throws IOException") void testMalformedToken() { byte[] bad = new byte[] { 0x01, 0x02, 0x03 }; // not a valid ASN.1 tagged object assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0)