- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 2,143 for iterated (0.25 sec)
-
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) -
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) -
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) -
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) -
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) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
* * <p>The collections returned by {@code keySet}, {@code keys}, and {@code asMap} iterate through * the keys in the order they were first added to the multimap. Similarly, {@code get}, {@code * removeAll}, and {@code replaceValues} return collections that iterate through the values in the * order they were added. The collections generated by {@code entries} and {@code values} iterate * across the key-value mappings in the order they were added to the multimap. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 23.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedHashMultimap.java
* * <p>The collections returned by {@code keySet}, {@code keys}, and {@code asMap} iterate through * the keys in the order they were first added to the multimap. Similarly, {@code get}, {@code * removeAll}, and {@code replaceValues} return collections that iterate through the values in the * order they were added. The collections generated by {@code entries} and {@code values} iterate * across the key-value mappings in the order they were added to the multimap. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 24.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Collections2.java
} @Override public boolean isEmpty() { return !Iterables.any(unfiltered, predicate); } @Override public Iterator<E> iterator() { return Iterators.filter(unfiltered.iterator(), predicate); } @Override public boolean remove(@CheckForNull Object element) { return contains(element) && unfiltered.remove(element); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 22.8K bytes - Viewed (0) -
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) -
pkg/kubelet/cm/topologymanager/bitmask/bitmask.go
s := *first.(*bitMask) s.Or(masks...) return &s } // IterateBitMasks iterates all possible masks from a list of bits, // issuing a callback on each mask. func IterateBitMasks(bits []int, callback func(BitMask)) { var iterate func(bits, accum []int, size int) iterate = func(bits, accum []int, size int) { if len(accum) == size { mask, _ := NewBitMask(accum...) callback(mask)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 09:45:09 UTC 2022 - 5.1K bytes - Viewed (0)