Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ RestoreIndex
Function
RestoreIndex
libs/base/suffix_array.cpp:46–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
}
45
46
size_t RestoreIndex(size_t middle, size_t pos)
47
{
48
return InLeftHalf(middle, pos) ? pos * 3 + 1 : (pos - middle) * 3 + 2;
49
}
50
51
struct SkewWrapper
52
{
Callers
1
RawSkew
Function · 0.85
Calls
1
InLeftHalf
Function · 0.85
Tested by
no test coverage detected