- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 2,143 for iterated (0.2 sec)
-
test/typeparam/orderedmapsimp.dir/main.go
panic(fmt.Sprintf("unexpectedly found %q", []byte("d"))) } gather := func(it *a.Iterator[[]byte, int]) []int { var r []int for { _, v, ok := it.Next() if !ok { return r } r = append(r, v) } } got := gather(m.Iterate()) want := []int{'a', 'b', 'x'} if !a.SliceEqual(got, want) { panic(fmt.Sprintf("Iterate returned %v, want %v", got, want)) } } func main() { TestMap()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/collect/PersistentListTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 09:24:00 UTC 2024 - 2.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)