Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,143 for iterated (0.15 sec)

  1. pkg/scheduler/framework/runtime/waiting_pods_map.go

    }
    
    // get a WaitingPod from the map.
    func (m *waitingPodsMap) get(uid types.UID) *waitingPod {
    	m.mu.RLock()
    	defer m.mu.RUnlock()
    	return m.pods[uid]
    }
    
    // iterate acquires a read lock and iterates over the WaitingPods map.
    func (m *waitingPodsMap) iterate(callback func(framework.WaitingPod)) {
    	m.mu.RLock()
    	defer m.mu.RUnlock()
    	for _, v := range m.pods {
    		callback(v)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/collect/PersistentListTest.groovy

            where:
            elements << [
                [],
                ["a"],
                ["a", "b", "c"],
                ["a", "b", "c", "d"]
            ]
        }
    
        def "iterator iterates the elements #elements"() {
            expect:
            ImmutableList.copyOf(listOf(elements)) == elements
    
            where:
            elements << [
                [],
                ["a"],
                ["a", "b", "c"],
                ["a", "b", "c", "d"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/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)
  4. src/cmd/compile/internal/syntax/testdata/map2.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 Nov 01 12:49:49 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/map1.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: Fri Sep 02 02:58:32 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. android/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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top