MCPcopy Create free account
hub / github.com/vmihailenco/msgpack / getDecoder

Function getDecoder

decode_value.go:49–56  ·  view source on GitHub ↗
(typ reflect.Type)

Source from the content-addressed store, hash-verified

47}
48
49func getDecoder(typ reflect.Type) decoderFunc {
50 if v, ok := typeDecMap.Load(typ); ok {
51 return v.(decoderFunc)
52 }
53 fn := _getDecoder(typ)
54 typeDecMap.Store(typ, fn)
55 return fn
56}
57
58func _getDecoder(typ reflect.Type) decoderFunc {
59 kind := typ.Kind()

Callers 4

ptrValueDecoderFunction · 0.85
getFieldsFunction · 0.85
shouldInlineFunction · 0.85
DecodeValueMethod · 0.85

Calls 1

_getDecoderFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…