runtime.hmap.count (field)
40 uses
runtime (current package)
map.go#L118: count int // # live cells == size of map. Must be first (used by len() builtin)
map.go#L404: if h == nil || h.count == 0 {
map.go#L462: if h == nil || h.count == 0 {
map.go#L512: if h == nil || h.count == 0 {
map.go#L647: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map.go#L672: h.count++
map.go#L695: if h == nil || h.count == 0 {
map.go#L782: h.count--
map.go#L785: if h.count == 0 {
map.go#L808: if h == nil || h.count == 0 {
map.go#L985: if h == nil || h.count == 0 {
map.go#L999: h.count = 0
map.go#L1031: if !overLoadFactor(h.count+1, h.B) {
map.go#L1368: return h.count
map.go#L1380: return h.count
map_fast32.go#L17: if h == nil || h.count == 0 {
map_fast32.go#L57: if h == nil || h.count == 0 {
map_fast32.go#L155: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map_fast32.go#L171: h.count++
map_fast32.go#L245: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map_fast32.go#L261: h.count++
map_fast32.go#L277: if h == nil || h.count == 0 {
map_fast32.go#L346: h.count--
map_fast32.go#L349: if h.count == 0 {
map_fast64.go#L17: if h == nil || h.count == 0 {
map_fast64.go#L57: if h == nil || h.count == 0 {
map_fast64.go#L155: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map_fast64.go#L171: h.count++
map_fast64.go#L245: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map_fast64.go#L261: h.count++
map_fast64.go#L277: if h == nil || h.count == 0 {
map_fast64.go#L348: h.count--
map_fast64.go#L351: if h.count == 0 {
map_faststr.go#L17: if h == nil || h.count == 0 {
map_faststr.go#L112: if h == nil || h.count == 0 {
map_faststr.go#L271: if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
map_faststr.go#L286: h.count++
map_faststr.go#L302: if h == nil || h.count == 0 {
map_faststr.go#L371: h.count--
map_faststr.go#L374: if h.count == 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. |