Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 652 for hasExt (0.23 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *
     * <p>For instance, if <i>steps</i> is 5, one example sequence that will be tested is:
     *
     * <ol>
     *   <li>remove();
     *   <li>hasNext()
     *   <li>hasNext();
     *   <li>remove();
     *   <li>next();
     * </ol>
     *
     * <p>This particular order of operations may be unrealistic, and testing all 3^5 of them may be
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TreeTraverser.java

        }
    
        @Override
        public boolean hasNext() {
          return !stack.isEmpty();
        }
    
        @Override
        public T next() {
          Iterator<T> itr = stack.getLast(); // throws NSEE if empty
          T result = checkNotNull(itr.next());
          if (!itr.hasNext()) {
            stack.removeLast();
          }
          Iterator<T> childItr = children(result).iterator();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KaFirForLoopInReference.kt

            }
            val hasNext = condition?.calleeReference?.getResolvedSymbolOfNameReference()
            val next = (firLoop.block.statements.firstOrNull() as? FirProperty?)?.getInitializerFunctionCall()
            return listOfNotNull(
                iterator?.fir?.buildSymbol(firSymbolBuilder),
                hasNext?.fir?.buildSymbol(firSymbolBuilder),
                next?.fir?.buildSymbol(firSymbolBuilder),
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     *
     * <p>For instance, if <i>steps</i> is 5, one example sequence that will be tested is:
     *
     * <ol>
     *   <li>remove();
     *   <li>hasNext()
     *   <li>hasNext();
     *   <li>remove();
     *   <li>next();
     * </ol>
     *
     * <p>This particular order of operations may be unrealistic, and testing all 3^5 of them may be
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/net/http/routing_index.go

    	// do something simpler: we find the position with the fewest patterns.
    	var lmin, wmin []*pattern
    	min := math.MaxInt
    	hasLit := false
    	for i, seg := range pat.segments {
    		if seg.multi {
    			break
    		}
    		if !seg.wild {
    			hasLit = true
    			lpats := idx.segments[routingIndexKey{s: seg.s, pos: i}]
    			wpats := idx.segments[routingIndexKey{s: "", pos: i}]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 19 18:35:22 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/SingleDepthFilesFinder.java

                    if (stack.getLast().hasNext()) {
                        File next = stack.getLast().next();
                        stack.addLast(listFiles(next));
                    } else {
                        stack.removeLast();
                    }
                }
            }
    
            private boolean hasNextWithCorrectDepth() {
                return stack.size() == targetSize && stack.getLast().hasNext();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

      }
    
      /**
       * Returns true if there's another set of routes to attempt. Every address has at least one route.
       */
      operator fun hasNext(): Boolean = hasNextProxy() || postponedRoutes.isNotEmpty()
    
      @Throws(IOException::class)
      operator fun next(): Selection {
        if (!hasNext()) throw NoSuchElementException()
    
        // Compute the next set of routes to attempt.
        val routes = mutableListOf<Route>()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeTraverser.java

        }
    
        @Override
        public boolean hasNext() {
          return !stack.isEmpty();
        }
    
        @Override
        public T next() {
          Iterator<T> itr = stack.getLast(); // throws NSEE if empty
          T result = checkNotNull(itr.next());
          if (!itr.hasNext()) {
            stack.removeLast();
          }
          Iterator<T> childItr = children(result).iterator();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values_test.go

    				}
    				if iter.HasNext() != types.True {
    					t.Error("Expected HasNext to return true")
    				}
    				next := iter.Next().Value()
    				if !reflect.DeepEqual(next, tc.unstructured[i]) {
    					t.Errorf("Expected Next to return %v for index %d but got %v", tc.unstructured[i], i, next)
    				}
    			}
    			if iter.HasNext() != types.False {
    				t.Error("Expected HasNext to return false")
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

        // known nonempty since we checked targets.size() > 1
    
        if (!thisIterator.hasNext()) {
          return false;
        }
    
        Object target = thatIterator.next();
        E current = thisIterator.next();
        try {
          while (true) {
            int cmp = unsafeCompare(current, target);
    
            if (cmp < 0) {
              if (!thisIterator.hasNext()) {
                return false;
              }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top