MCPcopy 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
46size_t RestoreIndex(size_t middle, size_t pos)
47{
48 return InLeftHalf(middle, pos) ? pos * 3 + 1 : (pos - middle) * 3 + 2;
49}
50
51struct SkewWrapper
52{

Callers 1

RawSkewFunction · 0.85

Calls 1

InLeftHalfFunction · 0.85

Tested by

no test coverage detected