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

Function NewInt32

value.go:60–60  ·  view source on GitHub ↗
(i int32)

Source from the content-addressed store, hash-verified

58func NewInt8(i int8) Value { return newNativeValue(TypeInt8, uint64(i)) }
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)) }

Callers 1

EvalMethod · 0.92

Calls 1

newNativeValueFunction · 0.85

Tested by

no test coverage detected