MCPcopy Create free account
hub / github.com/SeeFlowerX/stackplz / GetRegIndex

Function GetRegIndex

user/common/const.go:180–186  ·  view source on GitHub ↗
(reg string)

Source from the content-addressed store, hash-verified

178}
179
180func GetRegIndex(reg string) uint32 {
181 value, ok := RegsNameMap[reg]
182 if !ok {
183 panic(fmt.Sprintf("ParseAsReg failed =>%s<=", reg))
184 }
185 return value
186}
187
188func GetRegName(index uint32) string {
189 for k, v := range RegsNameMap {

Callers 3

R_IOVEC_REGFunction · 0.85
ParseArgTypeMethod · 0.85
GetPointArgMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected