Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEncodingAtBufferBoundary (0.53 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

        }
    
        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle encoding at buffer boundary")
            void testEncodingAtBufferBoundary() {
                byte[] smallBuffer = new byte[24];
                lock = new Smb2Lock(100L, 200L, 1);
    
                int encoded = lock.encode(smallBuffer, 0);
    
                assertEquals(24, encoded);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top