- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 149 for currentTimeMillis (0.21 sec)
-
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
SMBUtil.writeInt4(1, buffer, 4); // fileIndex SMBUtil.writeTime(System.currentTimeMillis(), buffer, 8); // creationTime SMBUtil.writeTime(System.currentTimeMillis(), buffer, 16); // lastAccessTime SMBUtil.writeTime(System.currentTimeMillis(), buffer, 24); // lastWriteTime SMBUtil.writeTime(System.currentTimeMillis(), buffer, 32); // changeTime SMBUtil.writeInt8(1024L, buffer, 40); // endOfFile
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/timer/TimeoutTask.java
this.timeoutMillis = timeout * 1000L; this.permanent = permanent; this.startTime = System.currentTimeMillis(); } /** * Returns whether the task has expired. * * @return whether the task has expired */ public boolean isExpired() { return System.currentTimeMillis() >= startTime + timeoutMillis; } /** * Returns whether the task is permanent. *Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
private boolean shouldAttemptReset() { long timeSinceLastFailure = System.currentTimeMillis() - lastFailureTime.get(); return timeSinceLastFailure >= resetTimeoutMillis; } private void transitionTo(State newState) { State oldState = state.getAndSet(newState); lastStateChangeTime.set(System.currentTimeMillis()); if (oldState != newState) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
// First listing should hit the server long start1 = System.currentTimeMillis(); SmbFile[] files1 = dir.listFiles(); long time1 = System.currentTimeMillis() - start1; // Second listing should use cache (much faster) long start2 = System.currentTimeMillis(); SmbFile[] files2 = dir.listFiles(); long time2 = System.currentTimeMillis() - start2; assertEquals(files1.length, files2.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
private volatile long firstConnectionTime = System.currentTimeMillis(); private volatile long lastActivityTime = System.currentTimeMillis(); void recordConnection() { connectionsCreated.incrementAndGet(); lastActivityTime = System.currentTimeMillis(); } void recordSuccess() { successCount.incrementAndGet();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
import okhttp3.dnsoverhttps.DohProviders.providers import org.conscrypt.OpenSSLProvider private fun runBatch( dnsProviders: List<DnsOverHttps>, names: List<String>, ) { var time = System.currentTimeMillis() for (dns in dnsProviders) { println("Testing ${dns.url}") for (host in names) { print("$host: ") System.out.flush() try { val results = dns.lookup(host)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
try { lastAccessTime = System.currentTimeMillis(); return children.containsKey(name); } finally { lock.readLock().unlock(); } } /** * Check if cache entry is expired * * @return true if expired */ public boolean isExpired() { return System.currentTimeMillis() - lastUpdateTime > maxAge; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (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(); // nowRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/log/LoggerTest.java
public void testPerformance() throws Exception { final int num = 100; long start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { System.out.println("test" + i); } final long sysout = System.currentTimeMillis() - start; start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { logger.fatal("test" + i); }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4.2K bytes - Viewed (0)