- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 156 for funcID (0.15 sec)
-
src/internal/abi/symtab.go
FuncFlagAsm ) // A FuncID identifies particular functions that need to be treated // specially by the runtime. // Note that in some situations involving plugins, there may be multiple // copies of a particular special runtime function. type FuncID uint8 const ( // If you add a FuncID, you probably also want to add an entry to the map in // ../../cmd/internal/objabi/funcid.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 14:25:22 UTC 2024 - 3.6K bytes - Viewed (0) -
src/runtime/symtabinl_test.go
start := int(sf.startLine) - tiuStart if start != wantStart[name] { t.Errorf("tiuTest+%#x: want startLine %d, got %d", pc-pc1, wantStart[name], start) } if sf.funcID != abi.FuncIDNormal { t.Errorf("tiuTest+%#x: bad funcID %v", pc-pc1, sf.funcID) } if len(stack) > 0 { stack += " " } stack += FmtSprintf("%s:%d", name, line-tiuStart) } if stack != prevStack { prevStack = stack
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 3K bytes - Viewed (0) -
src/runtime/tracestack.go
} u, uf := newInlineUnwinder(fi, callPC) for ; uf.valid(); uf = u.next(uf) { sf := u.srcFunc(uf) if sf.funcID == abi.FuncIDWrapper && elideWrapperCalling(lastFuncID) { // ignore wrappers } else if more := skipOrAdd(uf.pc + 1); !more { break outer } lastFuncID = sf.funcID } } return n } // startPCForTrace returns the start PC of a goroutine for tracing purposes.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:56 UTC 2024 - 11K bytes - Viewed (0) -
src/internal/trace/generation.go
return false } _, ok = strings.get(frame.funcID) if !ok { err = fmt.Errorf("found invalid func string ID %d for stack %d", frame.funcID, id) return false } _, ok = strings.get(frame.fileID) if !ok { err = fmt.Errorf("found invalid file string ID %d for stack %d", frame.fileID, id) return false } } return true }) return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 22:14:45 UTC 2024 - 12.1K bytes - Viewed (0) -
src/internal/coverage/encodecounter/encode.go
} return nil } // Write out entries for each live function. emitter := func(pkid uint32, funcid uint32, counters []uint32) error { cfw.csh.FcnEntries++ if err := wrval(uint32(len(counters))); err != nil { return err } if err := wrval(pkid); err != nil { return err } if err := wrval(funcid); err != nil { return err } for _, val := range counters {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.8K bytes - Viewed (0) -
src/runtime/symtabinl.go
type inlinedCall struct { funcID abi.FuncID // type of the called function _ [3]byte nameOff int32 // offset into pclntab for name of called function parentPc int32 // position of an instruction whose source position is the call site (offset from entry) startLine int32 // line number of start of function (func keyword/TEXT directive) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 4.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/pcln.go
} off = sb.SetUint32(ctxt.Arch, off, cuIdx) // startLine int32 off = sb.SetUint32(ctxt.Arch, off, uint32(startLine)) // funcID uint8 var funcID abi.FuncID if fi.Valid() { funcID = fi.FuncID() } off = sb.SetUint8(ctxt.Arch, off, uint8(funcID)) // flag uint8 var flag abi.FuncFlag if fi.Valid() { flag = fi.FuncFlag() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0) -
src/runtime/traceback.go
// goroutine. func isSystemGoroutine(gp *g, fixed bool) bool { // Keep this in sync with internal/trace.IsSystemGoroutine. f := findfunc(gp.startpc) if !f.valid() { return false } if f.funcID == abi.FuncID_runtime_main || f.funcID == abi.FuncID_corostart || f.funcID == abi.FuncID_handleAsyncEvent { return false } if f.funcID == abi.FuncID_runfinq {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/internal/coverage/cfile/apis.go
"unsafe" ) // WriteMetaDir implements [runtime/coverage.WriteMetaDir]. func WriteMetaDir(dir string) error { if !finalHashComputed { return fmt.Errorf("error: no meta-data available (binary not built with -cover?)") } return emitMetaDataToDirectory(dir, rtcov.Meta.List) } // WriteMeta implements [runtime/coverage.WriteMeta]. func WriteMeta(w io.Writer) error { if w == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 5.4K bytes - Viewed (0) -
src/runtime/symtab.go
// symbolic information. PC uintptr // Func is the Func value of this call frame. This may be nil // for non-Go code or fully inlined functions. Func *Func // Function is the package path-qualified function name of // this call frame. If non-empty, this string uniquely // identifies a single function in the program. // This may be the empty string if not known. // If Func is not nil then Function == Func.Name(). Function string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 40K bytes - Viewed (0)