- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 795 for Calls (0.02 seconds)
-
android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java
import java.util.Comparator; import java.util.Iterator; import java.util.NavigableSet; import org.jspecify.annotations.Nullable; /** * A sorted multiset which forwards all its method calls to another sorted multiset. Subclasses * should override one or more methods to modify the behavior of the backing multiset as desired per * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
* thread immediately fails with the same exception: * * Thread1: calls setException(), which returns true, context switch before it can CAS * seenExceptionsField to its exception * * Thread2: calls setException(), which returns false, CASes seenExceptionsField to itsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
// sanity check on construction of copyOfModifiedSet assertThat(wrappedSet).isEqualTo(copyOfModifiedSet); // setToTest should throw when it calls equals(), or equals is called on it, except for itself assertThat(setToTest).isEqualTo(setToTest); assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.2K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
Reflection.newProxy(Map.class, new CheckSetUpInvocationHandler(map, setUpRan)); return proxy; } } /** * Intercepts calls to a {@code Map} to check that {@code setUpRan} is true when they happen. Then * forwards the calls to the underlying {@code Map}. */ private static class CheckSetUpInvocationHandler implements InvocationHandler, Serializable { private final Map<String, String> map;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
assertTrue(Thread.holdsLock(mutex)); return super.isEmpty(); } /* * We don't assert that the lock is held during calls to iterator(), stream(), and spliterator: * `Synchronized` doesn't guarantee that it will hold the mutex for those calls because callers * are responsible for taking the mutex themselves:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingQueue.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.NoSuchElementException; import java.util.Queue; import org.jspecify.annotations.Nullable; /** * A queue which forwards all its method calls to another queue. Subclasses should override one or * more methods to modify the behavior of the backing queue as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
} /** * Test consistency across multiple calls */ @Test @DisplayName("Test consistency across multiple calls") public void testConsistencyAcrossMultipleCalls() { // Given smbComTreeDisconnect = new SmbComTreeDisconnect(config); byte[] buffer = new byte[100]; // When & Then - multiple calls should return the same result for (int i = 0; i < 10; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
throw new UnsupportedOperationException(); } /** * Not supported. <b>You are attempting to create a set that may contain a non-{@code Comparable} * element.</b> Proper calls will resolve to the version in {@code ImmutableSortedSet}, not this * dummy version. * * @throws UnsupportedOperationException always * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
assertTrue(Thread.holdsLock(mutex)); return super.isEmpty(); } /* * We don't assert that the lock is held during calls to iterator(), stream(), and spliterator: * `Synchronized` doesn't guarantee that it will hold the mutex for those calls because callers * are responsible for taking the mutex themselves:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingBlockingDeque.java
import java.util.Collection; import java.util.concurrent.BlockingDeque; import java.util.concurrent.TimeUnit; import org.jspecify.annotations.Nullable; /** * A {@link BlockingDeque} which forwards all its method calls to another {@code BlockingDeque}. * Subclasses should override one or more methods to modify the behavior of the backing deque as * desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.3K bytes - Click Count (0)