Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,143 for iterated (0.38 sec)

  1. src/reflect/type.go

    	OverflowUint(x uint64) bool
    
    	// CanSeq reports whether a [Value] with this type can be iterated over using [Value.Seq].
    	CanSeq() bool
    
    	// CanSeq2 reports whether a [Value] with this type can be iterated over using [Value.Seq2].
    	CanSeq2() bool
    
    	common() *abi.Type
    	uncommon() *uncommonType
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    include::sample[dir="snippets/files/fileCollections/groovy",files="build.gradle[tags=simple-params]"]
    ====
    
    File collections have important attributes in Gradle.
    They can be:
    
    * created lazily
    * iterated over
    * filtered
    * combined
    
    _Lazy creation_ of a file collection is useful when evaluating the files that make up a collection when a build runs.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
  3. test/typeparam/issue48645b.go

    package main
    
    type Iterator[T any] interface {
    	Iterate(fn func(T) bool)
    }
    
    type IteratorFunc[T any] func(fn func(T) bool)
    
    func (f IteratorFunc[T]) Iterate(fn func(T) bool) {
    	f(fn)
    }
    
    type Stream[T any] struct {
    	it Iterator[T]
    }
    
    func (s Stream[T]) Iterate(fn func(T) bool) {
    	if s.it == nil {
    		return
    	}
    	s.it.Iterate(fn)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. test/typeparam/issue48598.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    type Iterator[T any] interface {
    	Iterate()
    }
    
    type IteratorFunc[T any] func(fn func(T) bool)
    
    func (f IteratorFunc[T]) Iterate() {
    }
    
    func FromIterator[T any](it Iterator[T]) {
    	it.Iterate()
    }
    
    func Foo[T, R any]() {
    	FromIterator[R](IteratorFunc[R](nil))
    }
    
    func main() {
    	Foo[int, int]()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 475 bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods.go

    	)
    	var ecSpecs []v1.Container
    	for i := range pod.Spec.EphemeralContainers {
    		ecSpecs = append(ecSpecs, v1.Container(pod.Spec.EphemeralContainers[i].EphemeralContainerCommon))
    	}
    
    	// #80875: By now we've iterated podStatus 3 times. We could refactor this to make a single
    	// pass through podStatus.ContainerStatuses
    	apiPodStatus.EphemeralContainerStatuses = kl.convertToAPIContainerStatuses(
    		pod, podStatus,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/collections/ElementSource.java

    import java.util.Collection;
    import java.util.Iterator;
    
    public interface ElementSource<T> extends Iterable<T>, WithEstimatedSize, PendingSource<T>, WithMutationGuard {
        /**
         * Iterates over and realizes each of the elements of this source.
         */
        @Override
        Iterator<T> iterator();
    
        /**
         * Iterates over only the realized elements (without flushing any pending elements)
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 15:12:15 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. test/typeparam/issue48602.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    type Iterator[T any] interface {
    	Iterate(fn T)
    }
    
    type IteratorFunc[T any] func(fn T)
    
    func (f IteratorFunc[T]) Iterate(fn T) {
    	f(fn)
    }
    
    func Foo[R any]() {
    	var _ Iterator[R] = IteratorFunc[R](nil)
    }
    
    func main() {
    	Foo[int]()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 414 bytes
    - Viewed (0)
  8. src/reflect/value.go

    			panic("MapIter.Next called on exhausted iterator")
    		}
    		mapiternext(&iter.hiter)
    	}
    	return mapiterkey(&iter.hiter) != nil
    }
    
    // Reset modifies iter to iterate over v.
    // It panics if v's Kind is not [Map] and v is not the zero Value.
    // Reset(Value{}) causes iter to not to refer to any map,
    // which may allow the previously iterated-over map to be garbage collected.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        }
      }
    
      /**
       * Verifies that an Iterator is unmodifiable.
       *
       * <p>This test only works with iterators that iterate over a finite set.
       */
      public static void assertIteratorIsUnmodifiable(Iterator<?> iterator) {
        while (iterator.hasNext()) {
          iterator.next();
          try {
            iterator.remove();
            fail("Remove on unmodifiable iterator succeeded");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

       * elements in {@code a}, followed by the elements in {@code b}, followed by the elements in
       * {@code c}. The source iterators are not polled until necessary.
       *
       * <p>The returned iterator supports {@code remove()} when the corresponding input iterator
       * supports it.
       */
      public static <T extends @Nullable Object> Iterator<T> concat(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
Back to top