MCPcopy
hub / github.com/tinylib/msgp / setTypeParams

Function setTypeParams

gen/marshal.go:333–339  ·  view source on GitHub ↗
(e Elem, tp GenericTypeParams)

Source from the content-addressed store, hash-verified

331}
332
333func setTypeParams(e Elem, tp GenericTypeParams) {
334 if e == nil {
335 return
336 }
337 tp.isPtr = false
338 e.SetTypeParams(tp)
339}
340
341func (m *marshalGen) gPtr(p *Ptr) {
342 if !m.p.ok() {

Callers 15

gStructMethod · 0.85
gSliceMethod · 0.85
gArrayMethod · 0.85
gMapMethod · 0.85
tupleMethod · 0.85
mapstructMethod · 0.85
gArrayMethod · 0.85
gSliceMethod · 0.85
gMapMethod · 0.85
tupleMethod · 0.85
mapstructMethod · 0.85
gMapMethod · 0.85

Calls 1

SetTypeParamsMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…