runtime.profBuf.hdrsize (field)
17 uses
runtime (current package)
profbuf.go#L96: hdrsize uintptr
profbuf.go#L229: b.hdrsize = uintptr(hdrsize)
profbuf.go#L232: b.overflowBuf = make([]uint64, 2+b.hdrsize+1)
profbuf.go#L249: want := 2 + int(b.hdrsize) + nstk
profbuf.go#L277: want := 2 + int(b.hdrsize) + nstk1
profbuf.go#L289: want = 2 + int(b.hdrsize) + nstk2
profbuf.go#L308: if len(hdr) > int(b.hdrsize) {
profbuf.go#L361: if wd+2+int(b.hdrsize)+len(stk) > len(b.data) {
profbuf.go#L368: data[0] = uint64(2 + b.hdrsize + uintptr(len(stk))) // length
profbuf.go#L371: i := uintptr(copy(data[2:2+b.hdrsize], hdr))
profbuf.go#L372: for ; i < b.hdrsize; i++ {
profbuf.go#L376: data[2+b.hdrsize+uintptr(i)] = uint64(pc)
profbuf.go#L383: new := old.addCountsAndClearFlags(skip+2+len(stk)+int(b.hdrsize), 1)
profbuf.go#L471: dst[0] = uint64(2 + b.hdrsize + 1)
profbuf.go#L473: for i := uintptr(0); i < b.hdrsize; i++ {
profbuf.go#L476: dst[2+b.hdrsize] = uint64(count)
profbuf.go#L477: return dst[:2+b.hdrsize+1], overflowTag[:1], false
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |