- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 64 for currentTimeMillis (0.22 sec)
-
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
import okhttp3.dnsoverhttps.DohProviders.providers import org.conscrypt.OpenSSLProvider private fun runBatch( dnsProviders: List<DnsOverHttps>, names: List<String>, ) { var time = System.currentTimeMillis() for (dns in dnsProviders) { println("Testing ${dns.url}") for (host in names) { print("$host: ") System.out.flush() try { val results = dns.lookup(host)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.2K 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/main/java/org/codelibs/core/timer/TimeoutTask.java
this.timeoutMillis = timeout * 1000L; this.permanent = permanent; this.startTime = System.currentTimeMillis(); } /** * 期限切れかどうかを返します。 * * @return 期限切れかどうか */ public boolean isExpired() { return System.currentTimeMillis() >= startTime + timeoutMillis; } /** * 永続的かどうかを返します。 * * @return 永続的かどうか */
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
val realChain = chain as RealInterceptorChain val exchange = realChain.exchange!! val request = realChain.request val requestBody = request.body val sentRequestMillis = System.currentTimeMillis() var invokeStartEvent = true var responseBuilder: Response.Builder? = null var sendRequestException: IOException? = null try { exchange.writeRequestHeaders(request)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.3K bytes - Viewed (1) -
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) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy
releasedVersionsFile.text == expectedFileContent } ReleasedVersion releasedVersion(String version, long date = System.currentTimeMillis()) { new ReleasedVersion(version, format.format(new Date(date))) } ReleasedVersion snapshot(String baseVersion, long date = System.currentTimeMillis()) { releasedVersion("${baseVersion}-${format.format(new Date(date))}", date) }
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Aug 17 08:32:56 GMT 2021 - 2.4K 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/org/codelibs/core/lang/SystemUtil.java
/** * <code>user.home</code> システムプロパティ。 */ public static final String USER_HOME = System.getProperty("user.home"); public static long currentTimeMillis() { // TODO provider return System.currentTimeMillis(); }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.2K bytes - Viewed (0)