Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,192 for map1 (3.71 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadata.java

    import com.google.common.collect.ImmutableBiMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.ImmutableSortedSet;
    import com.google.common.collect.Maps;
    import org.gradle.internal.Cast;
    import org.gradle.internal.reflect.validation.TypeValidationContext;
    import org.gradle.internal.reflect.validation.ReplayingTypeValidationContext;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:21 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/impl/DefaultFileCollectionFingerprinterRegistry.java

    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Maps;
    import org.gradle.internal.execution.FileCollectionFingerprinter;
    import org.gradle.internal.execution.FileCollectionFingerprinterRegistry;
    import org.gradle.internal.execution.FileNormalizationSpec;
    
    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/failure/mappers/OpenTestMultipleFailuresMapperTestError.groovy

            }
        }
    
        def "maps assertion failure correctly"() {
            when:
            def mappedFailure = mapper.map(error, rootMapper)
    
            then:
            assert mappedFailure.causes.size() == 3
            assert mappedFailure.rawFailure instanceof MultipleFailuresError
        }
    
        def "maps inner assertion failures correctly"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

        @Override
        protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {
          Map<AnEnum, String> map = Maps.newHashMap();
          for (Entry<AnEnum, String> entry : entries) {
            // checkArgument(!map.containsKey(entry.getKey()));
            map.put(entry.getKey(), entry.getValue());
          }
          return Maps.immutableEnumMap(map);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/labels/labels.go

    	return SelectorFromValidatedSet(ls)
    }
    
    // FormatLabels converts label map into plain string
    func FormatLabels(labelMap map[string]string) string {
    	l := Set(labelMap).String()
    	if l == "" {
    		l = "<none>"
    	}
    	return l
    }
    
    // Conflicts takes 2 maps and returns true if there a key match between
    // the maps but the value doesn't match, and returns false in other cases
    func Conflicts(labels1, labels2 Set) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 14 16:39:04 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  6. platforms/jvm/scala/src/test/groovy/org/gradle/api/tasks/scala/BaseScalaOptionTest.groovy

        protected T testObject
    
        abstract T newTestObject()
    
        abstract List<Map<String, String>> stringProperties()
    
        abstract List<Map<String, String>> onOffProperties()
    
        abstract List<Map<String, String>> listProperties()
    
        def "String #fixture.fieldName maps to #fixture.antProperty with a default value of #fixture.defaultValue"(Map<String, String> fixture) {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/CollectionMapperTest.groovy

            DomainObjectSet | ArrayList
            Set             | LinkedHashSet
            SortedSet       | TreeSet
        }
    
        def "maps map types"() {
            expect:
            def map = mapper.createEmptyMap(sourceType)
            map.getClass() == mapType
    
            where:
            sourceType | mapType
            Map        | LinkedHashMap
            SortedMap  | TreeMap
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. pkg/kube/krt/static.go

    // limitations under the License.
    
    package krt
    
    import (
    	"istio.io/istio/pkg/kube/controllers"
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    type staticList[T any] struct {
    	vals map[Key[T]]T
    	id   collectionUID
    }
    
    func NewStaticCollection[T any](vals []T) Collection[T] {
    	res := map[Key[T]]T{}
    	for _, v := range vals {
    		res[GetKey(v)] = v
    	}
    	return &staticList[T]{
    		vals: res,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/tasks/FilePropertyVisitState.java

    import com.google.common.collect.Maps;
    import org.gradle.api.internal.tasks.properties.InputFilePropertySpec;
    import org.gradle.api.internal.tasks.properties.PropertySpec;
    import org.gradle.internal.fingerprint.CurrentFileCollectionFingerprint;
    import org.gradle.internal.snapshot.DirectorySnapshot;
    import org.gradle.operations.execution.FilePropertyVisitor;
    
    import java.util.Map;
    import java.util.Set;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 07 15:16:07 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.ImmutableBiMap;
    import com.google.common.collect.Maps;
    import java.util.Arrays;
    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * Generators of various {@link com.google.common.collect.BiMap}s and derived collections.
     *
     * @author Jared Levy
     * @author Hayward Chan
     */
    @GwtCompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top