Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bailey27/cppcryptfs
/ is_power_of_two
Function
is_power_of_two
libcppcryptfs/util/util.h:101–104 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
99
100
template <typename T>
101
bool is_power_of_two(const T& num)
102
{
103
return ((num != 1) && (num & (num - 1))) == 0;
104
}
105
106
BOOL GetPathHash(LPCWSTR path, wstring& hashstr);
107
Callers
1
GetSettings
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected