Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/google/codesearch
/ addMem
Method
addMem
index/write.go:347–349 ·
view source on GitHub ↗
(x []postEntry)
Source
from the content-addressed store, hash-verified
345
}
346
347
func
(h *postHeap) addMem(x []postEntry) {
348
h.add(&postChunk{m: x})
349
}
350
351
// step reads the next entry from ch and saves it in ch.e.
352
// It returns false if ch is over.
Callers
3
TestHeap
Function · 0.95
mergePost
Method · 0.95
addFile
Method · 0.95
Calls
1
add
Method · 0.95
Tested by
1
TestHeap
Function · 0.76