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

Method firstUnmarkedBit

binderlib/include_android9/utils/BitSet.h:226–226  ·  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

224 // Finds the first unmarked bit in the set.
225 // Result is undefined if all bits are marked.
226 inline uint32_t firstUnmarkedBit() const { return firstUnmarkedBit(value); }
227
228 static inline uint32_t firstUnmarkedBit(uint64_t value) { return __builtin_clzll(~ value); }
229

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected