MCPcopy Create free account
hub / github.com/SergeyMakeev/smmalloc / GetNextPow2

Function GetNextPow2

SmMalloc/smmalloc.cpp:211–222  ·  view source on GitHub ↗

Return the next power of 2 higher than the input If the input is already a power of 2, the output will be the same as the input. Got this from Brian Sharp's SWEng mailing list.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected