- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for currentTimeMillis (0.37 sec)
-
src/main/java/jcifs/smb1/smb1/Dfs.java
static class CacheEntry { long expiration; HashMap map; CacheEntry(long ttl) { if (ttl == 0) ttl = Dfs.TTL; expiration = System.currentTimeMillis() + ttl * 1000L; map = new HashMap(); } } static LogStream log = LogStream.getInstance();
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/tests/RandomAccessFileTest.java
log.debug("Read " + length + " took " + ( System.currentTimeMillis() - start )); } /** * @param bufSize * @param length * @param os * @throws IOException */ static void writeRandom ( int bufSize, long length, DataOutput os ) throws IOException { long start = System.currentTimeMillis(); byte buffer[] = new byte[bufSize]; long p = 0;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/ReadWriteTest.java
} log.debug("Read " + length + " took " + ( System.currentTimeMillis() - start )); } /** * @param bufSize * @param length * @param os * @throws IOException */ static void writeRandom ( int bufSize, long length, OutputStream os ) throws IOException { long start = System.currentTimeMillis(); byte buffer[] = new byte[bufSize]; long p = 0;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
return; } long expiration = -1; if ( this.transportContext.getConfig().getNetbiosCachePolicy() != SmbConstants.FOREVER ) { expiration = System.currentTimeMillis() + this.transportContext.getConfig().getNetbiosCachePolicy() * 1000; } cacheAddress(hostName, addr, expiration); }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Aug 14 14:26:22 GMT 2022 - 38.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
try ( SmbResource f = getDefaultShareRoot() ) { f.getDiskFreeSpace(); } } public void assertCloseTime ( long timeMs ) { if ( timeMs - System.currentTimeMillis() > 5 * 60 * 1000L ) { assertTrue("Time is not within 30s, check clocks " + new Date(timeMs), false); } } @Test
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
long timeout = RESPONSE_TIMEOUT; resp.expiration = System.currentTimeMillis() + timeout; while( resp.hasMoreElements() ) { wait( timeout ); timeout = resp.expiration - System.currentTimeMillis(); if (timeout <= 0) {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 31.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
this.lastAccess = info.getLastAccessTime(); this.attrExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout(); } else if ( info instanceof FileStandardInfo ) { this.size = info.getSize(); this.sizeExpiration = System.currentTimeMillis() + th.getConfig().getAttributeCacheTimeout(); } return info; }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 81.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
private static class CacheEntry <T> { long expiration; Map<String, T> map; CacheEntry ( long ttl ) { this.expiration = System.currentTimeMillis() + ttl * 1000L; this.map = new ConcurrentHashMap<>(); } } private static class NegativeCacheEntry <T> extends CacheEntry<T> { /** * @param ttl */
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:07:29 GMT 2023 - 29.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 3.4K bytes - Viewed (0)