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

Method clearFirstMarkedBit

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

Finds the first marked bit in the set and clears it. Returns the bit index. Result is undefined if all bits are unmarked.

Source from the content-addressed store, hash-verified

94 // Finds the first marked bit in the set and clears it. Returns the bit index.
95 // Result is undefined if all bits are unmarked.
96 inline uint32_t clearFirstMarkedBit() { return clearFirstMarkedBit(value); }
97
98 static inline uint32_t clearFirstMarkedBit(uint32_t& value) {
99 uint32_t n = firstMarkedBit(value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected