Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for iterated (0.17 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

            return set1.isEmpty() && set2.isEmpty();
          }
    
          @Override
          public UnmodifiableIterator<E> iterator() {
            return new AbstractIterator<E>() {
              final Iterator<? extends E> itr1 = set1.iterator();
              final Iterator<? extends E> itr2 = set2.iterator();
    
              @Override
              @CheckForNull
              protected E computeNext() {
                if (itr1.hasNext()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  2. src/runtime/mbitmap.go

    }
    
    // typePointers is an iterator over the pointers in a heap object.
    //
    // Iteration through this type implements the tiling algorithm described at the
    // top of this file.
    type typePointers struct {
    	// elem is the address of the current array element of type typ being iterated over.
    	// Objects that are not arrays are treated as single-element arrays, in which case
    	// this value does not change.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	// Note that we iterate through the init containers in reverse order to find
    	// the next init container to run, as the completed init containers may get
    	// removed from container runtime for various reasons. Therefore the kubelet
    	// should rely on the minimal number of init containers - the last one.
    	//
    	// Once we find the next init container to run, iterate through the rest to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  4. 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)
  5. android/guava/src/com/google/common/collect/Multimaps.java

          }
    
          int oldCount = values.size();
          if (occurrences >= oldCount) {
            values.clear();
          } else {
            Iterator<V> iterator = values.iterator();
            for (int i = 0; i < occurrences; i++) {
              iterator.next();
              iterator.remove();
            }
          }
          return oldCount;
        }
    
        @Override
        public void clear() {
          multimap.clear();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SetsTest.java

        }
        try {
          Iterator<Integer> iterator = unmod.iterator();
          iterator.next();
          iterator.remove();
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          Iterator<Integer> iterator = unmod.descendingIterator();
          iterator.next();
          iterator.remove();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapsTest.java

        }
        try {
          Iterator<String> iterator = values.iterator();
          iterator.next();
          iterator.remove();
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
    
        Set<Entry<Integer, String>> entries = unmod.entrySet();
        try {
          Iterator<Entry<Integer, String>> iterator = entries.iterator();
          iterator.next();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  8. src/runtime/map.go

    	it.startBucket = r & bucketMask(h.B)
    	it.offset = uint8(r >> h.B & (abi.MapBucketCount - 1))
    
    	// iterator state
    	it.bucket = it.startBucket
    
    	// Remember we have an iterator.
    	// Can run concurrently with another mapiterinit().
    	if old := h.flags; old&(iterator|oldIterator) != iterator|oldIterator {
    		atomic.Or8(&h.flags, iterator|oldIterator)
    	}
    
    	mapiternext(it)
    }
    
    // mapiternext should be an internal detail,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java

            } else {
                // The isEmpty check is not required, might look innocent, but Guava's performance bad for an empty immutable list
                // because it still creates an inner class for an iterator, which delegates to an Array iterator, which does... nothing.
                // so just adding this check has a significant impact because most components do not declare any capability
                if (!capabilities.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 58.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            property.set(toMutable(["abc"]))
            assertValueIs(["abc"])
        }
    
        def "can set value from various collection types"() {
            def iterable = Stub(Iterable)
            iterable.iterator() >> ["4", "5"].iterator()
    
            expect:
            property.set(["1", "2"])
            property.get() == toImmutable(["1", "2"])
    
            property.set(["2", "3"] as Set)
            property.get() == toImmutable(["2", "3"])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
Back to top