var github.com/golang/protobuf/proto.enumCache
7 uses
github.com/golang/protobuf/proto (current package)
registry.go#L95: var enumCache sync.Map // map[enumName]enumsByName
registry.go#L103: if _, ok := enumCache.Load(s); ok {
registry.go#L106: enumCache.Store(s, m)
registry.go#L117: if v, ok := enumCache.Load(s); ok {
registry.go#L139: if _, ok := enumCache.Load(name); !ok {
registry.go#L146: enumCache.LoadOrStore(name, m)
registry.go#L155: if v, ok := enumCache.Load(s); ok {
![]() |
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. |