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

Method firstMarkedBit

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

76 // Finds the first marked bit in the set.
77 // Result is undefined if all bits are unmarked.
78 inline uint32_t firstMarkedBit() const { return firstMarkedBit(value); }
79
80 static uint32_t firstMarkedBit(uint32_t value) { return clz_checked(value); }
81

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected