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

Function NewInt64

value.go:61–61  ·  view source on GitHub ↗
(i int64)

Source from the content-addressed store, hash-verified

59func NewInt16(i int16) Value { return newNativeValue(TypeInt16, uint64(i)) }
60func NewInt32(i int32) Value { return newNativeValue(TypeInt32, uint64(i)) }
61func NewInt64(i int64) Value { return newNativeValue(TypeInt64, uint64(i)) }
62func NewDuration(d nano.Duration) Value { return newNativeValue(TypeDuration, uint64(d)) }
63func NewTime(ts nano.Ts) Value { return newNativeValue(TypeTime, uint64(ts)) }
64func NewFloat(t Type, f float64) Value { return newNativeValue(t, math.Float64bits(f)) }

Callers 15

BenchmarkReadBSUPFunction · 0.92
sqlQueryBodyMethod · 0.92
exprMethod · 0.92
existsExprMethod · 0.92
scalarSubqueryCheckMethod · 0.92
TestBSUPValueFieldFunction · 0.92
ResultMethod · 0.92
ResultMethod · 0.92
EvalMethod · 0.92
sliceIndexMethod · 0.92
CallMethod · 0.92
CallMethod · 0.92

Calls 1

newNativeValueFunction · 0.85

Tested by 2

BenchmarkReadBSUPFunction · 0.74
TestBSUPValueFieldFunction · 0.74