runtime.workbufhdr.nobj (field)
49 uses
runtime (current package)
mgc.go#L2121: print(" wbuf1.n=", gcw.wbuf1.nobj)
mgc.go#L2126: print(" wbuf2.n=", gcw.wbuf2.nobj)
mgcmark.go#L845: for i := 0; i < x.nobj; i++ {
mgcmark.go#L854: x.nobj = 0
mgcstack.go#L218: buf.nobj = 0
mgcstack.go#L221: } else if buf.nobj == len(buf.obj) {
mgcstack.go#L228: buf.nobj = 0
mgcstack.go#L232: buf.obj[buf.nobj] = p
mgcstack.go#L233: buf.nobj++
mgcstack.go#L248: if buf.nobj == 0 {
mgcstack.go#L262: buf.nobj--
mgcstack.go#L263: return buf.obj[buf.nobj], head == &s.cbuf
mgcstack.go#L283: if x.nobj > 0 && uint32(addr-s.stack.lo) < x.obj[x.nobj-1].off+x.obj[x.nobj-1].size {
mgcstack.go#L286: if x.nobj == len(x.obj) {
mgcstack.go#L294: obj := &x.obj[x.nobj]
mgcstack.go#L295: x.nobj++
mgcwork.go#L121: } else if wbuf.nobj == len(wbuf.obj) {
mgcwork.go#L124: if wbuf.nobj == len(wbuf.obj) {
mgcwork.go#L133: wbuf.obj[wbuf.nobj] = obj
mgcwork.go#L134: wbuf.nobj++
mgcwork.go#L152: } else if wbuf.nobj == len(wbuf.obj) {
mgcwork.go#L156: wbuf.obj[wbuf.nobj] = obj
mgcwork.go#L157: wbuf.nobj++
mgcwork.go#L178: for wbuf.nobj == len(wbuf.obj) {
mgcwork.go#L185: n := copy(wbuf.obj[wbuf.nobj:], obj)
mgcwork.go#L186: wbuf.nobj += n
mgcwork.go#L208: if wbuf.nobj == 0 {
mgcwork.go#L211: if wbuf.nobj == 0 {
mgcwork.go#L222: wbuf.nobj--
mgcwork.go#L223: return wbuf.obj[wbuf.nobj]
mgcwork.go#L235: if wbuf.nobj == 0 {
mgcwork.go#L239: wbuf.nobj--
mgcwork.go#L240: return wbuf.obj[wbuf.nobj]
mgcwork.go#L252: if wbuf.nobj == 0 {
mgcwork.go#L261: if wbuf.nobj == 0 {
mgcwork.go#L290: if wbuf := w.wbuf2; wbuf.nobj != 0 {
mgcwork.go#L294: } else if wbuf := w.wbuf1; wbuf.nobj > 4 {
mgcwork.go#L309: return w.wbuf1 == nil || (w.wbuf1.nobj == 0 && w.wbuf2.nobj == 0)
mgcwork.go#L318: nobj int
mgcwork.go#L334: if b.nobj == 0 {
mgcwork.go#L340: if b.nobj != 0 {
mgcwork.go#L388: newb.nobj = 0
mgcwork.go#L433: n := b.nobj / 2
mgcwork.go#L434: b.nobj -= n
mgcwork.go#L435: b1.nobj = n
mgcwork.go#L436: memmove(unsafe.Pointer(&b1.obj[0]), unsafe.Pointer(&b.obj[b.nobj]), uintptr(n)*unsafe.Sizeof(b1.obj[0]))
![]() |
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. |