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

Method PostingAnd

index/read.go:287–289  ·  view source on GitHub ↗
(list []uint32, trigram uint32)

Source from the content-addressed store, hash-verified

285}
286
287func (ix *Index) PostingAnd(list []uint32, trigram uint32) []uint32 {
288 return ix.postingAnd(list, trigram, nil)
289}
290
291func (ix *Index) postingAnd(list []uint32, trigram uint32, restrict []uint32) []uint32 {
292 var r postReader

Callers 1

TestTrivialPostingFunction · 0.80

Calls 1

postingAndMethod · 0.95

Tested by 1

TestTrivialPostingFunction · 0.64