Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,300 for map1 (0.87 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. subprojects/core/src/main/java/org/gradle/process/internal/DefaultProcessForkOptions.java

        }
    
        public static Map<String, String> getActualEnvironment(ProcessForkOptions forkOptions) {
            Map<String, String> actual = new HashMap<>();
            for (Map.Entry<String, Object> entry : forkOptions.getEnvironment().entrySet()) {
                actual.put(entry.getKey(), String.valueOf(entry.getValue()));
            }
            return actual;
        }
    
        @Override
        public void setEnvironment(Map<String, ?> environmentVariables) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. pkg/config/resource/metadata.go

    import (
    	"time"
    
    	"istio.io/istio/pkg/config/schema/resource"
    	"istio.io/istio/pkg/maps"
    )
    
    // Metadata about a resource.
    type Metadata struct {
    	Schema      resource.Schema
    	FullName    FullName
    	CreateTime  time.Time
    	Version     Version
    	Generation  int64
    	Labels      map[string]string
    	Annotations map[string]string
    }
    
    // Clone Metadata. Warning, this is expensive!
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 26 13:19:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Map;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A map, each entry of which maps a {@link TypeToken} to an instance of that type. In addition to
     * implementing {@code Map}, the additional type-safe operations {@link #putInstance} and {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Apr 22 01:15:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/TypeToInstanceMap.java

    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Map;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A map, each entry of which maps a {@link TypeToken} to an instance of that type. In addition to
     * implementing {@code Map}, the additional type-safe operations {@link #putInstance} and {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Apr 22 01:15:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java

    @ElementTypesAreNonnullByDefault
    final class JdkBackedImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
      static <K, V> ImmutableBiMap<K, V> create(int n, @Nullable Entry<K, V>[] entryArray) {
        Map<K, V> forwardDelegate = Maps.newHashMapWithExpectedSize(n);
        Map<V, K> backwardDelegate = Maps.newHashMapWithExpectedSize(n);
        for (int i = 0; i < n; i++) {
          // requireNonNull is safe because the first `n` elements have been filled in.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Platform.java

      /** Returns the platform preferred implementation of a map based on a hash table. */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return Maps.newHashMapWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred implementation of an insertion ordered map based on a hash
       * table.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top