Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for maxOffset (0.07 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Test with maximum timezone offset
            long maxOffset = 12L * 3600000L; // +12 hours
            response = new SmbComQueryInformationResponse(mockConfig, maxOffset);
    
            long testTime = 1000000000L;
            setFieldValue(response, "lastWriteTime", testTime);
    
            assertEquals(testTime + maxOffset, response.getCreateTime());
            assertEquals(testTime + maxOffset, response.getLastWriteTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            @Test
            @DisplayName("Should create lock with maximum values")
            void testConstructorWithMaxValues() {
                long maxOffset = Long.MAX_VALUE;
                long maxLength = Long.MAX_VALUE;
                int flags = 0xFFFFFFFF;
    
                lock = new Smb2Lock(maxOffset, maxLength, flags);
    
                assertNotNull(lock);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            }
    
            // MAC address
            int macOffset = srcIndex + 1 + (18 * numNames);
            byte[] testMac = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 };
            System.arraycopy(testMac, 0, src, macOffset, 6);
    
            // Statistics
            byte[] stats = { 0x10, 0x11, 0x12, 0x13, 0x14, 0x15 };
            System.arraycopy(stats, 0, src, macOffset + 6, 6);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top