MCPcopy Create free account
hub / github.com/segmentio/encoding / repeated

Method repeated

proto/struct.go:40–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40func (f *structField) repeated() bool {
41 return (f.flags & repeated) != 0
42}
43
44func (f *structField) pointer(p unsafe.Pointer) unsafe.Pointer {
45 return unsafe.Pointer(uintptr(p) + uintptr(f.offset))

Callers 2

structSizeFuncOfFunction · 0.80
structEncodeFuncOfFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected