MCPcopy
hub / github.com/google/codesearch / u32

Function u32

index/write_test.go:92–99  ·  view source on GitHub ↗
(x uint32)

Source from the content-addressed store, hash-verified

90}
91
92func u32(x uint32) string {
93 var buf [4]byte
94 buf[0] = byte(x >> 24)
95 buf[1] = byte(x >> 16)
96 buf[2] = byte(x >> 8)
97 buf[3] = byte(x)
98 return string(buf[:])
99}
100
101func fileList(list ...uint32) string {
102 var buf []byte

Callers 1

write_test.goFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected