Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,314 for Next (0.19 sec)

  1. android/guava/src/com/google/common/collect/AbstractSequentialIterator.java

       * remain. This method is invoked during each call to {@link #next()} in order to compute the
       * result of a <i>future</i> call to {@code next()}.
       */
      @CheckForNull
      protected abstract T computeNext(T previous);
    
      @Override
      public final boolean hasNext() {
        return nextOrNull != null;
      }
    
      @Override
      public final T next() {
        if (nextOrNull == null) {
          throw new NoSuchElementException();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java

        assertEquals(
            "multiset.entrySet() iterator.next() returned incorrect entry",
            Multisets.immutableEntry(e0(), 1),
            iterator.next());
        assertFalse(
            "size 1 multiset.entrySet() iterator.hasNext() returned true after next()",
            iterator.hasNext());
        iterator.remove();
        assertTrue(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 9.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

      private val connectionUser: ConnectionUser,
      private val fastFallback: Boolean,
    ) {
      // State for negotiating the next proxy to use.
      private var proxies = emptyList<Proxy>()
      private var nextProxyIndex: Int = 0
    
      // State for negotiating the next socket address to use.
      private var inetSocketAddresses = emptyList<InetSocketAddress>()
    
      // State for negotiating failed routes
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/LineIteratorTest.java

            final LineIterator it = new LineIterator(reader);
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("aaa"));
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("bbb"));
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("ccc"));
            assertThat(it.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/slice.go

    	s.pos++
    	if s.pos >= len(s.tokens) {
    		return scanner.EOF
    	}
    	return s.tokens[s.pos].ScanToken
    }
    
    func (s *Slice) Text() string {
    	return s.tokens[s.pos].text
    }
    
    func (s *Slice) File() string {
    	return s.base.Filename()
    }
    
    func (s *Slice) Base() *src.PosBase {
    	return s.base
    }
    
    func (s *Slice) SetBase(base *src.PosBase) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jun 29 22:49:50 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

      private int position;
    
      /** Returns the element with the specified index. This method is called by {@link #next()}. */
      @ParametricNullness
      protected abstract E get(int index);
    
      /**
       * Constructs an iterator across a sequence of the given size whose initial position is 0. That
       * is, the first call to {@link #next()} will return the first element (or throw {@link
       * NoSuchElementException} if {@code size} is zero).
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 3.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractSortedMultiset.java

        Iterator<Entry<E>> entryIterator = entryIterator();
        return entryIterator.hasNext() ? entryIterator.next() : null;
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        Iterator<Entry<E>> entryIterator = descendingEntryIterator();
        return entryIterator.hasNext() ? entryIterator.next() : null;
      }
    
      @Override
      @CheckForNull
      public Entry<E> pollFirstEntry() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/CacheUtils.java

                return false;
            }
    
            Iterator<Dependency> aI = a.iterator();
            Iterator<Dependency> bI = b.iterator();
    
            while (aI.hasNext()) {
                Dependency aD = aI.next();
                Dependency bD = bI.next();
    
                boolean r = Objects.equals(aD.getGroupId(), bD.getGroupId()) //
                        && Objects.equals(aD.getArtifactId(), bD.getArtifactId()) //
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  9. internal/s3select/csv/reader.go

    		}
    	}
    
    	r.bufferPool.New = func() interface{} {
    		return make([]byte, csvSplitSize+1024)
    	}
    
    	// Return first block
    	next, nextErr := r.nextSplit(csvSplitSize, r.bufferPool.Get().([]byte))
    	// Check if first block is valid.
    	if !utf8.Valid(next) {
    		return errInvalidTextEncodingError()
    	}
    
    	// Create queue
    	r.queue = make(chan *queueItem, runtime.GOMAXPROCS(0))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

          }
        }
    
        // Call the next interceptor in the chain.
        val next = copy(index = index + 1, request = request)
        val interceptor = interceptors[index]
    
        @Suppress("USELESS_ELVIS")
        val response =
          interceptor.intercept(next) ?: throw NullPointerException(
            "interceptor $interceptor returned null",
          )
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top