- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 634 for timers (0.05 seconds)
-
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
.isEqualTo(new FreshValueGenerator().generateFresh(String.class)); } public void testFreshCurrency() { FreshValueGenerator generator = new FreshValueGenerator(); // repeat a few times to make sure we don't stumble upon a bad Locale assertThat(generator.generateFresh(Currency.class)).isNotNull(); assertThat(generator.generateFresh(Currency.class)).isNotNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 17.4K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java
/** * Sets the number of occurrences of {@code element} to {@code newCount}, but only if the count * is currently {@code oldCount}. If {@code element} does not appear in the multiset exactly * {@code oldCount} times, no changes will be made. * * @return {@code true} if the change was successful. This usually indicates that the multiset * has been modified, but not always: in the case that {@code oldCount == newCount}, theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 16.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
* enough. Consider, for example, the case where we have a buffer of size (n+1), add n * distinct elements, and add the last element over again many times over. We don't want a * situation where we re-sort the entire buffer every time the last element is re-added. * * <p>The solution is to ensure there are O(n) spaces left over in the buffer after
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.1K bytes - Click Count (0) -
cmd/iam.go
} if parentUser == "" { return auth.Credentials{}, time.Time{}, errInvalidArgument } if len(opts.accessKey) > 0 && len(opts.secretKey) == 0 { return auth.Credentials{}, time.Time{}, auth.ErrNoSecretKeyWithAccessKey } if len(opts.secretKey) > 0 && len(opts.accessKey) == 0 { return auth.Credentials{}, time.Time{}, auth.ErrNoAccessKeyWithSecretKey }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 76.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
private val useCompression: Boolean = true, private val out: Buffer, ) { /** * In the scenario where the dynamic table size changes multiple times between transmission of * header blocks, we need to keep track of the smallest value in that interval. */ private var smallestHeaderTableSizeSetting = Integer.MAX_VALUECreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 23.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
.build() // Stalling the socket will cause TWO requests to time out! server.enqueue(MockResponse.Builder().onRequestStart(Stall).build()) // The 3rd request should be sent to a fresh connection. server.enqueue( MockResponse(body = "fresh connection"), ) // The first call times out. val call1 = client.newCall(Request(server.url("/")))
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
.isEqualTo(new FreshValueGenerator().generateFresh(String.class)); } public void testFreshCurrency() { FreshValueGenerator generator = new FreshValueGenerator(); // repeat a few times to make sure we don't stumble upon a bad Locale assertThat(generator.generateFresh(Currency.class)).isNotNull(); assertThat(generator.generateFresh(Currency.class)).isNotNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 18.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt
* share the same connection without sharing the same hostname. */ private var noCoalescedConnections = false /** * The number of times there was a problem establishing a stream that could be due to route * chosen. Guarded by this. */ internal var routeFailureCount = 0 private var successCount = 0 private var refusedStreamCount = 0
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 14.6K bytes - Click Count (0) -
internal/ioutil/ioutil.go
type DeadlineWriter struct { io.WriteCloser timeout time.Duration err error } // NewDeadlineWriter wraps a writer to make it respect given deadline // value per Write(). If there is a blocking write, the returned Writer // will return whenever the timer hits (the return values are n=0 // and err=context.DeadlineExceeded.) func NewDeadlineWriter(w io.WriteCloser, timeout time.Duration) io.WriteCloser {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/context/BaseContextTest.java
} } @Test @DisplayName("Context components should maintain consistent state") void testComponentStateConsistency() { // When - get components multiple times Configuration config1 = context.getConfig(); Configuration config2 = context.getConfig(); DfsResolver dfs1 = context.getDfs(); DfsResolver dfs2 = context.getDfs();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 15.1K bytes - Click Count (0)