Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testEncodingWithNegativeValues (0.13 seconds)

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

                assertEquals(maxFlags, SMBUtil.readInt4(buffer, 16));
            }
    
            @Test
            @DisplayName("Should encode negative values as unsigned")
            void testEncodingWithNegativeValues() {
                long negativeOffset = -1L;
                long negativeLength = -100L;
                int negativeFlags = -1;
    
                lock = new Smb2Lock(negativeOffset, negativeLength, negativeFlags);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top