Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 443 for map1 (0.06 sec)

  1. src/cmd/internal/objabi/pkgspecial.go

    }
    
    var (
    	pkgSpecials     map[string]PkgSpecial
    	pkgSpecialsOnce sync.Once
    )
    
    // LookupPkgSpecial returns special build properties for the given package path.
    func LookupPkgSpecial(pkgPath string) PkgSpecial {
    	pkgSpecialsOnce.Do(func() {
    		// Construct pkgSpecials from various package lists. This lets us use
    		// more flexible logic, while keeping the final map simple, and avoids
    		// the init-time cost of a map.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 02:32:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. tests/integration/ambient/cnirepair/main_test.go

    			ServiceAccount: true,
    			Subsets: []echo.SubsetConfig{
    				{
    					Replicas: 1,
    					Version:  "v1",
    					Labels:   map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeNone},
    				},
    				{
    					Replicas: 1,
    					Version:  "v2",
    					Labels:   map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeNone},
    				},
    			},
    		}).
    		WithConfig(echo.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 09 09:12:45 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. internal/config/config.go

    	}
    	return s.String()
    }
    
    // Merge environment values with on disk KVS, environment values overrides
    // anything on the disk.
    func Merge(cfgKVS map[string]KVS, envname string, defaultKVS KVS) map[string]KVS {
    	newCfgKVS := make(map[string]KVS)
    	for _, e := range env.List(envname) {
    		tgt := strings.TrimPrefix(e, envname+Default)
    		if tgt == envname {
    			tgt = Default
    		}
    		newCfgKVS[tgt] = defaultKVS
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  4. pkg/spiffe/spiffe.go

    func RetrieveSpiffeBundleRootCerts(config map[string]string, caCertPool *x509.CertPool, retryTimeout time.Duration) (
    	map[string][]*x509.Certificate, error,
    ) {
    	httpClient := &http.Client{
    		Timeout: time.Second * 10,
    	}
    
    	ret := map[string][]*x509.Certificate{}
    	for trustDomain, endpoint := range config {
    		if !strings.HasPrefix(endpoint, "https://") {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. cni/pkg/plugin/plugin_test.go

    			Namespace:   testNSName,
    			Annotations: map[string]string{},
    		},
    		Spec: corev1.PodSpec{
    			Containers: []corev1.Container{app, proxy},
    		},
    	}
    
    	fakeNS := &corev1.Namespace{
    		TypeMeta: metav1.TypeMeta{
    			APIVersion: "core/v1",
    			Kind:       "Namespace",
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      testNSName,
    			Namespace: "",
    			Labels:    map[string]string{},
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/service/scopes/DefaultGradleUserHomeScopeServiceRegistry.java

    import org.gradle.internal.service.ServiceRegistry;
    import org.gradle.internal.service.ServiceRegistryBuilder;
    
    import java.io.Closeable;
    import java.io.File;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Optional;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		}
    		inMap := map[string]interface{}{}
    		if err := json.Unmarshal(inBytes, &inMap); err != nil {
    			t.Fatalf("failed to json.Unmarshal(in): %v", err)
    		}
    		outMap := map[string]interface{}{}
    		if err := json.Unmarshal(outBytes, &outMap); err != nil {
    			t.Fatalf("failed to json.Unmarshal(out): %v", err)
    		}
    
    		// Patch the maps to handle any expected differences before we compare
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  8. src/encoding/json/encode_test.go

    		{Name(""), &struct{ M *RawMessage }{&rawNil}, `{"M":null}`, true},
    		{Name(""), map[string]any{"M": rawNil}, `{"M":null}`, true},
    		{Name(""), &map[string]any{"M": rawNil}, `{"M":null}`, true},
    		{Name(""), map[string]any{"M": &rawNil}, `{"M":null}`, true},
    		{Name(""), &map[string]any{"M": &rawNil}, `{"M":null}`, true},
    		{Name(""), T1{rawNil}, "{}", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/cache/desired_state_of_world.go

    	// current desired state of the world.
    	GetVolumesToMount() []VolumeToMount
    
    	// GetPods generates and returns a map of pods in which map is indexed
    	// with pod's unique name. This map can be used to determine which pod is currently
    	// in desired state of world.
    	GetPods() map[types.UniquePodName]bool
    
    	// VolumeExistsWithSpecName returns true if the given volume specified with the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/v1beta3/conversion.go

    	})
    	return args
    }
    
    // convertFromArgs takes a slice of arguments and returns an argument map.
    // Duplicate argument keys will be de-duped, where later keys will take precedence.
    func convertFromArgs(in []kubeadm.Arg) map[string]string {
    	if in == nil {
    		return nil
    	}
    	args := make(map[string]string, len(in))
    	for _, arg := range in {
    		args[arg.Name] = arg.Value
    	}
    	return args
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top