type sync.Map
28 uses
sync (current package)
map.go#L35: type Map struct {
map.go#L110: func (m *Map) loadReadOnly() readOnly {
map.go#L120: func (m *Map) Load(key any) (value any, ok bool) {
map.go#L154: func (m *Map) Store(key, value any) {
map.go#L203: func (m *Map) LoadOrStore(key, value any) (actual any, loaded bool) {
map.go#L272: func (m *Map) LoadAndDelete(key any) (value any, loaded bool) {
map.go#L296: func (m *Map) Delete(key any) {
map.go#L330: func (m *Map) Swap(key, value any) (previous any, loaded bool) {
map.go#L374: func (m *Map) CompareAndSwap(key, old, new any) bool {
map.go#L406: func (m *Map) CompareAndDelete(key, old any) (deleted bool) {
map.go#L449: func (m *Map) Range(f func(key, value any) bool) {
map.go#L482: func (m *Map) missLocked() {
map.go#L492: func (m *Map) dirtyLocked() {
crypto/tls
cache.go#L39: sync.Map
encoding/binary
binary.go#L470: var structSize sync.Map // map[reflect.Type]int
encoding/json
encode.go#L335: var encoderCache sync.Map // map[reflect.Type]encoderFunc
encode.go#L1267: var fieldCache sync.Map // map[reflect.Type]structFields
internal/godebug
godebug.go#L126: var cache sync.Map // name string -> value *atomic.Pointer[string]
mime
type.go#L16: mimeTypes sync.Map // map[string]string; ".Z" => "application/x-compress"
type.go#L17: mimeTypesLower sync.Map // map[string]string; ".z" => "application/x-compress"
type.go#L22: extensions sync.Map // map[string][]string; slice values are append-only.
type.go#L25: func clearSyncMap(m *sync.Map) {
reflect
type.go#L1167: var ptrMap sync.Map // map[*rtype]*ptrType
type.go#L1558: var lookupCache sync.Map // map[cacheKey]*rtype
type.go#L1578: m sync.Map
type.go#L2113: m sync.Map
type.go#L2790: var layoutCache sync.Map // map[layoutKey]layoutType
runtime/cgo
handle.go#L142: handles = sync.Map{} // map[Handle]interface{}
|
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |