MCPcopy 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
61bool hasLinuxCapability(int cap)
62{
63 static Capabilities capabilities = getCapabilities();
64 return (UInt64(1) << cap) & capabilities.effective;
65}
66
67}
68

Callers 4

mainMethod · 0.85
setMethod · 0.85
TESTFunction · 0.85

Calls 1

getCapabilitiesFunction · 0.85

Tested by 1

TESTFunction · 0.68