- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 111 for peekc (0.04 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
drainRecencyQueue(); ReferenceEntry<K, V> e; while ((e = writeQueue.peek()) != null && map.isExpired(e, now)) { if (!removeEntry(e, e.getHash(), RemovalCause.EXPIRED)) { throw new AssertionError(); } } while ((e = accessQueue.peek()) != null && map.isExpired(e, now)) { if (!removeEntry(e, e.getHash(), RemovalCause.EXPIRED)) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 148.9K bytes - Click Count (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) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 21.4K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 22.4K bytes - Click Count (0) -
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",
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.4K bytes - Click Count (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",
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.5K bytes - Click Count (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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 24.4K bytes - Click Count (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()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Synchronized.java
public boolean offer(E e) { synchronized (mutex) { return delegate().offer(e); } } @Override public @Nullable E peek() { synchronized (mutex) { return delegate().peek(); } } @Override public @Nullable E poll() { synchronized (mutex) { return delegate().poll(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 53K bytes - Click Count (0) -
guava/src/com/google/common/collect/Synchronized.java
public boolean offer(E e) { synchronized (mutex) { return delegate().offer(e); } } @Override public @Nullable E peek() { synchronized (mutex) { return delegate().peek(); } } @Override public @Nullable E poll() { synchronized (mutex) { return delegate().poll(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 56.9K bytes - Click Count (0)