Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 110 for erator (0.12 sec)

  1. 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)
  2. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		if apiPVCs == nil {
    			env.reactor.AddClaim(pvc)
    		}
    	}
    	for _, pvc := range apiPVCs {
    		env.reactor.AddClaim(pvc)
    	}
    }
    
    func (env *testEnv) initVolumes(cachedPVs []*v1.PersistentVolume, apiPVs []*v1.PersistentVolume) {
    	for _, pv := range cachedPVs {
    		assumecache.AddTestObject(env.internalBinder.pvCache.AssumeCache, pv)
    		if apiPVs == nil {
    			env.reactor.AddVolume(pv)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    	if len(st.str) == 0 || st.str[0] != c {
    		panic("internal error")
    	}
    	st.advance(1)
    }
    
    // A demangleErr is an error at a specific offset in the mangled
    // string.
    type demangleErr struct {
    	err string
    	off int
    }
    
    // Error implements the builtin error interface for demangleErr.
    func (de demangleErr) Error() string {
    	return fmt.Sprintf("%s at %d", de.err, de.off)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  4. 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)
  5. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    Using the `=` operator is the preferred way to call `set()` in the Kotlin DSL.
    
    .Kotlin lazy property assignment
    ====
    include::sample[dir="snippets/kotlinDsl/assignment/kotlin",files="build.gradle.kts[tags=assignment]"]
    ====
    <1> Set value with the `.set()` method
    <2> Set value with lazy property assignment using the `=` operator
    <3> The `=` operator can be used also for assigning lazy values
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/expr.go

    			if utyp.fields == nil {
    				check.error(e, InvalidTypeCycle, "invalid recursive type")
    				goto Error
    			}
    			if len(e.ElemList) == 0 {
    				break
    			}
    			// Convention for error messages on invalid struct literals:
    			// we mention the struct type only if it clarifies the error
    			// (e.g., a duplicate field error doesn't need the struct type).
    			fields := utyp.fields
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  7. 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)
  8. src/runtime/mbitmap.go

    	}
    	// BTCQ
    	tp.mask ^= uintptr(1) << (i & (ptrBits - 1))
    	// LEAQ (XX)(XX*8)
    	return tp, tp.addr + uintptr(i)*goarch.PtrSize
    }
    
    // next advances the pointers iterator, returning the updated iterator and
    // the address of the next pointer.
    //
    // limit must be the same each time it is passed to next.
    //
    // nosplit because it is used during write barriers and must not be preempted.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  9. pkg/registry/core/pod/strategy_test.go

    										},
    										MatchExpressions: []metav1.LabelSelectorRequirement{
    											{
    												Key:      "country",
    												Operator: metav1.LabelSelectorOpIn,
    												Values:   []string{"Japan"},
    											},
    											{
    												Key:      "city",
    												Operator: metav1.LabelSelectorOpNotIn,
    												Values:   []string{"Kyoto"},
    											},
    										},
    									},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/MapMakerInternalMap.java

      @Override
      public Set<Entry<K, V>> entrySet() {
        Set<Entry<K, V>> es = entrySet;
        return (es != null) ? es : (entrySet = new EntrySet());
      }
    
      // Iterator Support
    
      abstract class HashIterator<T> implements Iterator<T> {
    
        int nextSegmentIndex;
        int nextTableIndex;
        @CheckForNull Segment<K, V, E, S> currentSegment;
        @CheckForNull AtomicReferenceArray<E> currentTable;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
Back to top