Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 202 for envmap (0.13 sec)

  1. pkg/kubelet/cm/devicemanager/pod_devices.go

    		for k, v := range resp.Envs {
    			if e, ok := envsMap[k]; ok {
    				klog.V(4).InfoS("Skip existing env", "envKey", k, "envValue", v)
    				if e != v {
    					klog.ErrorS(nil, "Environment variable has conflicting setting", "envKey", k, "expected", v, "got", e)
    				}
    				continue
    			}
    			klog.V(4).InfoS("Add env", "envKey", k, "envValue", v)
    			envsMap[k] = v
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            checkState(newMap instanceof MapMakerInternalMap);
            newMap.putAll(map);
            return newMap;
          }
        },
        MapMakerWeakKeysStrongValues {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            ConcurrentMap<K, V> newMap = new MapMaker().weakKeys().makeMap();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 04 04:06:35 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  3. src/internal/concurrent/hashtriemap_test.go

    			return 0
    		}
    		return m
    	})
    }
    
    func testHashTrieMap(t *testing.T, newMap func() *HashTrieMap[string, int]) {
    	t.Run("LoadEmpty", func(t *testing.T) {
    		m := newMap()
    
    		for _, s := range testData {
    			expectMissing(t, s, 0)(m.Load(s))
    		}
    	})
    	t.Run("LoadOrStore", func(t *testing.T) {
    		m := newMap()
    
    		for i, s := range testData {
    			expectMissing(t, s, 0)(m.Load(s))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. test/stress/maps.go

    	}
    }
    
    type intMapType struct{}
    
    func (intMapType) NewMap() Map {
    	return make(intMap)
    }
    
    var deadcafe = []byte("\xDE\xAD\xCA\xFE")
    
    type intMap map[int][]byte
    
    func (m intMap) AddItem() {
    	s0 := len(m)
    	for len(m) == s0 {
    		key := rand.Intn(s0 + 1)
    		m[key] = make([]byte, rand.Intn(64<<10))
    	}
    }
    
    func (m intMap) DelItem() {
    	for k := range m {
    		delete(m, k)
    		return
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  5. src/go/types/map.go

    // license that can be found in the LICENSE file.
    
    package types
    
    // A Map represents a map type.
    type Map struct {
    	key, elem Type
    }
    
    // NewMap returns a new map for the given key and element types.
    func NewMap(key, elem Type) *Map {
    	return &Map{key: key, elem: elem}
    }
    
    // Key returns the key type of map m.
    func (m *Map) Key() Type { return m.key }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 781 bytes
    - Viewed (0)
  6. src/cmd/go/internal/envcmd/env.go

    	}
    	ar, arChanged := cfg.EnvOrAndChanged("AR", "ar")
    	env = append(env, cfg.EnvVar{Name: "AR", Value: ar, Changed: arChanged})
    	env = append(env, cfg.EnvVar{Name: "CC", Value: cc, Changed: ccChanged})
    	env = append(env, cfg.EnvVar{Name: "CXX", Value: cxx, Changed: cxxChanged})
    
    	if cfg.BuildContext.CgoEnabled {
    		env = append(env, cfg.EnvVar{Name: "CGO_ENABLED", Value: "1", Changed: cfg.CGOChanged})
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. cni/pkg/install/cniconfig.go

    	}
    
    	delete(istioMap, "cniVersion")
    
    	var newMap map[string]any
    
    	if _, ok := existingMap["type"]; ok {
    		// Assume it is a regular network conf file
    		delete(existingMap, "cniVersion")
    
    		plugins := make([]map[string]any, 2)
    		plugins[0] = existingMap
    		plugins[1] = istioMap
    
    		newMap = map[string]any{
    			"name":       "k8s-pod-network",
    			"cniVersion": "0.3.1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. src/mdo/transformer.vm

            Map<String, T> newMap = map;
            for (String key : map.keySet()) {
                T oldVal = map.get(key);
                T newVal = transformer.apply(oldVal);
                if (newVal != oldVal) {
                    if (newMap == map) {
                        newMap = new HashMap<>(map);
                    }
                    newMap.put(key, newVal);
                }
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetector.java

            }
            return getMetadataFromInstallation(javaHome);
        }
    
        private JvmInstallationMetadata getMetadataFromCurrentJvm(File javaHome) {
            EnumMap<ProbedSystemProperty, String> result = new EnumMap<>(ProbedSystemProperty.class);
            for (ProbedSystemProperty type : ProbedSystemProperty.values()) {
                if (type != ProbedSystemProperty.Z_ERROR) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 02:32:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. test/typeparam/issue47877.go

    package main
    
    type Map[K comparable, V any] struct {
            m map[K]V
    }
    
    func NewMap[K comparable, V any]() Map[K, V] {
            return Map[K, V]{m: map[K]V{}}
    }
    
    func (m Map[K, V]) Get(key K) V {
            return m.m[key]
    }
    
    func main() {
            _ = NewMap[int, struct{}]()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 444 bytes
    - Viewed (0)
Back to top