Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 45 for new384 (0.13 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"New", Func, 0},
    		{"Size", Const, 0},
    		{"Table", Type, 0},
    		{"Update", Func, 0},
    	},
    	"hash/fnv": {
    		{"New128", Func, 9},
    		{"New128a", Func, 9},
    		{"New32", Func, 0},
    		{"New32a", Func, 0},
    		{"New64", Func, 0},
    		{"New64a", Func, 0},
    	},
    	"hash/maphash": {
    		{"(*Hash).BlockSize", Method, 14},
    		{"(*Hash).Reset", Method, 14},
    		{"(*Hash).Seed", Method, 14},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  2. pkg/serviceaccount/jwt.go

    func signerFromECDSAPrivateKey(keyPair *ecdsa.PrivateKey) (jose.Signer, error) {
    	var alg jose.SignatureAlgorithm
    	switch keyPair.Curve {
    	case elliptic.P256():
    		alg = jose.ES256
    	case elliptic.P384():
    		alg = jose.ES384
    	case elliptic.P521():
    		alg = jose.ES512
    	default:
    		return nil, fmt.Errorf("unknown private key curve, must be 256, 384, or 521")
    	}
    
    	keyID, err := keyIDFromPublicKey(&keyPair.PublicKey)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. pkg/kubelet/container/helpers.go

    // the running container with its desired spec.
    // Note: remember to update hashValues in container_hash_test.go as well.
    func HashContainer(container *v1.Container) uint64 {
    	hash := fnv.New32a()
    	containerJSON, _ := json.Marshal(pickFieldsToHash(container))
    	hashutil.DeepHashObject(hash, containerJSON)
    	return uint64(hash.Sum32())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. pkg/controller/tainteviction/taint_eviction.go

    type nodeUpdateItem struct {
    	nodeName string
    }
    
    type podUpdateItem struct {
    	podName      string
    	podNamespace string
    	nodeName     string
    }
    
    func hash(val string, max int) int {
    	hasher := fnv.New32a()
    	io.WriteString(hasher, val)
    	return int(hasher.Sum32() % uint32(max))
    }
    
    // GetPodsByNodeNameFunc returns the list of pods assigned to the specified node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. tensorflow/cc/gradients/nn_grad_test.cc

          tensor_flat(i) = cur;
          cur += 5e-2;
        }
        // Fischer-Yates shuffle the array
        for (size_t i = tensor->NumElements() - 1; i >= 1; i--) {
          // j <- random integer 0 <= j <= i
          size_t j = random::New64() % (i + 1);
          // swap values at i, j
          T tmp = tensor_flat(i);
          tensor_flat(i) = tensor_flat(j);
          tensor_flat(j) = tmp;
        }
      }
    
      Scope scope_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 20:45:22 UTC 2022
    - 15K bytes
    - Viewed (0)
  6. pkg/controller/history/controller_history.go

    // of probe is added written to the hash as well. The returned hash will be a safe encoded string to avoid bad words.
    func HashControllerRevision(revision *apps.ControllerRevision, probe *int32) string {
    	hf := fnv.New32()
    	if len(revision.Data.Raw) > 0 {
    		hf.Write(revision.Data.Raw)
    	}
    	if revision.Data.Object != nil {
    		hashutil.DeepHashObject(hf, revision.Data.Object)
    	}
    	if probe != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 13:33:52 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

    constexpr char kDefaultShardingValue[] = "";
    constexpr char kMirroredVariableIndicesAttr[] = "_mirrored_variable_indices";
    
    std::string GetRandomStateVariableName() {
      return absl::StrCat("VariablesFormatState_", tensorflow::random::New64());
    }
    
    #define GEN_PASS_DEF_TPUVARIABLERUNTIMEREFORMATTINGPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.h.inc"
    
    struct TPUVariableRuntimeReformattingPass
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/compare.go

    )
    
    func fakePC(n ir.Node) ir.Node {
    	// In order to get deterministic IDs, we include the package path, absolute filename, line number, column number
    	// in the calculation of the fakePC for the IR node.
    	hash := fnv.New32()
    	// We ignore the errors here because the `io.Writer` in the `hash.Hash` interface never returns an error.
    	io.WriteString(hash, base.Ctxt.Pkgpath)
    	io.WriteString(hash, base.Ctxt.PosTable.Pos(n.Pos()).AbsFilename())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  9. pkg/kubeapiserver/options/authentication.go

    			"Comma-separated list of allowed JOSE asymmetric signing algorithms. JWTs with a "+
    			"supported 'alg' header values are: RS256, RS384, RS512, ES256, ES384, ES512, PS256, PS384, PS512. "+
    			"Values are defined by RFC 7518 https://tools.ietf.org/html/rfc7518#section-3.1.")
    
    		fs.Var(cliflag.NewMapStringStringNoSplit(&o.OIDC.RequiredClaims), oidcRequiredClaimFlag, ""+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  10. pkg/kubeapiserver/options/authentication_test.go

    jwt:
    - issuer:
        url: https://test-issuer
        audiences: [ "🐼" ]
      claimMappings:
        username:
          claim: sub
          prefix: ""
    `,
    				OIDCSigningAlgs: []string{"ES256", "ES384", "ES512", "PS256", "PS384", "PS512", "RS256", "RS384", "RS512"},
    			},
    		},
    	}
    
    	for _, testcase := range testCases {
    		t.Run(testcase.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
Back to top