Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 458 for keyA (0.43 sec)

  1. src/context/context.go

    	return contextName(c.Context) + ".WithValue(" +
    		stringify(c.key) + ", " +
    		stringify(c.val) + ")"
    }
    
    func (c *valueCtx) Value(key any) any {
    	if c.key == key {
    		return c.val
    	}
    	return value(c.Context, key)
    }
    
    func value(c Context, key any) any {
    	for {
    		switch ctx := c.(type) {
    		case *valueCtx:
    			if key == ctx.key {
    				return ctx.val
    			}
    			c = ctx.Context
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption_test.go

    	path := root.Index(0).Child("provider").Index(0).Child("key").Index(0)
    	testCases := []struct {
    		desc string
    		in   apiserver.Key
    		want field.ErrorList
    	}{{
    		desc: "valid key",
    		in:   apiserver.Key{Name: "foo", Secret: "c2VjcmV0IGlzIHNlY3VyZQ=="},
    		want: field.ErrorList{},
    	}, {
    		desc: "key without name",
    		in:   apiserver.Key{Secret: "c2VjcmV0IGlzIHNlY3VyZQ=="},
    		want: field.ErrorList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 33.7K bytes
    - Viewed (0)
  3. src/crypto/tls/auth.go

    // an unsupported private key.
    func unsupportedCertificateError(cert *Certificate) error {
    	switch cert.PrivateKey.(type) {
    	case rsa.PrivateKey, ecdsa.PrivateKey:
    		return fmt.Errorf("tls: unsupported certificate: private key is %T, expected *%T",
    			cert.PrivateKey, cert.PrivateKey)
    	case *ed25519.PrivateKey:
    		return fmt.Errorf("tls: unsupported certificate: private key is *ed25519.PrivateKey, expected ed25519.PrivateKey")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/WriteDependencyVerificationFile.java

                !offline
            );
            if (!verificationsBuilder.isUseKeyServers() && !offline) {
                LOGGER.lifecycle("Will use key servers to download missing keys. If you really want to ignore key servers when generating the verification file, you can use the --offline flag in addition");
            }
            try {
                validateChecksums();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. src/crypto/rsa/rsa.go

    // primes for a given bit size.
    //
    // Although the public keys are compatible (actually, indistinguishable) from
    // the 2-prime case, the private keys are not. Thus it may not be possible to
    // export multi-prime private keys in certain formats or to subsequently import
    // them into other code.
    //
    // This package does not implement CRT optimizations for multi-prime RSA, so the
    // keys with more than two primes will have worse performance.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. pkg/util/iptree/iptree_test.go

    		}
    	}
    	if r.Len(false) != len(keys) {
    		t.Fatalf("bad len: %v %v", r.Len(false), len(keys))
    	}
    
    	// match exact prefix
    	path := []string{}
    	r.WalkPath(netip.MustParsePrefix("10.1.1.32/26"), func(k netip.Prefix, v int) bool {
    		path = append(path, k.String())
    		return false
    	})
    	if !cmp.Equal(path, keys[:4]) {
    		t.Errorf("Walkpath expected %v got %v", keys[:4], path)
    	}
    	// not match on prefix
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle-handlers_test.go

    			bucketName:         bucketName,
    			accessKey:          creds.AccessKey,
    			secretKey:          creds.SecretKey,
    			body:               []byte(`<LifecycleConfiguration><Rule><ID>id</ID><Filter><Prefix>logs/</Prefix><Tag><Key>Key1</Key><Value>Value1</Value></Tag></Filter><Status>Enabled</Status><Expiration><Days>365</Days></Expiration></Rule></LifecycleConfiguration>`),
    			expectedRespStatus: http.StatusBadRequest,
    			lifecycleResponse:  []byte(``),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. src/log/slog/handler_test.go

    // that removes all Attrs with the given keys.
    func removeKeys(keys ...string) func([]string, Attr) Attr {
    	return func(_ []string, a Attr) Attr {
    		for _, k := range keys {
    			if a.Key == k {
    				return Attr{}
    			}
    		}
    		return a
    	}
    }
    
    func upperCaseKey(_ []string, a Attr) Attr {
    	a.Key = strings.ToUpper(a.Key)
    	return a
    }
    
    type logValueName struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 13:57:53 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

        const auto& keys = computation_map.Keys();
        for (size_t i = 0; i < keys.size(); ++i) {
          const auto key = keys[i].AsKey();
          const auto& value = computation_map[key];
          if (has_side_effect_key == key) has_side_effect_set = true;
          if (value.IsBool()) {
            auto attr = value.AsBool();
            auto named_attr =
                builder.getNamedAttr(key, BuildVhloBooleanV1Attr(attr, builder));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  10. pilot/pkg/model/endpointshards.go

    		keys = append(keys, k)
    	}
    	if len(keys) >= 2 {
    		sort.Slice(keys, func(i, j int) bool {
    			if keys[i].Provider == keys[j].Provider {
    				return keys[i].Cluster < keys[j].Cluster
    			}
    			return keys[i].Provider < keys[j].Provider
    		})
    	}
    	return keys
    }
    
    // CopyEndpoints takes a snapshot of all endpoints. As input, it takes a map of port name to number, to allow it to group
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top