- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 118 for emulator (0.08 seconds)
-
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.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 {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) -
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java
* limitations under the License. */ package com.google.common.collect.testing.testers; import com.google.common.annotations.GwtCompatible; /** * The emulation source used in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { // Use fewer steps in the ListIteratorTester in ListListIteratorTester because it's slow in prod // mode.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.3K bytes - Click Count (0) -
guava-gwt/test-super/com/google/common/util/concurrent/super/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. */ final class TestPlatform { static void verifyGetOnPendingFuture(Future<?> future) { try { future.get(); fail(); } catch (Exception e) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.3K bytes - Click Count (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) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.6K bytes - Click Count (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() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingImmutableSet.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; /** * Unused stub class, unreferenced under Java and manually emulated under GWT. * * @author Chris Povirk */ @GwtCompatible abstract class ForwardingImmutableSet<E> { private ForwardingImmutableSet() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 903 bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingImmutableMap.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; /** * Unused stub class, unreferenced under Java and manually emulated under GWT. * * @author Chris Povirk */ @GwtCompatible abstract class ForwardingImmutableMap<K, V> { private ForwardingImmutableMap() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 906 bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSet.java
* limitations under the License. */ package com.google.common.collect; import java.util.Collections; import java.util.Set; /** * GWT emulation of {@link RegularImmutableSet}. * * @author Hayward Chan */ final class RegularImmutableSet<E> extends ForwardingImmutableSet<E> { static final RegularImmutableSet<Object> EMPTY =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LongAddables.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.cache; /** * GWT emulation for LongAddables. * * @author Louis Wasserman */ final class LongAddables { public static LongAddable create() { return new GwtLongAddable(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 08 14:27:16 GMT 2025 - 1K bytes - Click Count (0)