- Sort Score
- Num 10 results
- Language All
Results 651 - 660 of 4,434 for returned (0.05 seconds)
-
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
} return true; } } } return false; } // Views @Override Set<E> createElementSet() { Set<E> delegate = countMap.keySet(); return new ForwardingSet<E>() { @Override protected Set<E> delegate() { return delegate; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
// Run these together. fakePool.runAll(); // Check that this thread has been marked as interrupted again now that the thread has been // returned by SequentialExecutor. Clear the bit while checking so that the test doesn't hose // JUnit or some other test case. assertThat(Thread.interrupted()).isTrue(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 10.5K bytes - Click Count (0) -
docs/contribute/concurrency.md
#### Blocking APIs Blocking APIs are convenient because you get top-to-bottom procedural code without indirection. Network calls work like regular method calls: ask for data and it is returned. If the request fails, you get a stacktrace right where the call was made.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:35:36 GMT 2022 - 7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
Uninterruptibles.awaitUninterruptibly(latch); } @Override boolean awaitLatchUninterruptibly(long timeout, TimeUnit unit) { return Uninterruptibles.awaitUninterruptibly(latch, timeout, unit); } @Override long getCount() { return latch.getCount(); } } /** Manages a {@link BlockingQueue} and associated timings for a {@code put} call. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
doc/go_mem.html
but only one will run <code>f()</code>, and the other calls block until <code>f()</code> has returned. </p> <p class="rule"> The completion of a single call of <code>f()</code> from <code>once.Do(f)</code> is synchronized before the return of any call of <code>once.Do(f)</code>. </p> <p> In this program: </p> <pre> var a string var once sync.Once
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Aug 05 15:41:37 GMT 2025 - 26.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
} } /** * @return the response */ @Override public ServerMessageBlock getResponse() { return this.response; } /** * Returns a message block that ignores disconnection * @return null */ public CommonServerMessageBlock ignoreDisconnect() { return this; } /** * @param responseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/FarmHashFingerprint64.java
if (length <= 16) { return hashLength0to16(bytes, offset, length); } else { return hashLength17to32(bytes, offset, length); } } else if (length <= 64) { return hashLength33To64(bytes, offset, length); } else { return hashLength65Plus(bytes, offset, length); } } private static long shiftMix(long val) { return val ^ (val >>> 47); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
fun evictAll() { cache.evictAll() } /** * Returns an iterator over the URLs in this cache. This iterator doesn't throw * `ConcurrentModificationException`, but if new responses are added while iterating, their URLs * will not be returned. If existing responses are evicted during iteration, they will be absent * (unless they were already returned). *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 26.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
Collector<Range<E>, ?, ImmutableRangeSet<E>> toImmutableRangeSet() { return CollectCollectors.toImmutableRangeSet(); } /** * Returns an empty immutable range set. * * <p><b>Performance note:</b> the instance returned is a singleton. */ @SuppressWarnings("unchecked") public static <C extends Comparable> ImmutableRangeSet<C> of() { return (ImmutableRangeSet<C>) EMPTY; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.5K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graphs.java
if (!graph.isDirected()) { return graph; // the transpose of an undirected graph is an identical graph } if (graph instanceof TransposedGraph) { return ((TransposedGraph<N>) graph).graph; } return new TransposedGraph<>(graph); } /** * Returns a view of {@code graph} with the direction (if any) of every edge reversed. All other
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 24.4K bytes - Click Count (0)