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

Method Call

runtime/vam/expr/function/time.go:97–100  ·  view source on GitHub ↗
(args ...vector.Any)

Source from the content-addressed store, hash-verified

95func (*Now) needsInput() {}
96
97func (n *Now) Call(args ...vector.Any) vector.Any {
98 v := int64(nano.Now())
99 return vector.NewConstInt(super.TypeTime, v, args[0].Len())
100}
101
102type Strftime struct {
103 sctx *super.Context

Callers

nothing calls this directly

Calls 3

NowFunction · 0.92
NewConstIntFunction · 0.92
LenMethod · 0.65

Tested by

no test coverage detected