Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testDecodeNonAlignedNextOffset (0.12 seconds)

  1. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("Test decode with non-aligned next entry offset throws exception")
        void testDecodeNonAlignedNextOffset() {
            byte[] buffer = new byte[100];
            // Write non-aligned next entry offset (not divisible by 4)
            SMBUtil.writeInt4(7, buffer, 0); // 7 is not aligned to 4 bytes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
Back to Top