Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,228 for ipIterator (0.34 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            @Override
            public @Nullable Object execute(Iterator<?> iterator) {
              iterator.remove();
              return null;
            }
          };
    
      private static final IteratorOperation NEXT_METHOD =
          new IteratorOperation() {
            @Override
            public @Nullable Object execute(Iterator<?> iterator) {
              return iterator.next();
            }
          };
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

          @Override
          protected Iterator<E> newTargetIterator() {
            resetCollection();
            return collection.iterator();
          }
    
          @Override
          protected void verify(List<E> elements) {
            expectContents(elements);
          }
        }.test();
      }
    
      public void testIteratorNoSuchElementException() {
        Iterator<E> iterator = collection.iterator();
        while (iterator.hasNext()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. 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)
  10. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/model/internal/IdeaDependenciesOptimizer.java

            for (Iterator<Dependency> iterator = deps.iterator(); iterator.hasNext();) {
                applyScopeToNextDependency(iterator, scopesByDependencyKey);
            }
        }
    
        private void applyScopeToNextDependency(Iterator<Dependency> iterator, Multimap<Object, GeneratedIdeaScope> scopesByDependencyKey) {
            Dependency dep = iterator.next();
            Object key = getKey(dep);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top