Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/facebook/time
/ Read
Method
Read
phc/device.go:168–170 ·
view source on GitHub ↗
(buffer []byte)
Source
from the content-addressed store, hash-verified
166
func
(dev *Device) SetTime(t time.Time) error {
return
clockSetTime(dev, t) }
167
168
func
(dev *Device) Read(buffer []byte) (int, error) {
169
return
syscall.Read(int(dev.Fd()), buffer)
170
}
Callers
nothing calls this directly
Calls
2
Fd
Method · 0.95
Read
Method · 0.65
Tested by
no test coverage detected