Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
78
uint64_t round_up(uint64_t n, uint64_t amount) {
79
return divide_up(n, amount) * amount;
80
}
81
82
}
Callers
4
calculateAndInitConstants
Function · 0.85
maxAccessSize
Method · 0.85
getMaxAccessSize
Method · 0.85
round_up_bits
Method · 0.85
Calls
1
divide_up
Function · 0.85
Tested by
no test coverage detected