- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 174 for currentTimeMillis (0.1 seconds)
-
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
} } @Test void testTimestampConsistency() { long beforeCreation = System.currentTimeMillis(); WitnessNotification newNotification = new WitnessNotification(WitnessEventType.RESOURCE_CHANGE, "TestResource"); long afterCreation = System.currentTimeMillis(); assertTrue(newNotification.getTimestamp() >= beforeCreation);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/JobHelperTest.java
// Mock implementation that doesn't require client entity.setLastUpdated(System.currentTimeMillis()); } @Override public void insert(JobLog entity) { // Mock implementation that doesn't require client entity.setLastUpdated(System.currentTimeMillis()); } @Override public void update(JobLog entity) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
private static final long TEST_CREATE_TIME = System.currentTimeMillis() - 86400000L; // 1 day ago private static final long TEST_LAST_ACCESS_TIME = System.currentTimeMillis() - 43200000L; // 12 hours ago private static final long TEST_LAST_WRITE_TIME = System.currentTimeMillis() - 3600000L; // 1 hour ago private static final long TEST_CHANGE_TIME = System.currentTimeMillis(); // nowCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
*/ public void updateActivity() { this.lastActivityTime = System.currentTimeMillis(); } /** * Get idle time since last activity * * @return idle time in milliseconds */ public long getIdleTime() { return System.currentTimeMillis() - lastActivityTime; } /** * Check if channel is in healthy state *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 10.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
return false; // Persistent handles don't expire } long elapsed = System.currentTimeMillis() - lastAccessTime; return elapsed > timeout; } /** * Update the last access time */ public void updateAccessTime() { this.lastAccessTime = System.currentTimeMillis(); } /** * Get the file path * @return the path */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
assertEquals(newContent, content); } } @Test void testFileDelete() throws Exception { long timestamp = System.currentTimeMillis(); String filename = "delete_" + timestamp + ".txt"; // Create a fresh context for this test to avoid handle conflicts CIFSContext testContext = createFreshContext();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 56K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy
releasedVersionsFile.text == expectedFileContent } ReleasedVersion releasedVersion(String version, long date = System.currentTimeMillis()) { new ReleasedVersion(version, format.format(new Date(date))) } ReleasedVersion snapshot(String baseVersion, long date = System.currentTimeMillis()) { releasedVersion("${baseVersion}-${format.format(new Date(date))}", date) }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 2.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
val realChain = chain as RealInterceptorChain val exchange = realChain.exchange!! val request = realChain.request val requestBody = request.body val sentRequestMillis = System.currentTimeMillis() var invokeStartEvent = true var responseBuilder: Response.Builder? = null var sendRequestException: IOException? = nullCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 7.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
private Trans2SetFileInformation trans2SetFileInformation; private final int fid = 123; private final int attributes = 1; private final long createTime = System.currentTimeMillis(); private final long lastWriteTime = System.currentTimeMillis(); @BeforeEach void setUp() { trans2SetFileInformation = new Trans2SetFileInformation(fid, attributes, createTime, lastWriteTime); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.3K bytes - Click Count (0)