Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testNegativeValueHandling (0.17 sec)

  1. src/test/java/jcifs/internal/util/SMBUtilTest.java

                SMBUtil.writeInt4(0x12345678, buffer, offset);
                assertEquals(0x12345678, SMBUtil.readInt4(buffer, offset));
            }
        }
    
        @Test
        void testNegativeValueHandling() {
            byte[] buffer = new byte[8];
    
            // Test negative values in writeInt4
            SMBUtil.writeInt4(-1L, buffer, 0);
            assertEquals(-1, SMBUtil.readInt4(buffer, 0));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top