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

Method firstMarkedBit

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

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

Source from the content-addressed store, hash-verified

218 // Finds the first marked bit in the set.
219 // Result is undefined if all bits are unmarked.
220 inline uint32_t firstMarkedBit() const { return firstMarkedBit(value); }
221
222 static inline uint32_t firstMarkedBit(uint64_t value) { return __builtin_clzll(value); }
223

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected