- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 249 for perfunc (0.53 sec)
-
test/typeparam/issue49309.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 17:26:40 UTC 2022 - 367 bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/abi.go
n := ir.NewReturnStmt(base.Pos, nil) n.Results = []ir.Node{call} tail = n } fn.Body.Append(tail) typecheck.FinishFuncBody() ir.CurFunc = fn typecheck.Stmts(fn.Body) // Restore previous context. base.Pos = savepos ir.CurFunc = savedcurfn } // CreateWasmImportWrapper creates a wrapper for imported WASM functions to // adapt them to the Go calling convention. The body for this function is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/compile/internal/walk/builtin.go
nl := typecheck.TempAt(base.Pos, ir.CurFunc, n.X.Type()) nr := typecheck.TempAt(base.Pos, ir.CurFunc, n.Y.Type()) var l []ir.Node l = append(l, ir.NewAssignStmt(base.Pos, nl, n.X)) l = append(l, ir.NewAssignStmt(base.Pos, nr, n.Y)) nfrm := ir.NewUnaryExpr(base.Pos, ir.OSPTR, nr) nto := ir.NewUnaryExpr(base.Pos, ir.OSPTR, nl) nlen := typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TINT]) // n = len(to)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0) -
pkg/volume/csi/csi_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 15:55:13 UTC 2022 - 21.1K bytes - Viewed (0) -
test/fixedbugs/issue56923.go
// license that can be found in the LICENSE file. package p type Eq[T any] interface { Eqv(a T, b T) bool } type EqFunc[T any] func(a, b T) bool func (r EqFunc[T]) Eqv(a, b T) bool { return r(a, b) } func New[T any](f func(a, b T) bool) Eq[T] { return EqFunc[T](f) } func Equal(a, b []byte) bool { return string(a) == string(b) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 496 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/cache.go
} if transformer == nil { panic("transformer must not be nil") } c.cache.Set(c.keyFunc(key), transformer, c.ttl) // Add metrics for cache size c.recordCacheSize(c.providerName, c.cache.Len()) } // keyFunc generates a string key by hashing the inputs. // This lowers the memory requirement of the cache. func (c *simpleCache) keyFunc(s []byte) string { h := c.hashPool.Get().(hash.Hash) h.Reset()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 31 20:26:58 UTC 2023 - 3.5K bytes - Viewed (0) -
src/cmd/compile/internal/walk/select.go
// generate sel-struct base.Pos = sellineno selv := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewArray(scasetype(), int64(ncas))) init = append(init, typecheck.Stmt(ir.NewAssignStmt(base.Pos, selv, nil))) // No initialization for order; runtime.selectgo is responsible for that. order := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewArray(types.Types[types.TUINT16], 2*int64(ncas))) var pc0, pcs ir.Node
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 01:53:41 UTC 2023 - 7.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_test_pkgselect.txt
t.Fatalf("bad") } } -- bar/bar.go -- package bar import "example/foo" func BarFunc() int { return foo.FooFunc2() } -- bar/bar_test.go -- package bar_test import ( "example/bar" "testing" ) func TestBar(t *testing.T) { if bar.BarFunc() != 42 { t.Fatalf("bad") } } -- baz/baz.go -- package baz func BazFunc() int { return -42
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 11:50:58 UTC 2022 - 1.3K bytes - Viewed (0) -
src/cmd/compile/internal/walk/temp.go
// allocated temporary variable of the given type. Statements to // zero-initialize tmp are appended to init. func stackTempAddr(init *ir.Nodes, typ *types.Type) *ir.AddrExpr { n := typecheck.TempAt(base.Pos, ir.CurFunc, typ) n.SetNonMergeable(true) return initStackTemp(init, n, nil) } // stackBufAddr returns the expression &tmp, where tmp is a newly // allocated temporary variable of type [len]elem. This variable is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 16:41:23 UTC 2024 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/cache.go
} if transformer == nil { panic("transformer must not be nil") } if len(transformer.info) == 0 { panic("info must not be empty") } c.cache.Set(keyFunc(dataCtx), transformer, c.ttl) } func keyFunc(dataCtx value.Context) string { return toString(dataCtx.AuthenticatedData()) } // toString performs unholy acts to avoid allocations func toString(b []byte) string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 19:25:52 UTC 2023 - 2.6K bytes - Viewed (0)