MCPcopy Create free account
hub / github.com/HexHive/NASS / firstUnmarkedBit

Method firstUnmarkedBit

binderlib/include_android9/utils/BitSet.h:84–84  ·  view source on GitHub ↗

Finds the first unmarked bit in the set. Result is undefined if all bits are marked.

Source from the content-addressed store, hash-verified

82 // Finds the first unmarked bit in the set.
83 // Result is undefined if all bits are marked.
84 inline uint32_t firstUnmarkedBit() const { return firstUnmarkedBit(value); }
85
86 static inline uint32_t firstUnmarkedBit(uint32_t value) { return clz_checked(~ value); }
87

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected