- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 33 for currentTimeMillis (0.2 sec)
-
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 May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpFilter.java
if ( domain == null ) { throw new ServletException("A domain was not specified"); } long now = System.currentTimeMillis(); int retry = 1; do { if ( this.dcListExpiration < now ) { Address[] list = getTransportContext().getNameServiceClient().getNbtAllByName(domain, 0x1C, null, null);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 14.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
+ ",path=" + this.path + ",ttl=" + this.ttl + ",expiration=" + this.expiration + ",remain=" + ( this.expiration - System.currentTimeMillis() ) + "]"; } /** * @return the ttl */ public long getTtl () { return this.ttl; } /** * {@inheritDoc} *
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Nov 13 15:13:49 GMT 2021 - 11K 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 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/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/jcifs/util/transport/Transport.java
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);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 01 18:12:21 GMT 2020 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
byte[] clientChallenge) { if (type2 == null || responseKeyNT == null || clientChallenge == null) { return null; } long nanos1601 = (System.currentTimeMillis() + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L; return NtlmPasswordAuthentication.getNTLMv2Response(responseKeyNT, type2.getChallenge(), clientChallenge,
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
try { if ( params.contains(RequestParam.NO_TIMEOUT) ) { this.expiration = -1; } else { this.expiration = System.currentTimeMillis() + this.transportContext.getConfig().getSoTimeout(); } T chainedResponse; try { chainedResponse = sessionSetup(request, response);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 14 17:41:04 GMT 2021 - 49K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
this.transportContext = tc; this.signingEnforced = forceSigning || this.getContext().getConfig().isSigningEnforced(); this.sessionExpiration = System.currentTimeMillis() + tc.getConfig().getSessionTimeout(); this.address = address; this.port = port; this.localAddr = localAddr; this.localPort = localPort; } /**
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Wed Jan 18 23:47:00 GMT 2023 - 67K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
final long current = 1000 * systemHelper.getCurrentTimeAsLocalDateTime().atZone(ZoneId.systemDefault()).toInstant().getEpochSecond(); final long now = System.currentTimeMillis(); assertTrue(now + ">=" + current + " : " + (now - current), now >= current); assertTrue(now - 1000 + "<" + current + " : " + (current - now + 1000), now - 1000 < current); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 18.5K bytes - Viewed (0)