sync.Map.LoadOrStore (method)

16 uses

	sync (current package)
		map.go#L203: func (m *Map) LoadOrStore(key, value any) (actual any, loaded bool) {

	crypto/tls
		cache.go#L91: 	if entry, loaded := cc.LoadOrStore(string(der), entry); loaded {

	encoding/json
		encode.go#L358: 	fi, loaded := encoderCache.LoadOrStore(t, encoderFunc(func(e *encodeState, v reflect.Value, opts encOpts) {
		encode.go#L1274: 	f, _ := fieldCache.LoadOrStore(t, typeFields(t))

	internal/godebug
		godebug.go#L159: 	if v, loaded := cache.LoadOrStore(name, s); loaded {

	reflect
		type.go#L1200: 		pi, _ := ptrMap.LoadOrStore(t, p)
		type.go#L1222: 	pi, _ := ptrMap.LoadOrStore(t, &pp)
		type.go#L1624: 			ti, _ := lookupCache.LoadOrStore(ckey, toRType(tt))
		type.go#L1639: 	ti, _ := lookupCache.LoadOrStore(ckey, toRType(&ch.Type))
		type.go#L1668: 			ti, _ := lookupCache.LoadOrStore(ckey, toRType(tt))
		type.go#L1712: 	ti, _ := lookupCache.LoadOrStore(ckey, toRType(&mt.Type))
		type.go#L2086: 			ti, _ := lookupCache.LoadOrStore(ckey, toRType(tt))
		type.go#L2101: 	ti, _ := lookupCache.LoadOrStore(ckey, toRType(&slice.Type))
		type.go#L2642: 			ti, _ := lookupCache.LoadOrStore(ckey, toRType(tt))
		type.go#L2755: 	ti, _ := lookupCache.LoadOrStore(ckey, toRType(&array.Type))
		type.go#L2841: 	lti, _ := layoutCache.LoadOrStore(k, layoutType{