MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getLeftChildIndex

Method getLeftChildIndex

common/src/util/min-heap.ts:11–13  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

9 }
10
11 private getLeftChildIndex(index: number): number {
12 return 2 * index + 1
13 }
14
15 private getRightChildIndex(index: number): number {
16 return 2 * index + 2

Callers 1

siftDownMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected