MCPcopy Index your code
hub / github.com/google/codesearch / uint32

Method uint32

index/read.go:128–130  ·  view source on GitHub ↗

uint32 returns the uint32 value at the given offset in the index data.

(off uint32)

Source from the content-addressed store, hash-verified

126
127// uint32 returns the uint32 value at the given offset in the index data.
128func (ix *Index) uint32(off uint32) uint32 {
129 return binary.BigEndian.Uint32(ix.slice(off, 4))
130}
131
132// uvarint returns the varint value at the given offset in the index data.
133func (ix *Index) uvarint(off uint32) uint32 {

Callers 2

OpenFunction · 0.95
NameBytesMethod · 0.95

Calls 1

sliceMethod · 0.95

Tested by

no test coverage detected