runtime.hchan.qcount (field)
14 uses
runtime (current package)
chan.go#L33: qcount uint // total data in the queue
chan.go#L137: return c.qcount == c.dataqsiz
chan.go#L214: if c.qcount < c.dataqsiz {
chan.go#L225: c.qcount++
chan.go#L433: return atomic.Loaduint(&c.qcount) == 0
chan.go#L510: if c.closed != 0 && c.qcount == 0 {
chan.go#L530: if c.qcount > 0 {
chan.go#L544: c.qcount--
chan.go#L750: return int(c.qcount)
chan.go#L758: return int(c.qcount)
select.go#L259: if c.qcount > 0 {
select.go#L276: if c.qcount < c.dataqsiz {
select.go#L433: c.qcount--
select.go#L451: c.qcount++
![]() |
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. |