Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testTimeConversionRoundTrip (0.24 sec)

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

            byte[] buffer = new byte[8];
            SMBUtil.writeInt8(input, buffer, 0);
            long result = SMBUtil.readInt8(buffer, 0);
            assertEquals(input, result);
        }
    
        @Test
        void testTimeConversionRoundTrip() {
            // Test various time values
            long[] testTimes = { 1000L, 1500000000000L, System.currentTimeMillis() };
            byte[] buffer = new byte[8];
    
            for (long time : testTimes) {
    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