MCPcopy Create free account
hub / github.com/Tencent/MMKV / roundUp

Function roundUp

Core/MemoryFile.h:68–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67template <typename T>
68T roundUp(T numToRound, T multiple) {
69 return ((numToRound + multiple - 1) / multiple) * multiple;
70}
71
72class FileLock;
73

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected