google.golang.org/protobuf/internal/impl.coderFieldInfo.funcs (field)
30 uses
google.golang.org/protobuf/internal/impl (current package)
checkinit.go#L45: if !f.isRequired && f.funcs.isInit == nil {
checkinit.go#L55: if f.funcs.isInit == nil {
checkinit.go#L58: if err := f.funcs.isInit(fptr, f); err != nil {
codec_field.go#L49: cf.mi, cf.funcs = fieldCoder(fd, cf.ft)
codec_field.go#L51: if cf.funcs.isInit != nil {
codec_field.go#L54: mi.coderFields[num].funcs.unmarshal = func(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (unmarshalOutput, error) {
codec_field.go#L62: out, err := cf.funcs.unmarshal(b, pointerOfValue(vw).Apply(zeroOffset), wtyp, &cf, opts)
codec_field.go#L82: first.funcs.size = func(p pointer, _ *coderFieldInfo, opts marshalOptions) int {
codec_field.go#L84: if info == nil || info.funcs.size == nil {
codec_field.go#L87: return info.funcs.size(p, info, opts)
codec_field.go#L89: first.funcs.marshal = func(b []byte, p pointer, _ *coderFieldInfo, opts marshalOptions) ([]byte, error) {
codec_field.go#L91: if info == nil || info.funcs.marshal == nil {
codec_field.go#L94: return info.funcs.marshal(b, p, info, opts)
codec_field.go#L96: first.funcs.merge = func(dst, src pointer, _ *coderFieldInfo, opts mergeOptions) {
codec_field.go#L98: if srcinfo == nil || srcinfo.funcs.merge == nil {
codec_field.go#L106: srcinfo.funcs.merge(dstp, srcp, srcinfo, opts)
codec_field.go#L109: first.funcs.isInit = func(p pointer, _ *coderFieldInfo) error {
codec_field.go#L111: if info == nil || info.funcs.isInit == nil {
codec_field.go#L114: return info.funcs.isInit(p, info)
codec_message.go#L37: funcs pointerCoderFuncs // fast-path per-field functions
codec_message.go#L92: funcs: funcs,
decode.go#L133: if f.funcs.unmarshal == nil {
decode.go#L137: o, err = f.funcs.unmarshal(b, p.Apply(f.offset), wtyp, f, opts)
decode.go#L143: if f.funcs.isInit != nil && !o.initialized {
encode.go#L72: if f.funcs.size == nil {
encode.go#L79: size += f.funcs.size(fptr, f, opts)
encode.go#L131: if f.funcs.marshal == nil {
encode.go#L138: b, err = f.funcs.marshal(b, fptr, f, opts)
merge.go#L45: if f.funcs.merge == nil {
merge.go#L52: f.funcs.merge(dst.Apply(f.offset), sfptr, f, opts)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |