- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for 3600000 (0.02 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
when(mockFile1.lastModified()).thenReturn(System.currentTimeMillis() - 3600000); when(mockFile1.isDirectory()).thenReturn(false); when(mockFile1.getAttributes()).thenReturn(0x20); // FILE_ATTRIBUTE_ARCHIVE when(mockFile1.createTime()).thenReturn(System.currentTimeMillis() - 7200000); when(mockFile1.lastAccess()).thenReturn(System.currentTimeMillis() - 1800000); when(mockFile2.getName()).thenReturn("subfolder");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
} } // Test getTimeAdjustTimeMillisAsLong values public void test_getTimeAdjustTimeMillisAsLong_values() { Long[] testValues = { 0L, 1L, -1L, 1000L, -1000L, 60000L, -60000L, 3600000L, -3600000L, Long.MAX_VALUE, Long.MIN_VALUE }; for (Long value : testValues) { FessConfig testConfig = new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
} else { // t not in DST so subtract 1 hour t -= 3600000; } } else // not in DST if (cfg.getLocalTimezone().inDaylightTime(new Date(t))) { // t is in DST so add 1 hour t += 3600000; } else { // t isn't in DST either }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
.thenReturn(false); // test time SMB1SigningDigest.writeUTime(mockConfig, testTime, dst, 0); expectedSeconds = (int) ((testTime - 3600000) / 1000L); actualSeconds = SMBUtil.readInt4(dst, 0); assertEquals(expectedSeconds, actualSeconds); } @Test @DisplayName("Test writeUTime when not in DST")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
} else { // t not in DST so subtract 1 hour t -= 3600000; } } else // not in DST if (TZ.inDaylightTime(new Date(t))) { // t is in DST so add 1 hour t += 3600000; } else { // t isn't in DST either } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// System time SMBUtil.writeTime(System.currentTimeMillis(), buffer, offset + 40); // Server start time SMBUtil.writeTime(System.currentTimeMillis() - 3600000, buffer, offset + 48); // Security buffer offset and length SMBUtil.writeInt2(128, buffer, offset + 56); // Offset SMBUtil.writeInt2(0, buffer, offset + 58); // Length
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
assertDoesNotThrow(() -> InputValidator.validateTimeout(3600000L, "test")); assertThrows(IllegalArgumentException.class, () -> InputValidator.validateTimeout(-1L, "test")); assertThrows(IllegalArgumentException.class, () -> InputValidator.validateTimeout(3600001L, "test")); } @Test @DisplayName("Test string sanitization for logging")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
when(response.getHeaderStart()).thenReturn(0); // Write FileFsFullSizeInformation data (32 bytes) SMBUtil.writeInt8(1000000, buffer, 20); // Total allocation units SMBUtil.writeInt8(500000, buffer, 28); // Caller available units SMBUtil.writeInt8(600000, buffer, 36); // Actual available units SMBUtil.writeInt4(512, buffer, 44); // Sectors per unit
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
void setUp() { mockConfig = mock(Configuration.class); } @Test void testConstructor() { // Test constructor with positive timezone offset long serverTimeZoneOffset = 3600000L; // 1 hour in milliseconds response = new SmbComQueryInformationResponse(mockConfig, serverTimeZoneOffset); assertNotNull(response);
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/main/java/jcifs/http/NetworkExplorer.java
int n; String name; final Properties p = new Properties(); p.putAll(System.getProperties()); p.setProperty("jcifs.smb.client.soTimeout", "600000"); p.setProperty("jcifs.smb.client.attrExpirationPeriod", "300000"); final Enumeration<String> e = getInitParameterNames(); while (e.hasMoreElements()) { name = e.nextElement();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0)