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

Function NewArray

sbuf/array.go:20–22  ·  view source on GitHub ↗

XXX this should take the frame arg too and the procs that create new arrays need to propagate their frames downstream.

(vals []super.Value)

Source from the content-addressed store, hash-verified

18// XXX this should take the frame arg too and the procs that create
19// new arrays need to propagate their frames downstream.
20func NewArray(vals []super.Value) *Array {
21 return &Array{values: vals}
22}
23
24func (a *Array) Ref() {
25 // do nothing... let the GC reclaim it

Callers 15

compileVamLeafMethod · 0.92
compileLeafMethod · 0.92
TestJSUPWriterFunction · 0.92
PullMethod · 0.92
EvalMethod · 0.92
PullMethod · 0.92
ForwardMethod · 0.92
errOnValMethod · 0.92
nextPartitionMethod · 0.92
NewDBMetaScannerFunction · 0.92
NewPoolMetaScannerFunction · 0.92
NewCommitMetaScannerFunction · 0.92

Calls

no outgoing calls

Tested by 2

TestJSUPWriterFunction · 0.74
PullMethod · 0.74