MCPcopy Create free account
hub / github.com/Unity-Technologies/HLSLcc / snapUpSize

Function snapUpSize

src/cbstring/bstrlib.c:66–92  ·  view source on GitHub ↗

Compute the snapped size for a given requested size. By snapping to powers of 2 like this, repeated reallocations are avoided. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

ballocFunction · 0.85
bfromcstrFunction · 0.85
bfromcstrallocFunction · 0.85
blk2bstrFunction · 0.85
bstrcpyFunction · 0.85
bstrListAllocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected