MCPcopy Create free account
hub / github.com/LockGit/gochat / uint64InExpectedOrder

Function uint64InExpectedOrder

tools/cityhash.go:94–102  ·  view source on GitHub ↗
(x uint64)

Source from the content-addressed store, hash-verified

92}
93
94func uint64InExpectedOrder(x uint64) uint64 {
95 /*
96 if !little {
97 return bswap64(x)
98 }
99 */
100
101 return x
102}
103
104// If I understand the original code correctly, it's expecting to load either 8 or 4
105// byes in little endian order. so let's just simplify it a bit since we will do that

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected