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

Method Time

runtime/sam/expr/result/buffer.go:31–34  ·  view source on GitHub ↗
(v nano.Ts)

Source from the content-addressed store, hash-verified

29}
30
31func (b *Buffer) Time(v nano.Ts) scode.Bytes {
32 *b = Buffer(super.AppendTime(scode.Bytes((*b)[:0]), v))
33 return scode.Bytes(*b)
34}

Callers 15

fastPathMethod · 0.45
fastPathLoopMethod · 0.45
slowPathMethod · 0.45
date_time_dayofweekFunction · 0.45
date_time_dayFunction · 0.45
date_time_dowFunction · 0.45
date_time_hourFunction · 0.45
date_time_microsecondsFunction · 0.45
date_time_millisecondsFunction · 0.45
date_time_minuteFunction · 0.45
date_time_monthFunction · 0.45
date_time_secondFunction · 0.45

Calls 3

AppendTimeFunction · 0.92
BytesTypeAlias · 0.92
BufferTypeAlias · 0.85

Tested by

no test coverage detected