- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for GuardedBy (0.05 sec)
-
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
import static com.google.common.base.Throwables.throwIfUnchecked; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.VisibleForTesting; import com.google.errorprone.annotations.concurrent.GuardedBy; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Deque; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import org.jspecify.annotations.NullMarked;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 01 13:14:50 UTC 2025 - 2.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TearDownStack.java
import static com.google.common.base.Throwables.throwIfUnchecked; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.VisibleForTesting; import com.google.errorprone.annotations.concurrent.GuardedBy; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Deque; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import org.jspecify.annotations.NullMarked;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 01 13:14:50 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
* one of three states: * - Active: shutdown == false * - Shutdown: runningTasks > 0 and shutdown == true * - Terminated: runningTasks == 0 and shutdown == true */ @GuardedBy("lock") private int runningTasks = 0; @GuardedBy("lock") private boolean shutdown = false; @Override public void execute(Runnable command) { startTask(); try { command.run(); } finally {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 16 14:23:59 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
*/ package com.google.common.util.concurrent; import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertThrows; import com.google.errorprone.annotations.concurrent.GuardedBy; import java.lang.reflect.Method; import java.net.URLClassLoader; import java.util.HashMap; import java.util.Map; import java.util.concurrent.CancellationException; import java.util.concurrent.Executor;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
oldValueRef.clear(); assertFalse(segment.remove(key, hash, oldValue)); assertEquals(0, segment.count); assertThat(segment.get(key, hash)).isNull(); } @SuppressWarnings("GuardedBy") public void testExpand() { MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1)); Segment<Object, Object, ?, ?> segment = map.segments[0];
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 35.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
oldValueRef.clear(); assertFalse(segment.remove(key, hash, oldValue)); assertEquals(0, segment.count); assertThat(segment.get(key, hash)).isNull(); } @SuppressWarnings("GuardedBy") public void testExpand() { MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1)); Segment<Object, Object, ?, ?> segment = map.segments[0];
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 35.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * @author Charles Fry */ @SuppressWarnings("GuardedBy") // TODO(b/35466881): Fix or suppress. @NullUnmarked public class LocalCacheTest extends TestCase { @AndroidIncompatible private static class TestStringCacheGenerator extends TestStringMapGenerator {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 115.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * @author Charles Fry */ @SuppressWarnings("GuardedBy") // TODO(b/35466881): Fix or suppress. @NullUnmarked public class LocalCacheTest extends TestCase { @AndroidIncompatible private static class TestStringCacheGenerator extends TestStringMapGenerator {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 117.5K bytes - Viewed (0)