Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 958 for NEXT (0.02 seconds)

  1. guava/src/com/google/common/collect/AbstractIterator.java

        // Safe because hasNext() ensures that tryToComputeNext() has put a T into `next`.
        T result = uncheckedCastNullableTToT(next);
        next = null;
        return result;
      }
    
      /**
       * Returns the next element in the iteration without advancing the iteration, according to the
       * contract of {@link PeekingIterator#peek()}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/EmptyIteratorTest.java

                    assertFalse(iterator3.hasNext(), "Third instance should have no elements");
    
                    assertNull(iterator1.next(), "First instance next() should return null");
                    assertNull(iterator2.next(), "Second instance next() should return null");
                    assertNull(iterator3.next(), "Third instance next() should return null");
                } catch (CIFSException e) {
                    throw new RuntimeException(e);
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  3. internal/s3select/jstream/scanner.go

    // read next byte
    func (s *scanner) next() byte {
    	if s.pos >= atomic.LoadInt64(&s.end) {
    		return nullByte
    	}
    	s.ipos++
    
    	if s.ipos > s.ifill { // internal buffer is exhausted
    		s.ifill = <-s.fillReady
    
    		s.buf[0] = s.buf[len(s.buf)-1] // copy current last item to guarantee lookback
    		copy(s.buf[1:], s.nbuf[:])     // copy contents of pre-filled next buffer
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/base/AbstractIterator.java

        T result = uncheckedCastNullableTToT(next);
        next = null;
        return result;
      }
    
      @Override
      public final void remove() {
        throw new UnsupportedOperationException();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  5. cmd/erasure-decode.go

    	p.readers = tmp
    	// next is the next non-preferred index.
    	next := 0
    	for i, ok := range prefer {
    		if !ok || p.readers[i] == nil {
    			continue
    		}
    		if i == next {
    			next++
    			continue
    		}
    		// Move reader with index i to index next.
    		// Do this by swapping next and i
    		p.readers[next], p.readers[i] = p.readers[i], p.readers[next]
    		p.readerToBuf[next] = i
    		p.readerToBuf[i] = next
    		next++
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 29 01:40:52 GMT 2024
    - 9.5K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

        assertRoute(selection.next(), address, Proxy.NO_PROXY, dns.lookup(uriHost, 0), uriPort)
        assertThat(selection.hasNext()).isFalse()
        assertFailsWith<NoSuchElementException> {
          selection.next()
        }
        assertThat(routeSelector.hasNext()).isFalse()
        assertFailsWith<NoSuchElementException> {
          routeSelector.next()
        }
      }
    
      @Test fun explicitProxyTriesThatProxysAddressesOnly() {
        val address =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  7. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

            throw new IllegalStateException();
          }
          iterator.remove();
        }
      }
    
      public void testCanCatchJdkBug6529795InTargetIterator() {
        try {
          /* Choose 4 steps to get sequence [next, next, next, remove] */
          new IteratorTester<Integer>(
              4, MODIFIABLE, newArrayList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) {
            @Override
            protected Iterator<Integer> newTargetIterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/collection/SLinkedList.java

            /** The element */
            protected E element;
    
            /** The next entry */
            protected Entry next;
    
            /** The previous entry */
            protected Entry previous;
    
            Entry(final E element, final Entry next, final Entry previous) {
                this.element = element;
                this.next = next;
                this.previous = previous;
            }
    
            /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. 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()}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/cache/LocalCache.java

          ReferenceEntry<K, V> next = head.getNextInWriteQueue();
          return (next == head) ? null : next;
        }
    
        @Override
        public @Nullable ReferenceEntry<K, V> poll() {
          ReferenceEntry<K, V> next = head.getNextInWriteQueue();
          if (next == head) {
            return null;
          }
    
          remove(next);
          return next;
        }
    
        @Override
    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)
Back to Top