Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testWriteTime (0.14 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            long readTime = SMBUtil.readTime(src, 8);
            assertEquals((testTime / 10000L - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601), readTime);
        }
    
        @Test
        void testWriteTime() {
            byte[] dst = new byte[16];
    
            // Test with zero time
            SMBUtil.writeTime(0L, dst, 0);
            long writtenValue = SMBUtil.readInt8(dst, 0);
            assertEquals(0L, writtenValue);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top