- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for has_func (0.26 sec)
-
src/crypto/tls/auth_test.go
} sigType, hashFunc, err = legacyTypeAndHashFromPublicKey(testECDSAPrivateKey.Public()) if err != nil { t.Errorf("ECDSA: unexpected error: %v", err) } if expectedSigType := signatureECDSA; expectedSigType != sigType { t.Errorf("ECDSA: expected signature type %#x, got %#x", expectedSigType, sigType) } if expectedHashFunc := crypto.SHA1; expectedHashFunc != hashFunc {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 08 21:48:41 UTC 2020 - 6.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cache_striped.go
"hash/fnv" "time" ) // split cache lookups across N striped caches type stripedCache struct { stripeCount uint32 hashFunc func(string) uint32 caches []cache } type hashFunc func(string) uint32 type newCacheFunc func() cache func newStripedCache(stripeCount int, hash hashFunc, newCacheFunc newCacheFunc) cache { caches := []cache{} for i := 0; i < stripeCount; i++ { caches = append(caches, newCacheFunc())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 22 17:16:59 UTC 2018 - 1.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/passbm_test.go
func BenchmarkMultiPassBlock(b *testing.B) { benchFnBlock(b, multi, genFunction) } // benchFnPass runs passFunc b.N times across a single function. func benchFnPass(b *testing.B, fn passFunc, size int, bg blockGen) { b.ReportAllocs() c := testConfig(b) fun := c.Fun("entry", bg(size)...) CheckFunc(fun.f) b.ResetTimer() for i := 0; i < b.N; i++ { fn(fun.f)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 3.1K bytes - Viewed (0) -
src/crypto/crypto.go
import ( "hash" "io" "strconv" ) // Hash identifies a cryptographic hash function that is implemented in another // package. type Hash uint // HashFunc simply returns the value of h so that [Hash] implements [SignerOpts]. func (h Hash) HashFunc() Hash { return h } func (h Hash) String() string { switch h { case MD4: return "MD4" case MD5: return "MD5" case SHA1: return "SHA-1"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_remaining_ops.cc
} func::FuncOp func = module_for_func->lookupSymbol<func::FuncOp>("host_func"); if (!func) return op.emitError() << "serialized module in attribute 'host_mlir_module' does not " "contain 'host_func' function."; if (op->getNumOperands() != func.getFunctionType().getNumInputs()) return op.emitError() << "'host_func' has " << func.getFunctionType().getNumInputs()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 20:05:58 UTC 2023 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/prepare_tpu_computation_for_tf_export.mlir
// CHECK-SAME: recv_key = "host_compute_channel_recv" // CHECK-SAME: send_key = "host_compute_channel_send" // CHECK-SAME: shape_inference_graph = @host_func // CHECK-SAME: shapes = [#tf_type.shape<*>, #tf_type.shape<3x?>] // CHECK-SAME: tpu_core = 0 : i64 // CHECK: func @host_func // CHECK: %[[RECV_OUTPUT:[0-9]*]]:2 = "tf._XlaRecvAtHost" // CHECK-SAME: key = "host_compute_channel_send"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 18:46:36 UTC 2024 - 9.2K bytes - Viewed (0) -
src/runtime/internal/startlinetest/func_amd64.go
// Package startlinetest contains helpers for runtime_test.TestStartLineAsm. package startlinetest // Defined in func_amd64.s, this is a trivial assembly function that calls // runtime_test.callerStartLine. func AsmFunc() int // Provided by runtime_test.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 22 04:34:33 UTC 2022 - 452 bytes - Viewed (0) -
src/runtime/start_line_amd64_test.go
// copies of this function. func TestStartLineAsm(t *testing.T) { startlinetest.CallerStartLine = callerStartLine const wantLine = 23 got := startlinetest.AsmFunc() if got != wantLine { t.Errorf("start line got %d want %d", got, wantLine) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 22 04:34:33 UTC 2022 - 647 bytes - Viewed (0) -
src/runtime/internal/startlinetest/func_amd64.s
// // Thus it is simpler to just put this in its own package, imported only by // runtime_test. We use ABIInternal as no ABI wrapper is generated for // callerStartLine since it is in a different package. TEXT ·AsmFunc<ABIInternal>(SB),NOSPLIT,$8-0 NO_LOCAL_POINTERS MOVQ $0, AX // wantInlined MOVQ ·CallerStartLine(SB), DX CALL (DX)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 22 04:34:33 UTC 2022 - 1K bytes - Viewed (0) -
src/crypto/tls/prf.go
func prf12(hashFunc func() hash.Hash) func(result, secret, label, seed []byte) { return func(result, secret, label, seed []byte) { labelAndSeed := make([]byte, len(label)+len(seed)) copy(labelAndSeed, label) copy(labelAndSeed[len(label):], seed) pHash(result, secret, labelAndSeed, hashFunc) } } const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 16:29:49 UTC 2023 - 9.2K bytes - Viewed (0)