- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 64 for currentTimeMillis (0.21 sec)
-
src/main/java/jcifs/smb1/netbios/NbtAddress.java
if( CACHE_POLICY == 0 ) { return; } long expiration = -1; if( CACHE_POLICY != FOREVER ) { expiration = System.currentTimeMillis() + CACHE_POLICY * 1000; } cacheAddress( hostName, addr, expiration ); } static void cacheAddress( Name hostName, NbtAddress addr, long expiration ) { if( CACHE_POLICY == 0 ) {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 30.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
@Override File createTempDir() { File baseDir = new File(JAVA_IO_TMPDIR.value()); @SuppressWarnings("GoodTime") // reading system time without TimeSource String baseName = System.currentTimeMillis() + "-"; for (int counter = 0; counter < TEMP_DIR_ATTEMPTS; counter++) { File tempDir = new File(baseDir, baseName + counter); if (tempDir.mkdir()) { return tempDir; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 12.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
* successive readings of "now" in the same process. * * <p>In contrast, <i>wall time</i> is a reading of "now" as given by a method like * {@link System#currentTimeMillis()}, best represented as an {@link java.time.Instant}. Such values * <i>can</i> be subtracted to obtain a {@code Duration} (such as by {@code Duration.between}), but
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 9.2K 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 Apr 28 00:10:09 GMT 2024 - Last Modified: Sat Nov 13 15:13:49 GMT 2021 - 11K 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 Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 14.8K 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 Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Nov 14 17:41:04 GMT 2021 - 49K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
if (!downloaded) { // prevent additional checks of this artifact until it expires again destination.setLastModified(System.currentTimeMillis()); } } catch (UnsupportedOperationException e) { // older wagons throw this. Just get() instead
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Sep 14 11:48:15 GMT 2023 - 29.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
} public Date getCurrentTime() { return new Date(getCurrentTimeAsLong()); } public long getCurrentTimeAsLong() { return System.currentTimeMillis(); } public LocalDateTime getCurrentTimeAsLocalDateTime() { final Instant instant = Instant.ofEpochMilli(getCurrentTimeAsLong());
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Sat Apr 13 11:43:03 GMT 2024 - 26.5K bytes - Viewed (1) -
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 Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
byte[] ntlmClientChallenge = new byte[8]; tc.getConfig().getRandom().nextBytes(ntlmClientChallenge); long ts = ( System.currentTimeMillis() + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601 ) * 10000; if ( haveTimestamp ) { ts = ( (AvTimestamp) AvPairs.get(avPairs, AvPair.MsvAvTimestamp) ).getTimestamp(); }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Tue Jul 07 12:07:20 GMT 2020 - 30.6K bytes - Viewed (0)