Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 2,143 for iterated (0.16 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/builder_flags_fake.go

    limitations under the License.
    */
    
    package genericclioptions
    
    import (
    	"k8s.io/cli-runtime/pkg/resource"
    )
    
    // NewSimpleFakeResourceFinder builds a super simple ResourceFinder that just iterates over the objects you provided
    func NewSimpleFakeResourceFinder(infos ...*resource.Info) ResourceFinder {
    	return &fakeResourceFinder{
    		Infos: infos,
    	}
    }
    
    type fakeResourceFinder struct {
    	Infos []*resource.Info
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 13 10:28:09 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestListenerBuildOperationAdapterIntegrationTest.groovy

            }
            checkForTestOperations(iterator, "org.gradle.OtherTest", "ok")
    
            !iterator.hasNext()
        }
    
        void checkForSuiteOperations(Iterator<BuildOperationRecord> iterator, String suiteName) {
            with(iterator.next()) {
                details.testDescriptor.name == suiteName
                details.testDescriptor.className == suiteName
                details.testDescriptor.composite == true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. doc/next/6-stdlib/3-iter.md

    - [All](/pkg/slices#All) returns an iterator over slice indexes and values.
    - [Values](/pkg/slices#Values) returns an iterator over slice elements.
    - [Backward](/pkg/slices#Backward) returns an iterator that loops over
      a slice backward.
    - [Collect](/pkg/slices#Collect) collects values from an iterator into
      a new slice.
    - [AppendSeq](/pkg/slices#AppendSeq) appends values from an iterator to
      an existing slice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/IteratorEnumeration.java

         */
        public IteratorEnumeration(final Iterator<T> iterator) {
            assertArgumentNotNull("iterator", iterator);
            this.iterator = iterator;
        }
    
        /**
         * {@link IteratorEnumeration}を作成します。
         *
         * @param iterable
         *            反復可能なオブジェクト。{@literal null}であってはいけません
         */
        public IteratorEnumeration(final Iterable<T> iterable) {
            assertArgumentNotNull("iterable", iterable);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

      @CollectionSize.Require(SEVERAL)
      public void testRemovePresentConcurrentWithEntrySetIteration() {
        try {
          Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator();
          getMap().remove(k0());
          iterator.next();
          fail("Expected ConcurrentModificationException");
        } catch (ConcurrentModificationException expected) {
          // success
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

          @Override
          protected Iterator<Integer> newTargetIterator() {
            return newDoubler(1, 2);
          }
        }.test();
      }
    
      public void testDoubler() {
        Iterable<Integer> doubled =
            new Iterable<Integer>() {
              @Override
              public Iterator<Integer> iterator() {
                return newDoubler(2, 32);
              }
            };
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 17:19:08 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

     public:
      typedef ParamIterator<T> iterator;
    
      explicit ParamGenerator(ParamGeneratorInterface<T>* impl) : impl_(impl) {}
      ParamGenerator(const ParamGenerator& other) : impl_(other.impl_) {}
    
      ParamGenerator& operator=(const ParamGenerator& other) {
        impl_ = other.impl_;
        return *this;
      }
    
      iterator begin() const { return iterator(impl_->Begin()); }
      iterator end() const { return iterator(impl_->End()); }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

    import com.google.common.collect.testing.features.CollectionFeature;
    import java.lang.reflect.Method;
    import java.util.Arrays;
    import java.util.Iterator;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Tester to make sure the {@code iterator().remove()} implementation of {@code Multiset} works when
     * there are multiple occurrences of elements.
     *
     * @author Louis Wasserman
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/DefaultNamedDomainObjectList.java

        private class ListIteratorImpl implements ListIterator<T> {
            private final ListIterator<T> iterator;
            private T lastElement;
    
            public ListIteratorImpl(ListIterator<T> iterator) {
                this.iterator = iterator;
            }
    
            @Override
            public boolean hasNext() {
                return iterator.hasNext();
            }
    
            @Override
            public boolean hasPrevious() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java

      /** Support for {@link Iterator#remove()}. */
      SUPPORTS_REMOVE,
      /**
       * Support for {@link ListIterator#add(Object)}; ignored for plain {@link Iterator}
       * implementations.
       */
      SUPPORTS_ADD,
      /**
       * Support for {@link ListIterator#set(Object)}; ignored for plain {@link Iterator}
       * implementations.
       */
      SUPPORTS_SET;
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 03 18:22:43 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top