- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 517 for Fn (0.27 sec)
-
test/fixedbugs/issue13799.go
m := &x var fn func() // ERROR "moved to heap: fn$" for i := 0; i < maxI; i++ { // var fn func() // this makes it work, because fn stays off heap j := 0 // ERROR "moved to heap: j$" fn = func() { // ERROR "func literal escapes to heap$" if j < 100 { j++ fn() } else { *m = *m + 1 } } fn() } if *m != maxI {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 18:50:24 UTC 2023 - 4.9K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
if fn.dwarfRangesSym != nil && fn.dwarfRangesSym.Size != 0 { w.aux1(goobj.AuxDwarfRanges, fn.dwarfRangesSym) } if fn.dwarfDebugLinesSym != nil && fn.dwarfDebugLinesSym.Size != 0 { w.aux1(goobj.AuxDwarfLines, fn.dwarfDebugLinesSym) } if fn.Pcln.Pcsp != nil && fn.Pcln.Pcsp.Size != 0 { w.aux1(goobj.AuxPcsp, fn.Pcln.Pcsp) } if fn.Pcln.Pcfile != nil && fn.Pcln.Pcfile.Size != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/nowb.go
var q ir.NameQueue for _, fn := range typecheck.Target.Funcs { symToFunc[fn.LSym] = fn // Make nowritebarrierrec functions BFS roots. if fn.Pragma&ir.Nowritebarrierrec != 0 { funcs[fn] = nowritebarrierrecCall{} q.PushRight(fn.Nname) } // Check go:nowritebarrier functions. if fn.Pragma&ir.Nowritebarrier != 0 && fn.WBPos.IsKnown() { base.ErrorfAt(fn.WBPos, 0, "write barrier prohibited") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 17:29:46 UTC 2024 - 5.9K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go
ps.print(t.Name) } func (t *Typed) Traverse(fn func(AST) bool) { if fn(t) { t.Name.Traverse(fn) t.Type.Traverse(fn) } } func (t *Typed) Copy(fn func(AST) AST, skip func(AST) bool) AST { if skip(t) { return nil } name := t.Name.Copy(fn, skip) typ := t.Type.Copy(fn, skip) if name == nil && typ == nil { return fn(t) } if name == nil { name = t.Name }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 105.8K bytes - Viewed (0) -
test/typeparam/issue51233.go
type RC[RG any] interface { ~[]RG } type Fn[RCT RC[RG], RG any] func(RCT) type FFn[RCT RC[RG], RG any] func() Fn[RCT] // ERROR "not enough type arguments for type Fn: have 1, want 2" type F[RCT RC[RG], RG any] interface { Fn() Fn[RCT] // ERROR "not enough type arguments for type Fn: have 1, want 2" } type concreteF[RCT RC[RG], RG any] struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 00:50:55 UTC 2023 - 816 bytes - Viewed (0) -
test/typeparam/issue51232.go
type RC[RG any] interface { ~[]RG } type Fn[RCT RC[RG], RG any] func(RCT) type F[RCT RC[RG], RG any] interface { Fn() Fn[RCT] // ERROR "not enough type arguments for type Fn: have 1, want 2" } type concreteF[RCT RC[RG], RG any] struct { makeFn func() Fn[RCT] // ERROR "not enough type arguments for type Fn: have 1, want 2" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 00:50:55 UTC 2023 - 898 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd_libc.go
func syscall_syscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) func syscall_syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) func syscall_syscall10(fn, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10 uintptr) (r1, r2 uintptr, err Errno) func syscall_rawSyscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) func syscall_rawSyscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compiler_test.cc
xla::LocalExecutable* xla_executable = nullptr; XlaCompiler::Options options = GetDefaultXlaOptions(); NameAttrList fn; fn.set_name("foo"); TF_EXPECT_OK(xla_device_compiler_->CompileIfNeeded( options, fn, SampleArgsForAddXY(), XlaCompiler::CompileOptions{}, DeviceCompileMode::kStrict, profiler_, &compilation_result, &xla_executable));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 19.8K bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue51233.go
type RC[RG any] interface { ~[]RG } type Fn[RCT RC[RG], RG any] func(RCT) type FFn[RCT RC[RG], RG any] func() Fn /* ERROR "not enough type arguments for type Fn: have 1, want 2" */ [RCT] type F[RCT RC[RG], RG any] interface { Fn() Fn /* ERROR "not enough type arguments for type Fn: have 1, want 2" */ [RCT] } type concreteF[RCT RC[RG], RG any] struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 00:50:55 UTC 2023 - 818 bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/abi.go
func CreateWasmImportWrapper(fn *ir.Func) bool { if fn.WasmImport == nil { return false } if buildcfg.GOARCH != "wasm" { base.FatalfAt(fn.Pos(), "CreateWasmImportWrapper call not supported on %s: func was %v", buildcfg.GOARCH, fn) } ir.InitLSym(fn, true) setupWasmABI(fn) pp := objw.NewProgs(fn, 0) defer pp.Free() pp.Text.To.Type = obj.TYPE_TEXTSIZE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 13.8K bytes - Viewed (0)