- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 160 for Peek (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/IterablesTest.java
Iterator<Integer> consumingIterator = Iterables.consumingIterable(queue).iterator(); assertEquals(5, queue.peek().intValue()); assertEquals(5, consumingIterator.next().intValue()); assertEquals(14, queue.peek().intValue()); assertTrue(consumingIterator.hasNext()); assertTrue(queue.isEmpty()); } public void testConsumingIterable_noIteratorCall() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
if (source.isEmpty()) { throw PermittedMetaException.NSEE; } destination.push(source.pop()); stackWithLastReturnedElementAtTop = destination; return destination.peek(); } private void throwIfInvalid(IteratorFeature methodFeature) { if (!features.contains(methodFeature)) { if (stackWithLastReturnedElementAtTop == null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Graphs.java
Deque<NodeAndRemainingSuccessors<N>> stack = new ArrayDeque<>(); stack.addLast(new NodeAndRemainingSuccessors<>(startNode)); while (!stack.isEmpty()) { // To peek at the top two items, we need to temporarily remove one. NodeAndRemainingSuccessors<N> top = stack.removeLast(); NodeAndRemainingSuccessors<N> prev = stack.peekLast(); stack.addLast(top);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 22.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
while (peekingItr.hasNext()) { Range<C> range = peekingItr.next(); while (peekingItr.hasNext()) { Range<C> nextRange = peekingItr.peek(); if (range.isConnected(nextRange)) { checkArgument( range.intersection(nextRange).isEmpty(), "Overlapping ranges not permitted but found %s overlapping %s",
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/Graphs.java
Deque<NodeAndRemainingSuccessors<N>> stack = new ArrayDeque<>(); stack.addLast(new NodeAndRemainingSuccessors<>(startNode)); while (!stack.isEmpty()) { // To peek at the top two items, we need to temporarily remove one. NodeAndRemainingSuccessors<N> top = stack.removeLast(); NodeAndRemainingSuccessors<N> prev = stack.peekLast(); stack.addLast(top);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 23.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 75.4K bytes - Viewed (0) -
cmd/metacache-stream_test.go
} } } func Test_metacacheReader_peek(t *testing.T) { r := loadMetacacheSample(t) defer r.Close() for i, want := range loadMetacacheSampleNames { got, err := r.peek() if err == io.EOF { break } if err != nil { t.Fatal(err) } if got.name != want { t.Errorf("entry %d, want %q, got %q", i, want, got.name) } gotObj, err := r.next()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 15K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public static final field EMPTY Lokhttp3/TrailersSource; public abstract fun get ()Lokhttp3/Headers; public fun peek ()Lokhttp3/Headers; } public final class okhttp3/TrailersSource$Companion { } public final class okhttp3/TrailersSource$DefaultImpls { public static fun peek (Lokhttp3/TrailersSource;)Lokhttp3/Headers; } public abstract interface class okhttp3/WebSocket {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
cmd/metacache-set.go
} if contextCanceled(ctx) { return ctx.Err() } for i, r := range readers { if errs[i] != nil { hasErr++ continue } entry, err := r.peek() switch err { case io.EOF: atEOF++ continue case nil: default: switch err.Error() { case errFileNotFound.Error(): atEOF++ fnf++ continue
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 30.7K bytes - Viewed (0)