expvar.Map.keys (field)
20 uses
expvar (current package)
expvar.go#L104: keys []string // sorted
expvar.go#L132: v.keys = v.keys[:0]
expvar.go#L145: if i := sort.SearchStrings(v.keys, key); i >= len(v.keys) {
expvar.go#L146: v.keys = append(v.keys, key)
expvar.go#L147: } else if v.keys[i] != key {
expvar.go#L148: v.keys = append(v.keys, "")
expvar.go#L149: copy(v.keys[i+1:], v.keys[i:])
expvar.go#L150: v.keys[i] = key
expvar.go#L212: i := sort.SearchStrings(v.keys, key)
expvar.go#L213: if i < len(v.keys) && key == v.keys[i] {
expvar.go#L214: v.keys = append(v.keys[:i], v.keys[i+1:]...)
expvar.go#L225: for _, k := range v.keys {
![]() |
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. |