Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/facebook/time
/ setTime
Function
setTime
clock/clock_setters.go:35–38 ·
view source on GitHub ↗
(tx *unix.Timex, sec, usec time.Duration)
Source
from the content-addressed store, hash-verified
33
}
34
35
func
setTime(tx *unix.Timex, sec, usec time.Duration) {
36
setTimexField(&tx.Time.Sec, float64(sec))
37
setTimexField(&tx.Time.Usec, float64(usec))
38
}
Callers
3
TestSetTime
Function · 0.85
TestSetTimeNegative
Function · 0.85
Step
Function · 0.85
Calls
1
setTimexField
Function · 0.85
Tested by
2
TestSetTime
Function · 0.68
TestSetTimeNegative
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…