MCPcopy
hub / github.com/uptrace/uptrace / createEmbeddedStructPointerDecodeFunc

Function createEmbeddedStructPointerDecodeFunc

pkg/msgp/codec.go:310–314  ·  view source on GitHub ↗
(t reflect.Type, unexported bool, offset uintptr, decode decodeFunc)

Source from the content-addressed store, hash-verified

308 }
309}
310func createEmbeddedStructPointerDecodeFunc(t reflect.Type, unexported bool, offset uintptr, decode decodeFunc) decodeFunc {
311 return func(d decoder, b []byte, p unsafe.Pointer) ([]byte, error) {
312 return d.decodeEmbeddedStructPointer(b, p, t, unexported, offset, decode)
313 }
314}
315func createPointerCodec(t reflect.Type, seen map[reflect.Type]*structType) Codec {
316 e := t.Elem()
317 c := createCodec(e, seen, true)

Callers 1

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…