MCPcopy
hub / github.com/tinylib/msgp / putUnix

Function putUnix

msgp/integers.go:150–153  ·  view source on GitHub ↗
(b []byte, sec int64, nsec int32)

Source from the content-addressed store, hash-verified

148}
149
150func putUnix(b []byte, sec int64, nsec int32) {
151 binary.BigEndian.PutUint64(b, uint64(sec))
152 binary.BigEndian.PutUint32(b[8:], uint32(nsec))
153}
154
155/* -----------------------------
156 prefix utilities

Callers 3

AppendTimeFunction · 0.85
WriteTimeMethod · 0.85
BenchmarkIntegersUnixFunction · 0.85

Calls

no outgoing calls

Tested by 1

BenchmarkIntegersUnixFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…