- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 89 for emulator (0.04 sec)
-
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Uninterruptibles.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import org.jspecify.annotations.Nullable; /** Emulation of Uninterruptibles in GWT. */ public final class Uninterruptibles { private Uninterruptibles() {} @CanIgnoreReturnValue public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java
* limitations under the License. */ package com.google.common.collect; import java.util.Collection; import java.util.List; import org.jspecify.annotations.Nullable; /** * GWT emulated version of {@link ImmutableList}. TODO(cpovirk): more doc * * @author Hayward Chan */ abstract class ForwardingImmutableList<E> extends ImmutableList<E> { ForwardingImmutableList() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Platform.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /** Methods factored out so that they can be emulated differently in GWT. */ @GwtCompatible final class Platform { static boolean isInstanceOfThrowableClass( @Nullable Throwable t, Class<? extends Throwable> expectedClass) { return expectedClass.isInstance(t);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java
* Assigns a thread to the given {@link Future} to provide {@link ListenableFuture} functionality. * * <p><b>Warning:</b> If the input future does not already implement {@code ListenableFuture}, the * returned future will emulate {@link ListenableFuture#addListener} by taking a thread from an * internal, unbounded pool at the first call to {@code addListener} and holding it until the * future is {@linkplain Future#isDone() done}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/MapMaker.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; /** * MapMaker emulation. * * @author Charles Fry */ public final class MapMaker { private int initialCapacity = 16; public MapMaker() {} @CanIgnoreReturnValue public MapMaker initialCapacity(int initialCapacity) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumMap.java
*/ package com.google.common.collect; import static com.google.common.base.Preconditions.checkNotNull; import java.util.Map; import java.util.Map.Entry; /** * GWT emulation of {@link ImmutableEnumMap}. The type parameter is not bounded by {@code Enum<E>} * to avoid code-size bloat. * * @author Hayward Chan */ final class ImmutableEnumMap<K, V> extends ForwardingImmutableMap<K, V> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/Platform.java
import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import org.jspecify.annotations.NullMarked; /** * Methods factored out so that they can be emulated differently in GWT. * * @author Chris Povirk */ @GwtCompatible @NullMarked final class Platform { /** Serializes and deserializes the specified object. */ @SuppressWarnings("unchecked")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 1.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableBiMap.java
package com.google.common.collect; import static com.google.common.base.Preconditions.checkNotNull; import static java.util.Collections.singletonMap; import org.jspecify.annotations.Nullable; /** * GWT emulation of {@link SingletonImmutableBiMap}. * * @author Hayward Chan */ final class SingletonImmutableBiMap<K, V> extends ImmutableBiMap<K, V> { private final K singleKey; private final V singleValue;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 22:23:20 UTC 2025 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.TimeoutException; import org.jspecify.annotations.Nullable; /** Methods factored out so that they can be emulated differently in GWT. */ @GwtCompatible final class TestPlatform { static void verifyGetOnPendingFuture(Future<?> future) { checkNotNull(future); try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/DirectExecutorService.java
import java.util.List; import java.util.concurrent.RejectedExecutionException; import java.util.concurrent.TimeUnit; /** See newDirectExecutorService javadoc for behavioral notes. */ @J2ktIncompatible // Emulated @GwtIncompatible final class DirectExecutorService extends AbstractListeningExecutorService { /** Lock used whenever accessing the state variables (runningTasks, shutdown) of the executor */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 3.5K bytes - Viewed (0)