- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 64 for currentTimeMillis (0.21 sec)
-
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 May 05 00:10:10 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 May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 9K 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 May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:07:29 GMT 2023 - 29.1K 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 May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 81.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/UuidUtil.java
* * @return UUIDの文字列 */ public static String create() { final StringBuilder buf = new StringBuilder(BASE.length() * 2); buf.append(BASE); final int lowTime = (int) (System.currentTimeMillis() >> 32); StringUtil.appendHex(buf, lowTime); StringUtil.appendHex(buf, RANDOM.nextInt()); return buf.toString(); } private static byte[] getAddress() { try {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
* [setCookie] is not a well-formed cookie. */ @JvmStatic fun parse( url: HttpUrl, setCookie: String, ): Cookie? = parse(System.currentTimeMillis(), url, setCookie) internal fun parse( currentTimeMillis: Long, url: HttpUrl, setCookie: String, ): Cookie? { val cookiePairEnd = setCookie.delimiterOffset(';')
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
@Throws(IOException::class) override fun intercept(chain: Interceptor.Chain): Response { val call = chain.call() val cacheCandidate = cache?.get(chain.request().requestForCache()) val now = System.currentTimeMillis() val strategy = CacheStrategy.Factory(now, chain.request(), cacheCandidate).compute() val networkRequest = strategy.networkRequest val cacheResponse = strategy.cacheResponse
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Mar 22 07:09:21 GMT 2024 - 10.2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java
this.repositoryUrl = repositoryUrl + '/'; } else { this.repositoryUrl = repositoryUrl; } this.resource = resource; this.transferStartTime = System.currentTimeMillis(); } public String getRepositoryUrl() { return repositoryUrl; } public String getName() { String name = resource.getName(); if (name == null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 2.2K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java
String content = expectedContent.get(resource.getName()); if (content != null) { resource.setContentLength(content.length()); resource.setLastModified(System.currentTimeMillis()); inputData.setInputStream(new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8))); } else {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 17.4K bytes - Viewed (0)