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

Method clearLastMarkedBit

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

Finds the last 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

114 // Finds the last marked bit in the set and clears it. Returns the bit index.
115 // Result is undefined if all bits are unmarked.
116 inline uint32_t clearLastMarkedBit() { return clearLastMarkedBit(value); }
117
118 static inline uint32_t clearLastMarkedBit(uint32_t& value) {
119 uint32_t n = lastMarkedBit(value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected