Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testTimeConversionRoundTrip (0.11 seconds)

  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) {
    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