Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 248 for AsMap (0.05 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. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java

        initMultimapWithNullValue();
        testToStringMatchesAsMap();
      }
    
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToStringMatchesAsMap() {
        assertEquals(multimap().asMap().toString(), multimap().toString());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  3. 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)
  4. guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java

                  new SetMultimapTestSuiteBuilder.MultimapAsMapGetGenerator<K, V>(
                      parentBuilder.getSubjectGenerator()))
              .withFeatures(features)
              .named(parentBuilder.getName() + ".asMap[].get[key]")
              .suppressing(parentBuilder.getSuppressedTests())
              .createTestSuite();
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. 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)
  6. operator/pkg/util/k8s.go

    }
    
    // ValidateIOPCAConfig validates if the IstioOperator CA configs are applicable to the K8s cluster
    func ValidateIOPCAConfig(client kube.Client, iop *iopv1alpha1.IstioOperator) error {
    	globalI := iop.Spec.Values.AsMap()["global"]
    	global, ok := globalI.(map[string]any)
    	if !ok {
    		// This means no explicit global configuration. Still okay
    		return nil
    	}
    	ca, ok := global["pilotCertProvider"].(string)
    	if !ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateApiMapping.java

            try (PrintWriter mappingFileWriter = new PrintWriter(new FileWriter(getMappingDestFile().getAsFile().get()))) {
                for (Map.Entry<String, Collection<String>> entry : simpleNames.asMap().entrySet()) {
                    if (entry.getValue().size() > 1) {
                        StringBuilder warning = new StringBuilder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyExtraInfo.java

        }
    
        @Override
        public String get(String namespace, String name) {
            return extraInfo.get(new NamespaceId(namespace, name));
        }
    
        @Override
        public Map<QName, String> asMap() {
            Map<QName, String> map = new LinkedHashMap<>();
            for (Map.Entry<NamespaceId, String> entry : extraInfo.entrySet()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/graph/AbstractValueGraph.java

            + ", nodes: "
            + nodes()
            + ", edges: "
            + edgeValueMap(this);
      }
    
      private static <N, V> Map<EndpointPair<N>, V> edgeValueMap(final ValueGraph<N, V> graph) {
        return Maps.asMap(
            graph.edges(),
            edge ->
                // requireNonNull is safe because the endpoint pair comes from the graph.
                requireNonNull(graph.edgeValueOrDefault(edge.nodeU(), edge.nodeV(), null)));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top