Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
31
func
(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
fastPath
Method · 0.45
fastPathLoop
Method · 0.45
slowPath
Method · 0.45
date_time_dayofweek
Function · 0.45
date_time_day
Function · 0.45
date_time_dow
Function · 0.45
date_time_hour
Function · 0.45
date_time_microseconds
Function · 0.45
date_time_milliseconds
Function · 0.45
date_time_minute
Function · 0.45
date_time_month
Function · 0.45
date_time_second
Function · 0.45
Calls
3
AppendTime
Function · 0.92
Bytes
TypeAlias · 0.92
Buffer
TypeAlias · 0.85
Tested by
no test coverage detected