- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 259 for funcID (0.13 sec)
-
src/cmd/internal/objabi/funcid.go
"deferreturn": abi.FuncIDWrapper, } // Get the function ID for the named function in the named file. // The function should be package-qualified. func GetFuncID(name string, isWrapper bool) abi.FuncID { if isWrapper { return abi.FuncIDWrapper } if strings.HasPrefix(name, "runtime.") { if id, ok := funcIDs[name[len("runtime."):]]; ok { return id } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 06 21:33:59 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/internal/goobj/funcinfo.go
return result } func (*FuncInfo) ReadArgs(b []byte) uint32 { return binary.LittleEndian.Uint32(b) } func (*FuncInfo) ReadLocals(b []byte) uint32 { return binary.LittleEndian.Uint32(b[4:]) } func (*FuncInfo) ReadFuncID(b []byte) abi.FuncID { return abi.FuncID(b[8]) } func (*FuncInfo) ReadFuncFlag(b []byte) abi.FuncFlag { return abi.FuncFlag(b[9]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:28:46 UTC 2023 - 3.8K bytes - Viewed (0) -
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)