Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 989 for iterated (0.14 sec)

  1. src/go/parser/testdata/map.go2

    	}
    	go func() {
    		f(m.root)
    		sender.Close()
    	}()
    	return &Iterator{receiver}
    }
    
    // Iterator is used to iterate over the map.
    type Iterator[K, V any] struct {
    	r *chans.Receiver[keyValue[K, V]]
    }
    
    // Next returns the next key and value pair, and a boolean indicating
    // whether they are valid or whether we have reached the end.
    func (it *Iterator[K, V]) Next() (K, V, bool) {
    	keyval, ok := it.r.Next()
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 24 19:44:06 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/lifecycle/MojoExecutionXPathContainer.java

        }
    
        public MojoExecutionXPathContainer(MojoExecution mojoExecution) throws IOException {
            context = JXPathContext.newContext(mojoExecution);
        }
    
        public Iterator<?> getIteratorForXPathExpression(String expression) {
            return context.iterate(expression);
        }
    
        public boolean containsXPathExpression(String expression) {
            return context.getValue(expression) != null;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/map0.go

    	}
    	go func() {
    		f(m.root)
    		sender.Close()
    	}()
    	return &Iterator[K, V]{receiver}
    }
    
    // Iterator is used to iterate over the map.
    type Iterator[K, V any] struct {
    	r *chans.Receiver[keyValue[K, V]]
    }
    
    // Next returns the next key and value pair, and a boolean indicating
    // whether they are valid or whether we have reached the end.
    func (it *Iterator[K, V]) Next() (K, V, bool) {
    	keyval, ok := it.r.Next()
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/testdata/map.go

    	}
    	go func() {
    		f(m.root)
    		sender.Close()
    	}()
    	return &Iterator[K, V]{receiver}
    }
    
    // Iterator is used to iterate over the map.
    type Iterator[K, V any] struct {
    	r *chans.Receiver[keyValue[K, V]]
    }
    
    // Next returns the next key and value pair, and a boolean indicating
    // whether they are valid or whether we have reached the end.
    func (it *Iterator[K, V]) Next() (K, V, bool) {
    	keyval, ok := it.r.Next()
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/harness/PomTestWrapper.java

            source.init( domainModel.getModelProperties(), null );
            return source.queryFor( uri ).size();
        }
        */
    
        public Iterator<?> getIteratorForXPathExpression(String expression) {
            return context.iterate(expression);
        }
    
        public boolean containsXPathExpression(String expression) {
            return context.getValue(expression) != null;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ConsumingQueueIterator.java

    import java.util.Queue;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An Iterator implementation which draws elements from a queue, removing them from the queue as it
     * iterates. This class is not thread safe.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class ConsumingQueueIterator<T extends @Nullable Object> extends AbstractIterator<T> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jan 21 14:48:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/ElementSourceSpec.groovy

            iterator = source.iteratorNoFlush()
            iterator.next()
            source.remove("foo")
            iterator.remove()
    
            then:
            thrown(ConcurrentModificationException)
    
            when:
            iterator = source.iteratorNoFlush()
            providerOfSet.value = ["fizz"]
            iterator.next()
    
            then:
            thrown(ConcurrentModificationException)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 25 10:08:46 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMultiset.java

        @Override
        Multiset<E> multiset() {
          return AbstractMultiset.this;
        }
    
        @Override
        public Iterator<E> iterator() {
          return elementIterator();
        }
      }
    
      abstract Iterator<E> elementIterator();
    
      @LazyInit @CheckForNull private transient Set<Entry<E>> entrySet;
    
      @Override
      public Set<Entry<E>> entrySet() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/EndpointPairIterator.java

    abstract class EndpointPairIterator<N> extends AbstractIterator<EndpointPair<N>> {
      private final BaseGraph<N> graph;
      private final Iterator<N> nodeIterator;
    
      @CheckForNull
      N node = null; // null is safe as an initial value because graphs don't allow null nodes
    
      Iterator<N> successorIterator = ImmutableSet.<N>of().iterator();
    
      static <N> EndpointPairIterator<N> of(BaseGraph<N> graph) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 5K bytes
    - Viewed (0)
  10. pkg/config/analysis/context.go

    	// Exists returns true if the specified resource exists in the context, false otherwise
    	Exists(c config.GroupVersionKind, name resource.FullName) bool
    
    	// ForEach iterates over all the entries of a given collection.
    	ForEach(c config.GroupVersionKind, fn IteratorFn)
    
    	// Canceled indicates that the context has been canceled. The analyzer should stop executing as soon as possible.
    	Canceled() bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 28 20:21:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top