Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 437 for multiKey (0.13 sec)

  1. pkg/controller/endpointslicemirroring/reconciler_helpers.go

    	multiKey := multiAddrTypePortMapKey{}
    
    	for _, addrType := range addrTypes {
    		multiKey[addrType] = newAddrTypePortMapKey(endpointPorts, addrType)
    		if _, ok := d.endpointsByKey[multiKey[addrType]]; !ok {
    			d.endpointsByKey[multiKey[addrType]] = endpointsliceutil.EndpointSet{}
    		}
    		d.portsByKey[multiKey[addrType]] = endpointPorts
    	}
    
    	return multiKey
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. pkg/controller/endpointslicemirroring/reconciler.go

    	numInvalidAddresses := 0
    	addressesSkipped := 0
    
    	// canonicalize the Endpoints subsets before processing them
    	subsets := endpointsv1.RepackSubsets(endpoints.Subsets)
    	for _, subset := range subsets {
    		multiKey := d.initPorts(subset.Ports)
    
    		totalAddresses := len(subset.Addresses) + len(subset.NotReadyAddresses)
    		totalAddressesAdded := 0
    
    		for _, address := range subset.Addresses {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multiset.java

       * @return a set of entries representing the data of this multiset
       */
      Set<Entry<E>> entrySet();
    
      /**
       * An unmodifiable element-count pair for a multiset. The {@link Multiset#entrySet} method returns
       * a view of the multiset whose elements are of this class. A multiset implementation may return
       * Entry instances that are either live "read-through" views to the Multiset, or immutable
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Multiset.java

       * @return a set of entries representing the data of this multiset
       */
      Set<Entry<E>> entrySet();
    
      /**
       * An unmodifiable element-count pair for a multiset. The {@link Multiset#entrySet} method returns
       * a view of the multiset whose elements are of this class. A multiset implementation may return
       * Entry instances that are either live "read-through" views to the Multiset, or immutable
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      public void testCreation_noArgs() {
        Multiset<String> multiset = ImmutableMultiset.of();
        assertTrue(multiset.isEmpty());
      }
    
      public void testCreation_oneElement() {
        Multiset<String> multiset = ImmutableMultiset.of("a");
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
      public void testCreation_twoElements() {
        Multiset<String> multiset = ImmutableMultiset.of("a", "b");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 25K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SortedMultiset.java

      /**
       * Returns a view of this multiset restricted to the elements greater than {@code lowerBound},
       * optionally including {@code lowerBound} itself. The returned multiset is a view of this
       * multiset, so changes to one will be reflected in the other. The returned multiset supports all
       * operations that this multiset supports.
       *
       * <p>The returned multiset will throw an {@link IllegalArgumentException} on attempts to add
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/SortedMultiset.java

      /**
       * Returns a view of this multiset restricted to the elements greater than {@code lowerBound},
       * optionally including {@code lowerBound} itself. The returned multiset is a view of this
       * multiset, so changes to one will be reflected in the other. The returned multiset supports all
       * operations that this multiset supports.
       *
       * <p>The returned multiset will throw an {@link IllegalArgumentException} on attempts to add
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SortedMultisets.java

          implements SortedSet<E> {
        @Weak private final SortedMultiset<E> multiset;
    
        ElementSet(SortedMultiset<E> multiset) {
          this.multiset = multiset;
        }
    
        @Override
        final SortedMultiset<E> multiset() {
          return multiset;
        }
    
        @Override
        public Iterator<E> iterator() {
          return Multisets.elementIterator(multiset().entrySet().iterator());
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/SortedMultisets.java

          implements SortedSet<E> {
        @Weak private final SortedMultiset<E> multiset;
    
        ElementSet(SortedMultiset<E> multiset) {
          this.multiset = multiset;
        }
    
        @Override
        final SortedMultiset<E> multiset() {
          return multiset;
        }
    
        @Override
        public Iterator<E> iterator() {
          return Multisets.elementIterator(multiset().entrySet().iterator());
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MultisetsTest.java

        TreeMultiset<String> multiset = TreeMultiset.create(Collections.reverseOrder());
        multiset.add("bar", 3);
        multiset.add("foo", 2);
        assertThat(multiset).containsExactly("foo", "foo", "bar", "bar", "bar").inOrder();
      }
    
      public void testRetainOccurrencesEmpty() {
        Multiset<String> multiset = HashMultiset.create();
        Multiset<String> toRetain = HashMultiset.create(Arrays.asList("a", "b", "a"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top