Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSequentialEncoding (0.09 sec)

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

                assertEquals(24, encoded);
                assertEquals(flags, SMBUtil.readInt4(buffer, 16));
            }
    
            @Test
            @DisplayName("Should encode multiple locks sequentially")
            void testSequentialEncoding() {
                Smb2Lock lock1 = new Smb2Lock(100L, 200L, 1);
                Smb2Lock lock2 = new Smb2Lock(300L, 400L, 2);
                Smb2Lock lock3 = new Smb2Lock(500L, 600L, 4);
    
                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)
Back to top