- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 23 for peak (0.02 seconds)
-
guava/src/com/google/common/collect/MapMakerInternalMap.java
&& builder.getValueStrength() == Strength.WEAK) { return new MapMakerInternalMap<>(builder, StrongKeyWeakValueEntry.Helper.instance()); } if (builder.getKeyStrength() == Strength.WEAK && builder.getValueStrength() == Strength.STRONG) { return new MapMakerInternalMap<>(builder, WeakKeyStrongValueEntry.Helper.instance()); } if (builder.getKeyStrength() == Strength.WEAK && builder.getValueStrength() == Strength.WEAK) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
&& builder.getValueStrength() == Strength.WEAK) { return new MapMakerInternalMap<>(builder, StrongKeyWeakValueEntry.Helper.instance()); } if (builder.getKeyStrength() == Strength.WEAK && builder.getValueStrength() == Strength.STRONG) { return new MapMakerInternalMap<>(builder, WeakKeyStrongValueEntry.Helper.instance()); } if (builder.getKeyStrength() == Strength.WEAK && builder.getValueStrength() == Strength.WEAK) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
src/bufio/bufio_test.go
} if _, err := buf.Peek(1); err != io.EOF { t.Fatalf("want EOF got %v", err) } // Test for issue 3022, not exposing a reader's error on a successful Peek. buf = NewReaderSize(dataAndEOFReader("abcd"), 32) if s, err := buf.Peek(2); string(s) != "ab" || err != nil { t.Errorf(`Peek(2) on "abcd", EOF = %q, %v; want "ab", nil`, string(s), err) } if s, err := buf.Peek(4); string(s) != "abcd" || err != nil {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
stk.push(new ActivationFrame("arch", Optional.empty())); validator.accept(oa.getArch()); stk.peek().location = "family"; validator.accept(oa.getFamily()); stk.peek().location = "name"; validator.accept(oa.getName()); stk.peek().location = "version"; validator.accept(oa.getVersion()); stk.pop(); stk.pop(); });
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<String> nonpeek = Lists.newArrayList("a", "b", "c").iterator(); PeekingIterator<String> peek = peekingIterator(nonpeek); assertThat(nonpeek).isNotSameInstanceAs(peek); assertThat(peekingIterator(peek)).isSameInstanceAs(peek); assertThat(peekingIterator((Iterator<String>) peek)).isSameInstanceAs(peek); } public void testMergeSorted_stable_issue5773Example() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterators.java
* Iterators.peekingIterator(Iterators.forArray("a", "b")); * String a1 = peekingIterator.peek(); // returns "a" * String a2 = peekingIterator.peek(); // also returns "a" * String a3 = peekingIterator.next(); // also returns "a" * } * * <p>Any structural changes to the underlying iteration (aside from those performed by the * iterator's own {@link PeekingIterator#remove()} method) will leave the iterator in an undefined
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterators.java
* Iterators.peekingIterator(Iterators.forArray("a", "b")); * String a1 = peekingIterator.peek(); // returns "a" * String a2 = peekingIterator.peek(); // also returns "a" * String a3 = peekingIterator.next(); // also returns "a" * } * * <p>Any structural changes to the underlying iteration (aside from those performed by the * iterator's own {@link PeekingIterator#remove()} method) will leave the iterator in an undefined
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<String> nonpeek = Lists.newArrayList("a", "b", "c").iterator(); PeekingIterator<String> peek = peekingIterator(nonpeek); assertThat(nonpeek).isNotSameInstanceAs(peek); assertThat(peekingIterator(peek)).isSameInstanceAs(peek); assertThat(peekingIterator((Iterator<String>) peek)).isSameInstanceAs(peek); } public void testMergeSorted_stable_issue5773Example() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* <li>time-based expiration of entries, measured since last access or last write * <li>keys automatically wrapped in {@linkplain WeakReference weak} references * <li>values automatically wrapped in {@linkplain WeakReference weak} or {@linkplain * SoftReference soft} references * <li>notification of evicted (or otherwise removed) entries * <li>accumulation of cache access statistics * </ul>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 52K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
edge-case regression introduced with the events cleanup in 3.14.0. * Fix: Provide actionable advice when the exchange is non-null. Prior to 3.14, OkHttp would silently leak connections when an interceptor retries without closing the response body. With 3.14 we detect this problem but the exception was not helpful. ## Version 3.14.0 _2019-03-14_Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0)