- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for firstmoduledata (0.36 sec)
-
src/runtime/race.go
start := ^uintptr(0) end := uintptr(0) if start > firstmoduledata.noptrdata { start = firstmoduledata.noptrdata } if start > firstmoduledata.data { start = firstmoduledata.data } if start > firstmoduledata.noptrbss { start = firstmoduledata.noptrbss } if start > firstmoduledata.bss { start = firstmoduledata.bss } if end < firstmoduledata.enoptrdata { end = firstmoduledata.enoptrdata }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 20.4K bytes - Viewed (0) -
src/runtime/heapdump.go
dumpint(tagData) dumpint(uint64(firstmoduledata.data)) dumpmemrange(unsafe.Pointer(firstmoduledata.data), firstmoduledata.edata-firstmoduledata.data) dumpfields(firstmoduledata.gcdatamask) // bss segment dumpint(tagBSS) dumpint(uint64(firstmoduledata.bss)) dumpmemrange(unsafe.Pointer(firstmoduledata.bss), firstmoduledata.ebss-firstmoduledata.bss) dumpfields(firstmoduledata.gcbssmask) // mspan.types
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 17.6K bytes - Viewed (0) -
src/runtime/type.go
} // typelinksinit scans the types from extra modules and builds the // moduledata typemap used to de-duplicate type pointers. func typelinksinit() { if firstmoduledata.next == nil { return } typehash := make(map[uint32][]*_type, len(firstmoduledata.typelinks)) modules := activeModules() prev := modules[0] for _, md := range modules[1:] { // Collect types from the previous module into typehash.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 12.7K bytes - Viewed (0) -
src/runtime/covercounter.go
//go:linkname coverage_getCovCounterList internal/coverage/cfile.getCovCounterList func coverage_getCovCounterList() []rtcov.CovCounterBlob { res := []rtcov.CovCounterBlob{} u32sz := unsafe.Sizeof(uint32(0)) for datap := &firstmoduledata; datap != nil; datap = datap.next { if datap.covctrs == datap.ecovctrs { continue } res = append(res, rtcov.CovCounterBlob{ Counters: (*uint32)(unsafe.Pointer(datap.covctrs)),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:41:02 UTC 2024 - 740 bytes - Viewed (0) -
src/runtime/signal_windows.go
// Only handle exception if executing instructions in Go binary // (not Windows library code). // TODO(mwhudson): needs to loop to support shared libs if r.ip() < firstmoduledata.text || firstmoduledata.etext < r.ip() { return false } // Go will only handle some exceptions. switch info.exceptioncode { default: return false case _EXCEPTION_ACCESS_VIOLATION:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 20:32:29 UTC 2023 - 14.5K bytes - Viewed (0) -
src/runtime/symtab.go
// The unsafe.Pointer to uintptr conversions and arithmetic // are safe because we are working with module addresses. ptr := uintptr(unsafe.Pointer(f)) var mod *moduledata for datap := &firstmoduledata; datap != nil; datap = datap.next { if len(datap.pclntable) == 0 { continue } base := uintptr(unsafe.Pointer(&datap.pclntable[0])) if base <= ptr && ptr < base+uintptr(len(datap.pclntable)) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 40K bytes - Viewed (0) -
src/runtime/mem_sbrk.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 19:05:10 UTC 2023 - 4.2K bytes - Viewed (0) -
src/runtime/plugin.go
"unsafe" ) //go:linkname plugin_lastmoduleinit plugin.lastmoduleinit func plugin_lastmoduleinit() (path string, syms map[string]any, initTasks []*initTask, errstr string) { var md *moduledata for pmd := firstmoduledata.next; pmd != nil; pmd = pmd.next { if pmd.bad { md = nil // we only want the last module continue } md = pmd } if md == nil { throw("runtime: no plugin module data") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 4.4K bytes - Viewed (0) -
src/runtime/debuglog.go
} } return l } //go:nosplit func (l *dlogger) s(x string) *dlogger { if !dlogEnabled { return l } strData := unsafe.StringData(x) datap := &firstmoduledata if len(x) > 4 && datap.etext <= uintptr(unsafe.Pointer(strData)) && uintptr(unsafe.Pointer(strData)) < datap.end { // String constants are in the rodata section, which // isn't recorded in moduledata. But it has to be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 18.3K bytes - Viewed (0) -
src/runtime/stkframe.go
} // Set methodValueCallFrameObjs[0].gcdataoff so that // stackObjectRecord.gcdata() will work correctly with it. ptr := uintptr(unsafe.Pointer(&methodValueCallFrameObjs[0])) var mod *moduledata for datap := &firstmoduledata; datap != nil; datap = datap.next { if datap.gofunc <= ptr && ptr < datap.end { mod = datap break } } if mod == nil { throw("methodValueCallFrameObjs is not in a module") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 9.9K bytes - Viewed (0)