- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testDecodeWithBufferOffset (0.66 sec)
-
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
assertEquals(8, bytesDecoded); assertEquals(expectedIndexNumber, fileInternalInfo.getIndexNumber()); } @Test @DisplayName("Test decode with buffer offset") void testDecodeWithBufferOffset() throws SMBProtocolDecodingException { // Prepare test data with offset byte[] buffer = new byte[20]; // Extra space to test offset int bufferIndex = 7; // Start at offset 7
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
assertTrue(bytesRead > 0); assertEquals(fileName, notifyInfo.getFileName()); } @Test @DisplayName("Test decode with buffer offset") void testDecodeWithBufferOffset() throws SMBProtocolDecodingException { String fileName = "offset_test.txt"; int action = FileNotifyInformation.FILE_ACTION_MODIFIED; int offset = 50;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
// Verify assertEquals(expectedFilename, fileBothDirectoryInfoNonUnicode.getFilename()); } @Test @DisplayName("Test decode with buffer offset") void testDecodeWithBufferOffset() throws SMBProtocolDecodingException { // Prepare test data with offset int offset = 10; String expectedFilename = "offsetfile.txt"; byte[] buffer = new byte[200 + offset];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0)