MCPcopy
hub / github.com/dgraph-io/dgraph / getAttr

Method getAttr

query/outputnode.go:435–437  ·  view source on GitHub ↗
(fj fastJsonNode)

Source from the content-addressed store, hash-verified

433}
434
435func (enc *encoder) getAttr(fj fastJsonNode) uint16 {
436 return uint16((fj.meta & setBytes76) >> 40)
437}
438
439func (enc *encoder) getScalarVal(fj fastJsonNode) ([]byte, error) {
440 offset := uint32(fj.meta & setBytes4321)

Callers 14

lessMethod · 0.95
AddMapChildMethod · 0.95
SetUIDMethod · 0.95
writeKeyMethod · 0.95
encodeMethod · 0.95
copySingleNodeMethod · 0.95
normalizeMethod · 0.95
encodeMethod · 0.80
extractDgraphTypesMethod · 0.80
resolveCustomFieldMethod · 0.80
resolveNestedFieldsMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestFastJsonNodeFunction · 0.64