- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 251 for 0x200 (0.56 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java
assertEquals(2, bytesWritten); // ATTR_HIDDEN (0x02) | ATTR_SYSTEM (0x04) = 0x06 assertEquals(0x06, dst[0]); assertEquals(0x00, dst[1]); } @Test public void testWriteBytesWireFormat() { // Test the writing of bytes to a byte array byte[] dst = new byte[100];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
assertEquals(0x10, SmbConstants.ATTR_DIRECTORY); } /** * Test FLAGS constants. */ @Test @DisplayName("FLAGS constants are correct") void flagsTest() { assertEquals(0x00, SmbConstants.FLAGS_NONE); assertEquals(0x08, SmbConstants.FLAGS_PATH_NAMES_CASELESS); assertEquals(0x10, SmbConstants.FLAGS_PATH_NAMES_CANONICALIZED); assertEquals(0x80, SmbConstants.FLAGS_RESPONSE); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
void setup() throws GeneralSecurityException { digest = new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0202, null); data = new byte[128]; Arrays.fill(data, (byte) 0x00); // Set up mock messages request = mock(CommonServerMessageBlock.class); response = mock(CommonServerMessageBlock.class); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
// Assert assertNotNull(trans); assertEquals(0, trans.maxParameterCount); assertEquals(0xFFFF, trans.maxDataCount); assertEquals(0x00, trans.maxSetupCount); assertEquals(2, trans.setupCount); assertEquals("\\PIPE\\", trans.name); } @Test @DisplayName("Test writeSetupWireFormat writes correct data")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
} @Test @DisplayName("getAttributes should return file attributes") void testGetAttributes() throws CIFSException { // Given int expectedAttributes = 0x20; // FILE_ATTRIBUTE_ARCHIVE when(mockResource.getAttributes()).thenReturn(expectedAttributes); // When int attributes = mockResource.getAttributes(); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
ByteBuffer buffer = ByteBuffer.allocate(size); buffer.order(ByteOrder.LITTLE_ENDIAN); // Security descriptor header buffer.put((byte) 0x01); // Revision buffer.put((byte) 0x00); // Padding buffer.putShort((short) 0x8004); // Control flags (SE_DACL_PRESENT | SE_SELF_RELATIVE) buffer.putInt(20); // Owner offset buffer.putInt(40); // Group offset
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
// Arrange: stub all methods with representative values when(mockEntry.getName()).thenReturn("file.txt"); when(mockEntry.getType()).thenReturn(1); when(mockEntry.getAttributes()).thenReturn(0x20); when(mockEntry.createTime()).thenReturn(100L); when(mockEntry.lastModified()).thenReturn(200L); when(mockEntry.lastAccess()).thenReturn(300L); when(mockEntry.length()).thenReturn(12345L);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0)