- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for currentTimeMillis (0.22 sec)
-
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
encrypted = false; value = System.currentTimeMillis() / 1000 + "\nrole1"; roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted); assertEquals(1, roleSet.size()); assertTrue(roleSet.contains("role1")); encrypted = false; value = System.currentTimeMillis() / 1000 + "\nrole1,role2";
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 14.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
System.out.println("ArrayMap.put:" + (System.currentTimeMillis() - start)); start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { hmap.get(String.valueOf(i)); } System.out.println("HashMap.get:" + (System.currentTimeMillis() - start)); start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { amap.get(String.valueOf(i));
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 10.7K bytes - Viewed (0) -
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/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/test/java/jcifs/tests/TimeoutTest.java
int port = ss.getLocalPort(); InetAddress addr = ss.getInetAddress(); long start = System.currentTimeMillis(); CIFSContext ctx = lowConnectTimeout(getContext()); try ( SmbResource f = new SmbFile(
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 12.4K 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/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/main/java/jcifs/smb1/netbios/NameServiceClient.java
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 17.4K bytes - Viewed (0)