- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for isCall (0.34 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
assertThat(future.isDone()).isFalse(); assertThat(future.tryInternalFastPathGetFailure()).isNull(); } public void testTrustedGetFailure_CanceledNoCause() { SettableFuture<String> future = SettableFuture.create(); future.cancel(false); assertThat(future.tryInternalFastPathGetFailure()).isNull(); } public void testGetFailure_Completed() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 46.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(urls.get(0).getAuthority()).isNull(); assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar"); assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar")); assertThat(urls.get(2).getProtocol()).isEqualTo("file"); assertThat(urls.get(2).getAuthority()).isNull();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Apr 26 14:02:27 UTC 2024 - 24.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* SHORT is always discriminable from zero time, and always allows enough time for the small * amounts of computation (creating a thread, calling a few methods, etc) needed to reach a * timeout point. Similarly, a SMALL is always discriminable as larger than SHORT and smaller * than MEDIUM. And so on. These constants are set to conservative values, but even so, if
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 37.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
* * @author Osvaldo Doederlein */ public class ToStringHelperBenchmark { @Param({"0", "1", "5"}) int dataSize; @Param({"false", "true"}) boolean omitNulls; enum Dataset { SMALL { @Override void addEntries(MoreObjects.ToStringHelper helper) { helper .add(SHORT_NAME, 10) .addValue(10L) .add(SHORT_NAME, 3.14f) .addValue(3.14d)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
int threshold; /** The per-segment table. */ @CheckForNull volatile AtomicReferenceArray<E> table; /** * A counter of the number of reads since the last write, used to drain queues on a small * fraction of read operations. */ final AtomicInteger readCount = new AtomicInteger(); Segment(MapMakerInternalMap<K, V, E, S> map, int initialCapacity) { this.map = map;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 90.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Sets.java
* using a {@code LinkedHashSet} instead, at the cost of increased memory footprint, to get * deterministic iteration behavior. * * <p>This method is just a small convenience, either for {@code newHashSet(}{@link Arrays#asList * asList}{@code (...))}, or for creating an empty set then calling {@link Collections#addAll}.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 78.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
// Timed Get // There are a few design constraints to consider // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I // have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the // timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 63.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFuture.java
// Timed Get // There are a few design constraints to consider // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I // have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the // timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 62.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
} public void testImmediateVoidFuture() throws Exception { ListenableFuture<@Nullable Void> voidFuture = immediateVoidFuture(); assertThat(getDone(voidFuture)).isNull(); assertThat(getDoneFromTimeoutOverload(voidFuture)).isNull(); assertThat(voidFuture.toString()).contains("[status=SUCCESS, result=[null]]"); } public void testImmediateFailedFuture() throws Exception {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 144.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
} public void testImmediateVoidFuture() throws Exception { ListenableFuture<@Nullable Void> voidFuture = immediateVoidFuture(); assertThat(getDone(voidFuture)).isNull(); assertThat(getDoneFromTimeoutOverload(voidFuture)).isNull(); assertThat(voidFuture.toString()).contains("[status=SUCCESS, result=[null]]"); } public void testImmediateFailedFuture() throws Exception {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 144.1K bytes - Viewed (0)