Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OGSR/OGSR-Engine
/ roundUpToPowerOfTwo
Function
roundUpToPowerOfTwo
3rd_party/Src/ode/ode/src/array.cpp:29–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
28
29
static inline int roundUpToPowerOfTwo (int x)
30
{
31
int i = 1;
32
while (i < x) i <<= 1;
33
return i;
34
}
35
36
37
void dArrayBase::_freeAll (int sizeofT)
Callers
1
_setSize
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected