MCPcopy Create free account
hub / github.com/Exely/CSAPP-Labs / bitCount

Function bitCount

labs/data/bits.c:179–194  ·  view source on GitHub ↗

* bitCount - returns count of number of 1's in word * Examples: bitCount(5) = 2, bitCount(7) = 3 * Legal ops: ! ~ & ^ | + << >> * Max ops: 40 * Rating: 4 */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected