MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / round_up

Function round_up

util/compiler.cpp:78–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78uint64_t round_up(uint64_t n, uint64_t amount) {
79 return divide_up(n, amount) * amount;
80}
81
82}

Callers 4

maxAccessSizeMethod · 0.85
getMaxAccessSizeMethod · 0.85
round_up_bitsMethod · 0.85

Calls 1

divide_upFunction · 0.85

Tested by

no test coverage detected