- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 812 for nextUp (0.1 sec)
-
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertEquals((Integer) 12, it.next()); assertEquals((Integer) 30, it.next()); assertEquals((Integer) 40, it.next()); // Skipping 20 assertEquals((Integer) 11, it.next()); // Not skipping 400, because it moved back down assertEquals((Integer) 400, it.next()); assertEquals((Integer) 13, it.next()); assertEquals((Integer) 200, it.next()); assertEquals((Integer) 300, it.next());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionList.java
final Runnable runnable; final Executor executor; @Nullable RunnableExecutorPair next; RunnableExecutorPair( Runnable runnable, Executor executor, @Nullable RunnableExecutorPair next) { this.runnable = runnable; this.executor = executor; this.next = next; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
assertEquals(o1, three.next().target); assertFalse(three.hasNext()); three = registry.getSubscribers(""); registry.unregister(s2); assertEquals(s1, three.next().target); assertEquals(s2, three.next().target); assertEquals(o1, three.next().target); assertFalse(three.hasNext()); Iterator<Subscriber> two = registry.getSubscribers(""); assertEquals(s1, two.next().target);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/PeekingIterator.java
* guaranteed to be equal to each other. */ @CanIgnoreReturnValue @Override @ParametricNullness E next(); /** * {@inheritDoc} * * <p>Implementations may or may not support removal when a call to {@link #peek()} has occurred * since the most recent call to {@link #next()}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicDouble.java
*/ public final void set(double newValue) { long next = doubleToRawLongBits(newValue); value = next; } /** * Eventually sets to the given value. * * @param newValue the new value */ public final void lazySet(double newValue) { long next = doubleToRawLongBits(newValue); updater.lazySet(this, next); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 9.5K bytes - Viewed (0) -
internal/lru/lru.go
func (l *LruList[K, V]) Remove(e *Entry[K, V]) V { e.prev.next = e.next e.next.prev = e.prev e.next = nil // avoid memory leaks e.prev = nil // avoid memory leaks e.list = nil l.len-- return e.Value } // move moves e to next to at. func (l *LruList[K, V]) move(e, at *Entry[K, V]) { if e == at { return } e.prev.next = e.next e.next.prev = e.prev e.prev = at e.next = at.next
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java
itr.next(); itr.next(); itr.next(); } /** * */ @Test public void testHasNext() { final ArrayIterator<String> itr = new ArrayIterator<String>("A", "B"); assertThat(itr.hasNext(), is(true)); itr.next(); assertThat(itr.hasNext(), is(true)); itr.next(); assertThat(itr.hasNext(), is(not(true)));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
} static int advanceOneBit(int next) { if ((next & 1) != 0) { return (next >>> 1) ^ CRC32C_GENERATOR_FLIPPED; } else { return next >>> 1; } } public void testCrc32cStrideTable() { int next = CRC32C_GENERATOR_FLIPPED; for (int i = 0; i < 12; i++) { // for 3 ints = 12 bytes in between each stride window
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
return next != null; } @Override @ParametricNullness public K next() { checkForConcurrentModification(); if (next == null) { throw new NoSuchElementException(); } current = next; seenKeys.add(current.getKey()); do { // skip ahead to next unseen key next = next.next;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
} @Test @DisplayName("Should return next referral data") void testNext() { // Test with mock when(mockReferralData.next()).thenReturn(mockReferralData); DfsReferralDataInternal next = mockReferralData.next(); assertSame(mockReferralData, next); verify(mockReferralData, times(1)).next(); // Test with concrete implementation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0)