Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for testDecodeWithNegativeValues (0.34 seconds)

  1. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            // Verify
            assertEquals(22, bytesDecoded);
            assertEquals(minLong, fileStandardInfo.getSize());
        }
    
        @Test
        @DisplayName("Test decode with negative values")
        void testDecodeWithNegativeValues() throws SMBProtocolDecodingException {
            // Prepare test data with negative values
            byte[] buffer = new byte[22];
            long negativeLong = -1L;
            int negativeInt = -1;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            // The decode method returns only the header size (16 bytes)\n        assertEquals(16, bytesDecoded);
        }
    
        @Test
        @DisplayName("Test decode with negative values")
        void testDecodeWithNegativeValues() throws SMBProtocolDecodingException {
            // Prepare test data with negative values (when interpreted as signed)
            byte[] buffer = new byte[16];
            int bufferIndex = 0;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

    Shinsuke Sugaya <******@****.***> 1755149504 +0900
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            assertEquals(expectedFree, smbInfoAllocation.getFree());
        }
    
        @Test
        @DisplayName("Test decode with negative values interpreted as unsigned")
        void testDecodeWithNegativeValues() throws SMBProtocolDecodingException {
            // Prepare test data with values that would be negative if signed
            byte[] buffer = new byte[22];
            int idFileSystem = -1; // 0xFFFFFFFF
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

    Shinsuke Sugaya <******@****.***> 1755149504 +0900
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
Back to Top