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

Function tri

index/read_test.go:20–22  ·  view source on GitHub ↗
(x, y, z byte)

Source from the content-addressed store, hash-verified

18}
19
20func tri(x, y, z byte) uint32 {
21 return uint32(x)<<16 | uint32(y)<<8 | uint32(z)
22}
23
24func TestTrivialPosting(t *testing.T) {
25 f, _ := ioutil.TempFile("", "index-test")

Callers 2

TestTrivialPostingFunction · 0.85
TestMergeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected