Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ClickHouse/ClickHouse
/ hasLinuxCapability
Function
hasLinuxCapability
src/Common/hasLinuxCapability.cpp:61–65 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
}
60
61
bool hasLinuxCapability(int cap)
62
{
63
static Capabilities capabilities = getCapabilities();
64
return (UInt64(1) << cap) & capabilities.effective;
65
}
66
67
}
68
Callers
4
main
Method · 0.85
processThreadLocalChanges
Method · 0.85
set
Method · 0.85
TEST
Function · 0.85
Calls
1
getCapabilities
Function · 0.85
Tested by
1
TEST
Function · 0.68