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

Method init

index/merge.go:314–318  ·  view source on GitHub ↗
(out *bufWriter)

Source from the content-addressed store, hash-verified

312}
313
314func (w *postDataWriter) init(out *bufWriter) {
315 w.out = out
316 w.postIndexFile = bufCreate("")
317 w.base = out.offset()
318}
319
320func (w *postDataWriter) trigram(t uint32) {
321 w.offset = w.out.offset()

Callers 1

MergeFunction · 0.95

Calls 2

bufCreateFunction · 0.85
offsetMethod · 0.80

Tested by

no test coverage detected