C++程序  |  11行  |  182 B

#ifndef FIO_HWEIGHT_H
#define FIO_HWEIGHT_H

#include <inttypes.h>

unsigned int hweight8(uint8_t w);
unsigned int hweight32(uint32_t w);
unsigned int hweight64(uint64_t w);

#endif