- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 174 for currentTimeMillis (0.25 seconds)
-
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
TestLocking t = new TestLocking(); // Initial value assertEquals(0L, t.ltime, "ltime should start at 0"); // Set new value long currentTime = System.currentTimeMillis(); t.ltime = currentTime; assertEquals(currentTime, t.ltime, "ltime should be mutable"); } @Test @DisplayName("TestLocking implements Runnable")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.8K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Transport.java
final long k = makeKey(curReq); if (firstKey == 0) { firstKey = k; } if (timeout > 0) { curResp.setExpiration(System.currentTimeMillis() + timeout); } else { curResp.setExpiration(null); } curResp.setMid(k); this.response_map.put(k, curResp);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 27.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
*/ private String generateRegistrationId(byte[] contextHandle, String shareName) { if (contextHandle == null || contextHandle.length == 0) { return "WITNESS-" + System.currentTimeMillis() + "-" + shareName.hashCode(); } // Use context handle bytes to create a unique ID StringBuilder sb = new StringBuilder("WITNESS-");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 12.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
+ this.link + ",path=" + this.path + ",ttl=" + this.ttl + ",expiration=" + this.expiration + ",remain=" + (this.expiration - System.currentTimeMillis()) + "]"; } /** * Get the time to live for this referral * * @return the ttl */ public long getTtl() { return this.ttl; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
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) { SMBUtil.writeTime(time, buffer, 0); long readTime = SMBUtil.readTime(buffer, 0);
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) -
src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java
this.lastModified = synonymLoader.getLastModified(); } else { this.synonymLoader = null; this.lastModified = System.currentTimeMillis(); } synonymMap = synonymLoader.getSynonymMap(); if (synonymMap != null && synonymMap.fst == null) { this.synonymMap = null; } } else {
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 15 06:51:20 GMT 2025 - 17K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java
return badWordList; } } private static class MockSystemHelper extends SystemHelper { @Override public long getCurrentTimeAsLong() { return System.currentTimeMillis(); } @Override public boolean calibrateCpuLoad() { return true; } } private static class MockPopularWordHelper extends PopularWordHelper {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16.3K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
private MessageBuilder builder() { return messageBuilderFactory.builder(); } private void logStats(MavenSession session) { infoLine('-'); long finish = System.currentTimeMillis(); long time = finish - session.getRequest().getStartTime().getTime(); String wallClock = session.getRequest().getDegreeOfConcurrency() > 1 ? " (Wall Clock)" : "";Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 17.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
@Test @DisplayName("Should manage expiration time") void testExpiration() { assertNull(echoResponse.getExpiration()); Long expiration = System.currentTimeMillis() + 10000L; echoResponse.setExpiration(expiration); assertEquals(expiration, echoResponse.getExpiration()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0)