MCPcopy Create free account
hub / github.com/google/codesearch / init

Method init

index/merge.go:247–252  ·  view source on GitHub ↗
(ix *Index, idmap []idrange)

Source from the content-addressed store, hash-verified

245}
246
247func (r *postMapReader) init(ix *Index, idmap []idrange) {
248 r.ix = ix
249 r.idmap = idmap
250 r.trigram = ^uint32(0)
251 r.load()
252}
253
254func (r *postMapReader) nextTrigram() {
255 r.triNum++

Callers 1

MergeFunction · 0.95

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected