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

Function NewInt16

value.go:59–59  ·  view source on GitHub ↗
(i int16)

Source from the content-addressed store, hash-verified

57func NewInt(t Type, i int64) Value { return newNativeValue(t, uint64(i)) }
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)) }

Callers 1

EvalMethod · 0.92

Calls 1

newNativeValueFunction · 0.85

Tested by

no test coverage detected