Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,300 for map1 (0.32 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/ModelProperty.java

        public ModelProperty(ModelType<T> type, String name, Set<ModelType<?>> declaredBy,
                             Map<PropertyAccessorType, WeaklyTypeReferencingMethod<?, ?>> accessors) {
            this.name = name;
            this.type = type;
            this.declaredBy = ImmutableSet.copyOf(declaredBy);
            this.accessors = Maps.immutableEnumMap(accessors);
        }
    
        public String getName() {
            return name;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/waypoint.go

    		if !ok {
    			continue
    		}
    		if waypointServices.services == nil {
    			waypointServices.services = map[host.Name]*model.Service{}
    		}
    		waypointServices.services[hostName] = svc
    	}
    
    	unorderedServices := maps.Values(waypointServices.services)
    	if len(serviceInfos) > 0 {
    		waypointServices.orderedServices = model.SortServicesByCreationTime(unorderedServices)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/AbstractStructSchema.java

    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.Maps;
    import org.gradle.internal.Cast;
    import org.gradle.model.internal.manage.schema.extract.ModelSchemaAspect;
    import org.gradle.model.internal.method.WeaklyTypeReferencingMethod;
    import org.gradle.model.internal.type.ModelType;
    
    import java.util.Collection;
    import java.util.Map;
    import java.util.Set;
    import java.util.SortedSet;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/k8sgateway/workloadselector.go

    func gatewayPodsLabelMap(context analysis.Context) map[string][]map[string]string {
    	pods := make(map[string][]map[string]string)
    	context.ForEach(gvk.Pod, func(resource *resource.Instance) bool {
    		if _, ok := resource.Metadata.Labels[constants.GatewayNameLabel]; !ok {
    			return true
    		}
    		ns := resource.Metadata.FullName.Namespace.String()
    		pods[ns] = append(pods[ns], resource.Metadata.Labels)
    		return true
    	})
    	return pods
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 01:19:33 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/componentconfigs/checksums.go

    )
    
    // ChecksumForConfigMap calculates a checksum for the supplied config map. The exact algorithm depends on hash and prefix parameters
    func ChecksumForConfigMap(cm *v1.ConfigMap) string {
    	hash := sha256.New()
    
    	// Since maps are not ordered we need to make sure we order them somehow so we'll always get the same checksums
    	// for the same config maps. The solution here is to extract the keys into a slice and sort them.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

        }
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testEquals() {
        resetContainer(
            Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k1(), v0()), Helpers.mapEntry(k0(), v3()));
        Map<K, Collection<V>> expected = Maps.newHashMap();
        expected.put(k0(), Lists.newArrayList(v0(), v3()));
        expected.put(k1(), Lists.newArrayList(v0()));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap()).testEquals();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

        }
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testEquals() {
        resetContainer(
            Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k1(), v0()), Helpers.mapEntry(k0(), v3()));
        Map<K, Collection<V>> expected = Maps.newHashMap();
        expected.put(k0(), Lists.newArrayList(v0(), v3()));
        expected.put(k1(), Lists.newArrayList(v0()));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap()).testEquals();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/CapabilityNotationParserFactory.java

        }
    
        private static class StrictCapabilityMapNotationParser extends MapNotationConverter<Capability> {
            @Override
            public void describe(DiagnosticsVisitor visitor) {
                visitor.candidate("Maps").example("[group: 'org.group', name: 'capability', version: '1.0']");
            }
    
            protected Capability parseMap(@MapKey("group") String group,
                                          @MapKey("name") String name,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/AbstractValueGraph.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.Beta;
    import com.google.common.collect.Maps;
    import java.util.Map;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * This class provides a skeletal implementation of {@link ValueGraph}. It is recommended to extend
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. platforms/core-runtime/functional/src/main/java/org/gradle/internal/Deferrable.java

         *
         * A result is only calculated once.
         */
        T completeAndGet();
    
        /**
         * Maps the result of the invocation via a mapper.
         *
         * @param mapper An inexpensive function on the result.
         * @throws NullPointerException if the mapper maps to {@code null}.
         */
        default <U> Deferrable<U> map(Function<? super T, U> mapper) {
            return new Deferrable<U>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top