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

Method materializeVector

sio/csupio/reader.go:71–76  ·  view source on GitHub ↗
(vec vector.Any)

Source from the content-addressed store, hash-verified

69}
70
71func (r *reader) materializeVector(vec vector.Any) {
72 r.vals = r.vals[:0]
73 for i := range vec.Len() {
74 r.vals = append(r.vals, vector.ValueAt(&r.sb, vec, i).Copy())
75 }
76}
77
78func (r *reader) Close() error {
79 r.cancel()

Callers 1

ReadMethod · 0.95

Calls 3

ValueAtFunction · 0.92
LenMethod · 0.65
CopyMethod · 0.45

Tested by

no test coverage detected