MCPcopy Index your code
hub / github.com/segmentio/encoding / constructInlineValueEncodeFunc

Function constructInlineValueEncodeFunc

json/codec.go:834–838  ·  view source on GitHub ↗
(encode encodeFunc)

Source from the content-addressed store, hash-verified

832}
833
834func constructInlineValueEncodeFunc(encode encodeFunc) encodeFunc {
835 return func(e encoder, b []byte, p unsafe.Pointer) ([]byte, error) {
836 return encode(e, b, noescape(unsafe.Pointer(&p)))
837 }
838}
839
840// noescape hides a pointer from escape analysis. noescape is
841// the identity function but escape analysis doesn't think the

Callers 2

constructCachedCodecFunction · 0.85
constructMapCodecFunction · 0.85

Calls 1

noescapeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…