MCPcopy Create free account
hub / github.com/brimdata/super / ForwardTagMap

Method ForwardTagMap

vector/dynamic.go:61–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61func (d *Dynamic) ForwardTagMap() []uint32 {
62 if t := d.forwardTagMap.Load(); t != nil {
63 return *t
64 }
65 if t := d.newForwardTagMap(); d.forwardTagMap.CompareAndSwap(nil, &t) {
66 return t
67 }
68 return *d.forwardTagMap.Load()
69}
70
71func (d *Dynamic) newForwardTagMap() []uint32 {
72 counts := make([]uint32, len(d.Values))

Callers 10

TypeOfMethod · 0.95
SerializeMethod · 0.95
UintValueFunction · 0.80
BoolValueFunction · 0.80
FloatValueFunction · 0.80
IntValueFunction · 0.80
PickFunction · 0.80
flattenMethod · 0.80
deunionTypeOfFunction · 0.80
isErrorMissingFunction · 0.80

Calls 2

newForwardTagMapMethod · 0.95
LoadMethod · 0.65

Tested by

no test coverage detected