- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for maxOffset (0.04 sec)
-
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) -
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) -
src/archive/zip/struct.go
func timeZone(offset time.Duration) *time.Location { const ( minOffset = -12 * time.Hour // E.g., Baker island at -12:00 maxOffset = +14 * time.Hour // E.g., Line island at +14:00 offsetAlias = 15 * time.Minute // E.g., Nepal at +5:45 ) offset = offset.Round(offsetAlias) if offset < minOffset || maxOffset < offset { offset = 0 } return time.FixedZone("", int(offset/time.Second)) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue May 28 21:41:09 UTC 2024 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0)