type sync.Map
44 uses
sync (current package)
map.go#L27: type Map struct {
map.go#L102: func (m *Map) Load(key interface{}) (value interface{}, ok bool) {
map.go#L136: func (m *Map) Store(key, value interface{}) {
map.go#L199: func (m *Map) LoadOrStore(key, value interface{}) (actual interface{}, loaded bool) {
map.go#L268: func (m *Map) LoadAndDelete(key interface{}) (value interface{}, loaded bool) {
map.go#L292: func (m *Map) Delete(key interface{}) {
map.go#L318: func (m *Map) Range(f func(key, value interface{}) bool) {
map.go#L351: func (m *Map) missLocked() {
map.go#L361: func (m *Map) dirtyLocked() {
archive/zip
register.go#L105: compressors sync.Map // map[uint16]Compressor
register.go#L106: decompressors sync.Map // map[uint16]Decompressor
encoding/binary
binary.go#L399: var structSize sync.Map // map[reflect.Type]int
encoding/gob
type.go#L39: var userTypeCache sync.Map // map[reflect.Type]*userTypeInfo
type.go#L801: nameToConcreteType sync.Map // map[string]reflect.Type
type.go#L802: concreteTypeToName sync.Map // map[reflect.Type]string
encoding/json
encode.go#L372: var encoderCache sync.Map // map[reflect.Type]encoderFunc
encode.go#L1409: var fieldCache sync.Map // map[reflect.Type]structFields
encoding/xml
typeinfo.go#L47: var tinfoMap sync.Map // map[reflect.Type]*typeInfo
expvar
expvar.go#L102: m sync.Map // map[string]Var
expvar.go#L268: vars sync.Map // map[string]Var
github.com/golang/protobuf/proto
properties.go#L212: var propertiesCache sync.Map // map[reflect.Type]*StructProperties
registry.go#L27: var fileCache sync.Map // map[filePath]fileDescGZIP
registry.go#L95: var enumCache sync.Map // map[enumName]enumsByName
registry.go#L96: var numFilesCache sync.Map // map[protoreflect.FullName]int
registry.go#L179: var messageTypeCache sync.Map // map[messageName]reflect.Type
registry.go#L292: var extensionCache sync.Map // map[messageName]extensionsByNumber
google.golang.org/protobuf/internal/impl
checkinit.go#L87: needsInitCheckMap sync.Map
codec_extension.go#L24: var legacyExtensionFieldInfoCache sync.Map // map[protoreflect.ExtensionType]*extensionFieldInfo
legacy_enum.go#L42: var legacyEnumTypeCache sync.Map // map[reflect.Type]protoreflect.EnumType
legacy_enum.go#L68: m sync.Map // map[protoreflect.EnumNumber]proto.Enum
legacy_enum.go#L112: var legacyEnumDescCache sync.Map // map[reflect.Type]protoreflect.EnumDescriptor
legacy_enum.go#L151: var aberrantEnumDescCache sync.Map // map[reflect.Type]protoreflect.EnumDescriptor
legacy_file.go#L35: var legacyFileDescCache sync.Map // map[*byte]protoreflect.FileDescriptor
legacy_message.go#L35: var legacyMessageTypeCache sync.Map // map[reflect.Type]*MessageInfo
legacy_message.go#L75: var legacyMessageDescCache sync.Map // map[reflect.Type]protoreflect.MessageDescriptor
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#L1374: var ptrMap sync.Map // map[*rtype]*ptrType
type.go#L1751: var lookupCache sync.Map // map[cacheKey]*rtype
type.go#L1771: m sync.Map
type.go#L2328: m sync.Map
type.go#L2993: var layoutCache sync.Map // map[layoutKey]layoutType
![]() |
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. |