Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 716 for keyA (3.92 sec)

  1. src/crypto/ecdsa/ecdsa.go

    	md := sha512.New()
    	md.Write(priv.D.Bytes()) // the private key,
    	md.Write(entropy)        // the entropy,
    	md.Write(hash)           // and the input hash;
    	key := md.Sum(nil)[:32]  // and compute ChopMD-256(SHA-512),
    	// which is an indifferentiable MAC.
    
    	// Create an AES-CTR instance to use as a CSPRNG.
    	block, err := aes.NewCipher(key)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/controller.go

    	// Find all keys we need to lookup
    	keys := map[instancesKey]struct{}{}
    	for _, i := range instances {
    		keys[makeInstanceKey(i)] = struct{}{}
    	}
    	s.queueEdsEvent(keys, s.doEdsCacheUpdate)
    }
    
    // queueEdsEvent processes eds events sequentially for the passed keys and invokes the passed function.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/features/kube_features.go

    )
    
    func init() {
    	utilfeature.DefaultMutableFeatureGate.Add(defaultKubernetesFeatureGates)
    }
    
    // defaultKubernetesFeatureGates consists of all known Kubernetes-specific feature keys.
    // To add a new feature, define a key for it above and add it here. The features will be
    // available throughout Kubernetes binaries.
    var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:53:03 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/mime/multipart/writer.go

    	if w.lastpart != nil {
    		fmt.Fprintf(&b, "\r\n--%s\r\n", w.boundary)
    	} else {
    		fmt.Fprintf(&b, "--%s\r\n", w.boundary)
    	}
    
    	keys := make([]string, 0, len(header))
    	for k := range header {
    		keys = append(keys, k)
    	}
    	slices.Sort(keys)
    	for _, k := range keys {
    		for _, v := range header[k] {
    			fmt.Fprintf(&b, "%s: %s\r\n", k, v)
    		}
    	}
    	fmt.Fprintf(&b, "\r\n")
    	_, err := io.Copy(w.w, &b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    	return nil
    }
    
    func (s *store) prepareKey(key string) (string, error) {
    	if key == ".." ||
    		strings.HasPrefix(key, "../") ||
    		strings.HasSuffix(key, "/..") ||
    		strings.Contains(key, "/../") {
    		return "", fmt.Errorf("invalid key: %q", key)
    	}
    	if key == "." ||
    		strings.HasPrefix(key, "./") ||
    		strings.HasSuffix(key, "/.") ||
    		strings.Contains(key, "/./") {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. pkg/quota/v1/evaluator/core/persistent_volume_claims_test.go

    	classGold := "gold"
    	validClaim := testVolumeClaim("foo", "ns", core.PersistentVolumeClaimSpec{
    		Selector: &metav1.LabelSelector{
    			MatchExpressions: []metav1.LabelSelectorRequirement{
    				{
    					Key:      "key2",
    					Operator: "Exists",
    				},
    			},
    		},
    		AccessModes: []core.PersistentVolumeAccessMode{
    			core.ReadWriteOnce,
    			core.ReadOnlyMany,
    		},
    		Resources: core.VolumeResourceRequirements{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * Returns the value associated with {@code key}, or zero if there is no value associated with
       * {@code key}.
       */
      public long get(K key) {
        return map.getOrDefault(key, 0L);
      }
    
      /**
       * Increments by one the value currently associated with {@code key}, and returns the new value.
       */
      @CanIgnoreReturnValue
      public long incrementAndGet(K key) {
        return addAndGet(key, 1);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. pkg/kube/labels/labels.go

    }
    
    // lookupLabelValue returns the value of the first label in the supplied map that matches
    // one of the supplied keys.
    func lookupLabelValue(labels map[string]string, keys ...string) (string, bool) {
    	for _, key := range keys {
    		if value, ok := labels[key]; ok {
    			return value, true
    		}
    	}
    	return "", false
    }
    
    func HasCanonicalServiceName(labels map[string]string) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body-nested-models.md

    You can also declare a body as a `dict` with keys of some type and values of some other type.
    
    This way, you don't have to know beforehand what the valid field/attribute names are (as would be the case with Pydantic models).
    
    This would be useful if you want to receive keys that you don't already know.
    
    ---
    
    Another useful case is when you want to have keys of another type (e.g., `int`).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DependenciesExtensionModule.java

            return self.module(group, name, version);
        }
    
        @Nullable
        private static String extract(Map<String, CharSequence> map, String key) {
            return map.containsKey(key) ? map.get(key).toString() : null;
        }
    
        /**
         * Modifies a dependency.
         *
         * @param dependencyNotation dependency to modify
         * @return the modified dependency
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top