1 #ifndef FIO_HWEIGHT_H 2 #define FIO_HWEIGHT_H 3 4 #include <inttypes.h> 5 6 unsigned int hweight8(uint8_t w); 7 unsigned int hweight32(uint32_t w); 8 unsigned int hweight64(uint64_t w); 9 10 #endif 11