Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/douchuan/algorithm
/ left
Function
left
src/common/binary_tree.rs:7–9 ·
view source on GitHub ↗
(i: usize)
Source
from the content-addressed store, hash-verified
5
/// left child of i
6
#[inline(always)]
7
pub fn left(i: usize) -> usize {
8
(i << 1) + 1
9
}
10
11
/// right child of i
12
#[inline(always)]
Callers
3
heapify
Function · 0.85
left
Method · 0.85
build
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected