- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 301 for _gwt (0.01 seconds)
-
guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
import junit.framework.AssertionFailedError; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */ @GwtCompatible @NullMarked final class ReflectionFreeAssertThrows { interface ThrowingRunnable { void run() throws Throwable; } interface ThrowingSupplier {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumMap.java
* limitations under the License. */ 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> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Hashing.java
* @author Kevin Bourrillion * @author Jesse Wilson * @author Austin Appleby */ @GwtCompatible final class Hashing { private Hashing() {} /* * These should be ints, but we need to use longs to force GWT to do the multiplications with * enough precision. */ private static final long C1 = 0xcc9e2d51; private static final long C2 = 0x1b873593; /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.5K bytes - Click Count (0) -
futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java
* this optimization, so there is no need to specialize methods to return or accept this type * instead of {@code ListenableFuture}. * * <p>This class is GWT-compatible. * * @since {@code com.google.guava:failureaccess:1.0}, which was added as a dependency of Guava in * Guava 27.0 */ public abstract class InternalFutureFailureAccess {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 2.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapMakerTest.java
MapMaker maker = new MapMaker(); assertThrows(IllegalArgumentException.class, () -> maker.initialCapacity(-1)); } // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation) public void xtestInitialCapacity_setTwice() { MapMaker maker = new MapMaker().initialCapacity(16); try { // even to the same value is not allowed maker.initialCapacity(16); fail();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
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 { pseudoTimedGetUninterruptibly(future, 10, MILLISECONDS); fail();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.7K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/bug_report.yaml
- type: dropdown attributes: label: Platforms description: If this issue is platform-specific, then please select the relevant platforms. multiple: true options: - Android - GWT - Java 8 - Java 11 - Java 17 - Java 21 - type: checkboxes attributes: label: Checklist options: - label: > I agree to follow theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 16 20:08:25 GMT 2024 - 2.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
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 { pseudoTimedGetUninterruptibly(future, 10, MILLISECONDS); fail();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.7K bytes - Click Count (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")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 1.7K bytes - Click Count (0) -
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")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 1.7K bytes - Click Count (0)