Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testReadBytesWireFormatNegativeAsUnsigned (0.2 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

            }
    
            @Test
            @DisplayName("Should handle negative structure size as unsigned")
            void testReadBytesWireFormatNegativeAsUnsigned() {
                // Given
                byte[] buffer = new byte[10];
                // Write -1 which will be read as 65535 unsigned
                buffer[0] = (byte) 0xFF;
                buffer[1] = (byte) 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                );
            }
    
            @Test
            @DisplayName("Should handle negative values as unsigned")
            void testReadBytesWireFormatNegativeAsUnsigned() {
                // Given
                byte[] buffer = new byte[10];
                // Write -1 which will be read as 65535 unsigned
                buffer[0] = (byte) 0xFF;
                buffer[1] = (byte) 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top