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

Method new

runtime/sam/expr/function/unflatten.go:116–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114}
115
116func (c *recordCache) new() *record {
117 if c.index == len(c.records) {
118 c.records = append(c.records, new(record))
119 }
120 r := c.records[c.index]
121 r.fields = r.fields[:0]
122 r.records = r.records[:0]
123 c.index++
124 return r
125}
126
127func (c *recordCache) reset() {
128 c.index = 0

Callers 2

CallMethod · 0.80
addPathMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected