runtime.hchan.sendx (field)
13 uses
runtime (current package)
chan.go#L39: sendx uint // send index
chan.go#L216: qp := chanbuf(c, c.sendx)
chan.go#L218: racenotify(c, c.sendx, nil)
chan.go#L221: c.sendx++
chan.go#L222: if c.sendx == c.dataqsiz {
chan.go#L223: c.sendx = 0
chan.go#L306: c.sendx = c.recvx // c.sendx = (c.sendx+1) % c.dataqsiz
chan.go#L636: c.sendx = c.recvx // c.sendx = (c.sendx+1) % c.dataqsiz
select.go#L440: racenotify(c, c.sendx, nil)
select.go#L446: typedmemmove(c.elemtype, chanbuf(c, c.sendx), cas.elem)
select.go#L447: c.sendx++
select.go#L448: if c.sendx == c.dataqsiz {
select.go#L449: c.sendx = 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. |