Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodingGay/BlackDex
/ IsAlignedParam
Function
IsAlignedParam
Bcore/src/main/cpp/base/bit_utils.h:206–208 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
204
205
template<typename T>
206
inline bool IsAlignedParam(T x, int n) {
207
return (x & (n - 1)) == 0;
208
}
209
210
template<typename T>
211
inline bool IsAlignedParam(T* x, int n) {
Callers
3
AlignmentPadVector
Function · 0.85
CheckValidOffsetAndSize
Method · 0.85
CheckInterClassDefItem
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected