- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,673 for Next (0.02 sec)
-
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) -
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) -
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) -
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/smb/FileEntryAdapterIteratorTest.java
FileEntry entry3 = mock(FileEntry.class); // Constructor gets entry1, first next() returns it and gets entry2, // second next() returns entry2 and gets entry3, // third next() returns entry3 and exhausts when(delegate.hasNext()).thenReturn(true, true, true, false); when(delegate.next()).thenReturn(entry1, entry2, entry3); TestIterator iterator = new TestIterator(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K 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) -
src/main/java/org/codelibs/core/exception/SQLRuntimeException.java
buf.append(cause.getMessage()).append(" : ["); SQLException next = cause.getNextException(); while (next != null) { buf.append(MessageFormatter.getSimpleMessage("ECL0071", next.getMessage(), Integer.toString(next.getErrorCode()), next.getSQLState())).append("], ["); next = next.getNextException(); } Throwable t = cause.getCause();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
} } }; assertTrue(iter.hasNext()); assertEquals(0, (int) iter.next()); // verify idempotence of hasNext() assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertTrue(iter.hasNext()); assertEquals(1, (int) iter.next()); assertFalse(iter.hasNext()); // Make sure computeNext() doesn't get invoked again
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.8K bytes - Viewed (0)