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

Function NewConstBool

vector/const.go:38–43  ·  view source on GitHub ↗
(v bool, length uint32)

Source from the content-addressed store, hash-verified

36)
37
38func NewConstBool(v bool, length uint32) *Const {
39 if v {
40 return &Const{trueVec, length}
41 }
42 return &Const{falseVec, length}
43}
44
45func NewConstBytes(v []byte, length uint32) *Const {
46 vec := NewBytes(newBytesTableWithValue(v))

Callers 15

evalMethod · 0.92
compareTypeValsMethod · 0.92
compareComplexMethod · 0.92
evalMethod · 0.92
compareEQIntConstConstFunction · 0.92
compareEQUintConstConstFunction · 0.92
compareEQFloatConstConstFunction · 0.92
compareEQBytesConstConstFunction · 0.92
compareNEIntConstConstFunction · 0.92
compareNEUintConstConstFunction · 0.92
compareNEFloatConstConstFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected