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

Function NewConstUint

vector/const.go:20–23  ·  view source on GitHub ↗
(typ super.Type, v uint64, length uint32)

Source from the content-addressed store, hash-verified

18}
19
20func NewConstUint(typ super.Type, v uint64, length uint32) *Const {
21 vec := NewUint(typ, []uint64{v})
22 return &Const{vec, length}
23}
24func NewConstInt(typ super.Type, v int64, length uint32) *Const {
25 vec := NewInt(typ, []int64{v})
26 return &Const{vec, length}

Callers 7

TestCompareOpsAndFormsFunction · 0.92
arithAddUintConstConstFunction · 0.92
arithSubUintConstConstFunction · 0.92
arithMulUintConstConstFunction · 0.92
arithDivUintConstConstFunction · 0.92
arithModUintConstConstFunction · 0.92
NewConstFromValueFunction · 0.85

Calls 1

NewUintFunction · 0.70

Tested by 1

TestCompareOpsAndFormsFunction · 0.74