popcount

package
v0.0.0-...-6fe4f4e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

(Package doc comment intentionally malformed to demonstrate golint.)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BitCount

func BitCount(x uint64) int

func PopCount

func PopCount(x uint64) int

PopCount returns the population count (number of set bits) of x.

func PopCountByClearing

func PopCountByClearing(x uint64) int

func PopCountByShifting

func PopCountByShifting(x uint64) int

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳