github.com/wfusion/gofusion@v1.1.14/common/utils/inspect/stubs.go (about) 1 package inspect 2 3 import ( 4 "reflect" 5 "unsafe" 6 ) 7 8 //go:noescape 9 //go:linkname typelinks reflect.typelinks 10 func typelinks() ([]unsafe.Pointer, [][]int32) 11 12 //go:noescape 13 //go:linkname typedmemmove reflect.typedmemmove 14 func typedmemmove(_ *rtype, _ unsafe.Pointer, _ unsafe.Pointer) 15 16 //go:noescape 17 //go:linkname resolveTypeOff reflect.resolveTypeOff 18 func resolveTypeOff(unsafe.Pointer, int32) unsafe.Pointer 19 20 //go:noescape 21 //go:linkname activeModules runtime.activeModules 22 func activeModules() []*_moduleData 23 24 //go:linkname ifaceIndir reflect.ifaceIndir 25 func ifaceIndir(t *rtype) bool 26 27 //go:noescape 28 //go:linkname valueInterface reflect.valueInterface 29 func valueInterface(v reflect.Value, safe bool) any