MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / RoundUpToPowerOf2

Function RoundUpToPowerOf2

launcher/FileSystem.cpp:1393–1397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1391#if defined(Q_OS_WIN)
1392
1393static long RoundUpToPowerOf2(long originalValue, long roundingMultiplePowerOf2)
1394{
1395 long mask = roundingMultiplePowerOf2 - 1;
1396 return (originalValue + mask) & ~mask;
1397}
1398
1399bool win_ioctl_clone(const std::wstring& src_path, const std::wstring& dst_path, std::error_code& ec)
1400{

Callers 1

win_ioctl_cloneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected