Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for key0 (0.12 sec)

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

    						resp.Envs = make(map[string]string)
    						for _, dev := range devs {
    							switch dev {
    							case "dev3":
    								resp.Envs["key2"] = "val2"
    
    							case "dev4":
    								resp.Envs["key2"] = "val3"
    							}
    						}
    						resps := new(pluginapi.AllocateResponse)
    						resps.ContainerResponses = append(resps.ContainerResponses, resp)
    						return resps, nil
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  2. src/net/http/request.go

    // if necessary and ignores any errors returned by these functions.
    // If key is not present, FormValue returns the empty string.
    // To access multiple values of the same key, call ParseForm and
    // then inspect [Request.Form] directly.
    func (r *Request) FormValue(key string) string {
    	if r.Form == nil {
    		r.ParseMultipartForm(defaultMaxMemory)
    	}
    	if vs := r.Form[key]; len(vs) > 0 {
    		return vs[0]
    	}
    	return ""
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  3. src/go/types/expr.go

    					check.expr(nil, x, kv.Value)
    					if key == nil {
    						check.errorf(kv, InvalidLitField, "invalid field name %s in struct literal", kv.Key)
    						continue
    					}
    					i := fieldIndex(utyp.fields, check.pkg, key.Name, false)
    					if i < 0 {
    						var alt Object
    						if j := fieldIndex(fields, check.pkg, key.Name, true); j >= 0 {
    							alt = fields[j]
    						}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    }
    
    func (c *iamCache) updateUserWithClaims(key string, u UserIdentity) error {
    	if u.Credentials.SessionToken != "" {
    		jwtClaims, err := extractJWTClaims(u)
    		if err != nil {
    			return err
    		}
    		u.Credentials.Claims = jwtClaims.Map()
    	}
    	if u.Credentials.IsTemp() && !u.Credentials.IsServiceAccount() {
    		c.iamSTSAccountsMap[key] = u
    	} else {
    		c.iamUsersMap[key] = u
    	}
    	c.updatedAt = time.Now()
    	return nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                        try {
                            key = Integer.valueOf(key.toString());
                        } catch (NumberFormatException e) {
                            // use key as is
                        }
                    }
    
                    location = tracker.getLocation(key);
                }
    
                if (location == null) {
                    location = tracker.getLocation(EMPTY);
                }
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_server_test.go

    	defer cancel()
    	key := struct{}{}
    	ctx = context.WithValue(ctx, key, true)
    	go func() {
    		defer close(clientErr)
    		defer c.Close()
    		var innerCtx context.Context
    		clientConfig.Certificates = nil
    		clientConfig.GetClientCertificate = func(certificateRequest *CertificateRequestInfo) (*Certificate, error) {
    			if val, ok := certificateRequest.Context().Value(key).(bool); !ok || !val {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  7. pkg/kube/inject/testdata/inputs/enable-core-dump.yaml.5.template.gen.yaml

            {{- range $key, $value := fromJSON (index .ObjectMeta.Annotations `apm.datadoghq.com/env`) }}
            - name: {{ $key }}
              value: "{{ $value }}"
            {{- end }}
            {{- end }}
            {{- range $key, $value := .ProxyConfig.ProxyMetadata }}
            - name: {{ $key }}
              value: "{{ $value }}"
            {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  8. pkg/kube/inject/testdata/inputs/hello-existing-cncf-networks-json.yaml.16.template.gen.yaml

            {{- range $key, $value := fromJSON (index .ObjectMeta.Annotations `apm.datadoghq.com/env`) }}
            - name: {{ $key }}
              value: "{{ $value }}"
            {{- end }}
            {{- end }}
            {{- range $key, $value := .ProxyConfig.ProxyMetadata }}
            - name: {{ $key }}
              value: "{{ $value }}"
            {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inputs/hello-image-pull-secret.yaml.11.template.gen.yaml

            {{- range $key, $value := fromJSON (index .ObjectMeta.Annotations `apm.datadoghq.com/env`) }}
            - name: {{ $key }}
              value: "{{ $value }}"
            {{- end }}
            {{- end }}
            {{- range $key, $value := .ProxyConfig.ProxyMetadata }}
            - name: {{ $key }}
              value: "{{ $value }}"
            {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inputs/hello.yaml.0.template.gen.yaml

            {{- range $key, $value := fromJSON (index .ObjectMeta.Annotations `apm.datadoghq.com/env`) }}
            - name: {{ $key }}
              value: "{{ $value }}"
            {{- end }}
            {{- end }}
            {{- range $key, $value := .ProxyConfig.ProxyMetadata }}
            - name: {{ $key }}
              value: "{{ $value }}"
            {{- end }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 75.9K bytes
    - Viewed (0)
Back to top