- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 212 for peak (0.03 sec)
-
android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
public boolean remove(Object object) { assertTrue(Thread.holdsLock(mutex)); return delegate.remove(object); } @Override public @Nullable E peek() { assertTrue(Thread.holdsLock(mutex)); return delegate.peek(); } @Override public E element() { assertTrue(Thread.holdsLock(mutex)); return delegate.element(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 20:50:58 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedMultisets.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.Multiset.Entry; import com.google.j2objc.annotations.Weak; import java.util.Comparator; import java.util.Iterator; import java.util.NavigableSet; import java.util.NoSuchElementException; import java.util.SortedSet; import javax.annotation.CheckForNull;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractIterator.java
* contract of {@link PeekingIterator#peek()}. * * <p>Implementations of {@code AbstractIterator} that wish to expose this functionality should * implement {@code PeekingIterator}. */ @ParametricNullness public final T peek() { if (!hasNext()) { throw new NoSuchElementException(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Mar 18 02:04:10 UTC 2022 - 6.4K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/Dispatcher.kt
* limitations under the License. */ package okhttp3.mockwebserver abstract class Dispatcher { @Throws(InterruptedException::class) abstract fun dispatch(request: RecordedRequest): MockResponse open fun peek(): MockResponse { return MockResponse().apply { this.socketPolicy = SocketPolicy.KEEP_OPEN } } open fun shutdown() {}
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Oct 18 12:55:43 UTC 2020 - 909 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertEquals(3, (int) mmHeap.pollLast()); assertEquals(1, (int) mmHeap.peek()); assertEquals(2, (int) mmHeap.peekLast()); assertEquals(2, (int) mmHeap.pollLast()); assertEquals(1, (int) mmHeap.peek()); assertEquals(1, (int) mmHeap.peekLast()); assertEquals(1, (int) mmHeap.pollLast()); assertNull(mmHeap.peek()); assertNull(mmHeap.peekLast()); assertNull(mmHeap.pollLast()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/InternersTest.java
} public void testWeak_builder() { int concurrencyLevel = 42; Interner<Object> interner = Interners.newBuilder().weak().concurrencyLevel(concurrencyLevel).build(); InternerImpl<Object> internerImpl = (InternerImpl<Object>) interner; assertEquals(Strength.WEAK, internerImpl.map.keyStrength()); assertEquals(concurrencyLevel, internerImpl.map.concurrencyLevel); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
public boolean remove(Object object) { assertTrue(Thread.holdsLock(mutex)); return delegate.remove(object); } @Override public @Nullable E peek() { assertTrue(Thread.holdsLock(mutex)); return delegate.peek(); } @Override public E element() { assertTrue(Thread.holdsLock(mutex)); return delegate.element(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 20:50:58 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredMultimapValues.java
import com.google.common.annotations.GwtCompatible; import com.google.common.base.Objects; import com.google.common.base.Predicate; import com.google.common.base.Predicates; import com.google.j2objc.annotations.Weak; import java.util.AbstractCollection; import java.util.Collection; import java.util.Iterator; import java.util.Map.Entry; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/FinalizableWeakReference.java
import com.google.common.annotations.J2ktIncompatible; import java.lang.ref.ReferenceQueue; import java.lang.ref.WeakReference; import javax.annotation.CheckForNull; /** * Weak reference with a {@code finalizeReferent()} method which a background thread invokes after * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link * ReferenceQueue}. * * @author Bob Lee
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 15:09:35 UTC 2023 - 1.6K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableWeakReference.java
import com.google.common.annotations.J2ktIncompatible; import java.lang.ref.ReferenceQueue; import java.lang.ref.WeakReference; import javax.annotation.CheckForNull; /** * Weak reference with a {@code finalizeReferent()} method which a background thread invokes after * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link * ReferenceQueue}. * * @author Bob Lee
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 15:09:35 UTC 2023 - 1.6K bytes - Viewed (0)