/* Change Logs: Date Author Notes  Sherman the first version  */
int rt_link_utils_num1(rt_uint32_t n)
/* Change Logs: Date Author Notes  Sherman the first version  */
int rt_link_utils_num1(rt_uint32_t n)
{
    int ret = 0;
    while (n)
    {
        n &= n - 1;
        ret++;
    }
    return ret;
}