2021-08-23 18:32:02 +00:00
|
|
|
var firstmoduledata moduledata
|
|
|
|
|
|
|
|
var debug anytype
|
|
|
|
|
|
|
|
type _defer struct {
|
|
|
|
fn anytype
|
|
|
|
pc uintptr
|
|
|
|
sp uintptr
|
|
|
|
siz int32 (optional)
|
|
|
|
link *_defer
|
|
|
|
}
|
|
|
|
|
|
|
|
type bmap struct {
|
|
|
|
tophash [8]uint8
|
|
|
|
}
|
|
|
|
|
|
|
|
type eface struct {
|
2023-05-15 17:21:52 +00:00
|
|
|
_type *_type|*internal/abi.Type
|
2021-08-23 18:32:02 +00:00
|
|
|
data unsafe.Pointer
|
|
|
|
}
|
|
|
|
|
|
|
|
type g struct {
|
|
|
|
sched gobuf
|
2022-08-16 16:31:11 +00:00
|
|
|
goid int64|uint64
|
2021-08-23 18:32:02 +00:00
|
|
|
gopc uintptr
|
|
|
|
startpc uintptr
|
|
|
|
waitsince int64
|
|
|
|
waitreason waitReason (optional)
|
|
|
|
stack stack
|
2024-04-11 16:40:57 +00:00
|
|
|
atomicstatus uint32|runtime/internal/atomic.Uint32|internal/runtime/atomic.Uint32
|
2021-08-23 18:32:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type gobuf struct {
|
|
|
|
pc uintptr
|
|
|
|
sp uintptr
|
|
|
|
bp uintptr (optional)
|
|
|
|
lr uintptr (optional)
|
|
|
|
}
|
|
|
|
|
|
|
|
type hmap struct {
|
|
|
|
count int
|
|
|
|
B uint8
|
|
|
|
buckets unsafe.Pointer
|
|
|
|
oldbuckets unsafe.Pointer
|
|
|
|
}
|
|
|
|
|
|
|
|
type iface struct {
|
2024-02-22 19:35:15 +00:00
|
|
|
tab *itab|*internal/abi.ITab
|
2021-08-23 18:32:02 +00:00
|
|
|
data unsafe.Pointer
|
|
|
|
}
|
|
|
|
|
|
|
|
type moduledata struct {
|
|
|
|
text uintptr
|
|
|
|
types uintptr
|
|
|
|
}
|
|
|
|
|
|
|
|
type stack struct {
|
|
|
|
hi uintptr
|
|
|
|
lo uintptr
|
|
|
|
}
|
|
|
|
|
|
|
|
const emptyOne = 1
|
|
|
|
|
|
|
|
const emptyRest = 0
|
|
|
|
|
2024-12-05 03:14:47 +00:00
|
|
|
const internal/runtime/maps.ctrlEmpty = 128
|
|
|
|
|
2024-04-11 16:40:57 +00:00
|
|
|
const kindDirectIface|internal/abi.KindDirectIface = 32
|
2021-08-23 18:32:02 +00:00
|
|
|
|
2024-04-11 16:40:57 +00:00
|
|
|
const kindGCProg|internal/abi.KindGCProg = 64
|
2021-08-23 18:32:02 +00:00
|
|
|
|
2024-04-11 16:40:57 +00:00
|
|
|
const kindMask|internal/abi.KindMask = 31
|
2021-08-23 18:32:02 +00:00
|
|
|
|
|
|
|
const minTopHash = 4
|
|
|
|
or const minTopHash = 5
|
|
|
|
|