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

Function newNativeValue

value.go:49–49  ·  view source on GitHub ↗
(t Type, x uint64)

Source from the content-addressed store, hash-verified

47var nativeBase byte
48
49func newNativeValue(t Type, x uint64) Value { return Value{t, &nativeBase, x} }
50func (v Value) native() (uint64, bool) { return v.len, v.base == &nativeBase }
51
52func NewUint(t Type, u uint64) Value { return newNativeValue(t, u) }

Callers 15

NewUintFunction · 0.85
NewUint8Function · 0.85
NewUint16Function · 0.85
NewUint32Function · 0.85
NewUint64Function · 0.85
NewIntFunction · 0.85
NewInt8Function · 0.85
NewInt16Function · 0.85
NewInt32Function · 0.85
NewInt64Function · 0.85
NewDurationFunction · 0.85
NewTimeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected