- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ReadFuncInfoLengths (0.35 sec)
-
src/cmd/internal/goobj/funcinfo.go
// the items in question. type FuncInfoLengths struct { NumFile uint32 FileOff uint32 NumInlTree uint32 InlTreeOff uint32 Initialized bool } func (*FuncInfo) ReadFuncInfoLengths(b []byte) FuncInfoLengths { var result FuncInfoLengths // Offset to the number of the file table. This value is determined by counting // the number of bytes until we write funcdataoff to the file.
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/cmd/link/internal/loader/loader.go
} // Preload has to be called prior to invoking the various methods // below related to pcdata, funcdataoff, files, and inltree nodes. func (fi *FuncInfo) Preload() { fi.lengths = (*goobj.FuncInfo)(nil).ReadFuncInfoLengths(fi.data) } func (fi *FuncInfo) NumFile() uint32 { if !fi.lengths.Initialized { panic("need to call Preload first") } return fi.lengths.NumFile }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0)