Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 103 for armap (0.04 sec)

  1. cmd/kubeadm/app/phases/certs/certlist.go

    		}
    	}
    
    	return caMap, nil
    }
    
    // Certificates is a list of Certificates that Kubeadm should create.
    type Certificates []*KubeadmCert
    
    // AsMap returns the list of certificates as a map, keyed by name.
    func (c Certificates) AsMap() CertificateMap {
    	certMap := make(map[string]*KubeadmCert)
    	for _, cert := range c {
    		certMap[cert.Name] = cert
    	}
    
    	return certMap
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        return new AsMap(map);
      }
    
      final Map<K, Collection<V>> createMaybeNavigableAsMap() {
        if (map instanceof NavigableMap) {
          return new NavigableAsMap((NavigableMap<K, Collection<V>>) map);
        } else if (map instanceof SortedMap) {
          return new SortedAsMap((SortedMap<K, Collection<V>>) map);
        } else {
          return new AsMap(map);
        }
      }
    
      @WeakOuter
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 48K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

        @CanIgnoreReturnValue
        @Override
        public Builder<K, V> putAll(Multimap<? extends K, ? extends V> multimap) {
          for (Entry<? extends K, ? extends Collection<? extends V>> entry :
              multimap.asMap().entrySet()) {
            putAll(entry.getKey(), entry.getValue());
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        Builder<K, V> combine(ImmutableMultimap.Builder<K, V> other) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        }
    
        // Each of the values added to the map should either still be there, or have seen a removal
        // notification.
        assertEquals(expectedKeys, Sets.union(cache.asMap().keySet(), removalNotifications.keySet()));
        assertTrue(Sets.intersection(cache.asMap().keySet(), removalNotifications.keySet()).isEmpty());
      }
    
      /**
       * Calls get() repeatedly from many different threads, and tests that all of the removed entries
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 03 20:10:02 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

                solutions == [
                    "Use a $fileType as an input",
                    "Declare the input as a ${getOppositeKind(fileType)} instead",
                ].collect { it.toString() }
                additionalData.asMap == [
                    'typeName': 'org.gradle.api.DefaultTask',
                    'propertyName': 'input',
                ]
            }
    
            where:
            method | path             | fileType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  6. pkg/controller/util/selectors/bimultimap_test.go

    }
    
    func unorderedEqual(as, bs []Key) bool {
    	if len(as) != len(bs) {
    		return false
    	}
    	aMap := make(map[Key]int)
    	for _, a := range as {
    		aMap[a]++
    	}
    	bMap := make(map[Key]int)
    	for _, b := range bs {
    		bMap[b]++
    	}
    	if len(aMap) != len(bMap) {
    		return false
    	}
    	for a, count := range aMap {
    		if bMap[a] != count {
    			return false
    		}
    	}
    	return true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 13 01:56:36 UTC 2022
    - 16.9K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/config/helpers_test.go

    type foo struct {
    	foo int
    }
    type bar struct {
    	str    string
    	strptr *string
    
    	ints      []int
    	stringMap map[string]string
    
    	foo    foo
    	fooptr *foo
    
    	bars   []foo
    	barMap map[string]foo
    
    	skipRecurseStruct  foo
    	skipRecursePointer *foo
    	skipRecurseList1   []foo
    	skipRecurseList2   []foo
    	skipRecurseMap1    map[string]foo
    	skipRecurseMap2    map[string]foo
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        return new AsMap(map);
      }
    
      final Map<K, Collection<V>> createMaybeNavigableAsMap() {
        if (map instanceof NavigableMap) {
          return new NavigableAsMap((NavigableMap<K, Collection<V>>) map);
        } else if (map instanceof SortedMap) {
          return new SortedAsMap((SortedMap<K, Collection<V>>) map);
        } else {
          return new AsMap(map);
        }
      }
    
      @WeakOuter
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 46.6K bytes
    - Viewed (0)
  9. pkg/kubelet/container/helpers_test.go

    			Value: "bar",
    		},
    		{
    			Name:  "zoo",
    			Value: "baz",
    		},
    	}
    
    	varMap := envVarsToMap(vars)
    
    	if e, a := len(vars), len(varMap); e != a {
    		t.Errorf("Unexpected map length; expected: %d, got %d", e, a)
    	}
    
    	if a := varMap["foo"]; a != "bar" {
    		t.Errorf("Unexpected value of key 'foo': %v", a)
    	}
    
    	if a := varMap["zoo"]; a != "baz" {
    		t.Errorf("Unexpected value of key 'zoo': %v", a)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 01:55:46 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

            multimap.putAll("bar", asList(10, 11));
            multimap.putAll("cat", asList(12, 13, 14));
            return multimap.asMap().entrySet().iterator();
          }
    
          @Override
          protected void verify(List<Entry<String, Collection<Integer>>> elements) {
            assertEquals(newHashSet(elements), multimap.asMap().entrySet());
          }
        }.test();
      }
    
      public void testKeysSpliterator() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top