- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 604 for getOs (0.02 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
server.enqueue( MockResponse(body = "This gets leaked."), ) client = clientTestRule .newClientBuilder() .connectionPool(ConnectionPool(0, 10, TimeUnit.MILLISECONDS)) .build() val request = Request(server.url("/")) client.newCall(request).execute() // Ignore the response so it gets leaked then GC'd. awaitGarbageCollection()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 147.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
* listener runs in the thread that completes the {@code ListenableFuture}. * <li>When a listener is attached to a {@code ListenableFuture} and the {@code * ListenableFuture} gets cancelled, the listener runs immediately in the thread that * cancelled the {@code Future}. * </ol> * Given all these possibilities, it is frequently possible for listeners to execute in UIRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
CountDownLatch thirdSignal = new CountDownLatch(1); // tells the main thread when the third get has started CountDownLatch fourthSignal = new CountDownLatch(1); // tells the test when all gets have returned CountDownLatch doneSignal = new CountDownLatch(count); CacheLoader<String, String> computeFunction = new CacheLoader<String, String>() { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 91.1K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
} // Find the lowest power-of-two segmentCount that exceeds concurrencyLevel, unless // maximumSize/Weight is specified in which case ensure that each segment gets at least 10 // entries. The special casing for size-based eviction is only necessary because that eviction // happens per segment instead of globally, so too many segments compared to the maximum sizeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 19:35:11 UTC 2025 - 148.9K bytes - Viewed (0) -
cmd/api-response.go
} // returns "https" if the tls boolean is true, "http" otherwise. func getURLScheme(tls bool) string { if tls { return httpsScheme } return httpScheme } // getObjectLocation gets the fully qualified URL of an object. func getObjectLocation(r *http.Request, domains []string, bucket, object string) string { // unit tests do not have host set. if r.Host == "" { return path.Clean(r.URL.Path) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:05:19 UTC 2025 - 35K bytes - Viewed (0) -
cmd/sts-handlers.go
// Any client can create a certificate with arbitrary key usage settings. // // However, this check ensures that a certificate with an invalid key usage // gets rejected even when we skip certificate verification. This helps // clients detect malformed certificates during testing instead of e.g. // a self-signed certificate that works while a comparable certificate
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 36.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
CountDownLatch thirdSignal = new CountDownLatch(1); // tells the main thread when the third get has started CountDownLatch fourthSignal = new CountDownLatch(1); // tells the test when all gets have returned CountDownLatch doneSignal = new CountDownLatch(count); CacheLoader<String, String> computeFunction = new CacheLoader<String, String>() { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 91.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* may also refer to servers and workgroups. * * @see jcifs.smb.SmbFile for the main implementation of this interface * @author mbechler */ public interface SmbResource extends AutoCloseable { /** * Gets the file locator for this file * * The file locator provides details about * * @return the fileLocator */ SmbResourceLocator getLocator(); /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
val requestBodyDelay = 250L val responseHeadersStartDelay = 250L val responseBodyStartDelay = 250L val responseBodyEndDelay = 250L // Warm up the client so the timing part of the test gets a pooled connection. server.enqueue(MockResponse()) val warmUpCall = client.newCallWithListener( Request .Builder() .url(server.url("/")) .build(),Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
int hashTableBits = Integer.SIZE - Integer.numberOfLeadingZeros(mask); metadata = CompactHashing.maskCombine(metadata, hashTableBits, CompactHashing.HASH_TABLE_BITS_MASK); } /** Gets the hash table mask using the stored number of hash table bits. */ private int hashTableMask() { return (1 << (metadata & CompactHashing.HASH_TABLE_BITS_MASK)) - 1; } void incrementModCount() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 35.7K bytes - Viewed (0)