#include <bit_vector.hpp>
template<typename T>
struct jubatus::core::storage::detail::bitcount_impl< T, 8 >
Definition at line 66 of file bit_vector.hpp.
Definition at line 67 of file bit_vector.hpp.
68 bits = (bits & 0x5555555555555555LLU) + (bits >> 1 & 0x5555555555555555LLU);
69 bits = (bits & 0x3333333333333333LLU) + (bits >> 2 & 0x3333333333333333LLU);
70 bits = (bits & 0x0f0f0f0f0f0f0f0fLLU) + (bits >> 4 & 0x0f0f0f0f0f0f0f0fLLU);
71 bits = (bits & 0x00ff00ff00ff00ffLLU) + (bits >> 8 & 0x00ff00ff00ff00ffLLU);
72 bits = (bits & 0x0000ffff0000ffffLLU) + (bits >>16 & 0x0000ffff0000ffffLLU);
73 return (bits & 0x00000000ffffffffLLU) + (bits >>32 & 0x00000000ffffffffLLU);
The documentation for this struct was generated from the following file: