Documentation ¶
Overview ¶
References: http://www.hackersdelight.org/hdcodetxt/pop.c.txt http://www.dalkescientific.com/writings/diary/archive/2008/07/03/hakmem_and_other_popcounts.html
Index ¶
- func BasicTableTest(t *testing.T, onesCountFuncs *OnesCountFuncs)
- func NaiveTest(t *testing.T, onesCountFunc func(uint) int)
- func NaiveTest15(t *testing.T, onesCount15Func func(uint16) int)
- func NaiveTest16(t *testing.T, onesCount16Func func(uint16) int)
- func NaiveTest32(t *testing.T, onesCount32Func func(uint32) int)
- func NaiveTest64(t *testing.T, onesCount64Func func(uint64) int)
- func NaiveTest7(t *testing.T, onesCount7Func func(uint8) int)
- func NaiveTest8(t *testing.T, onesCount8Func func(uint8) int)
- func TableTest(t *testing.T, onesCountFunc func(uint) int)
- func TableTest15(t *testing.T, onesCount15Func func(uint16) int)
- func TableTest16(t *testing.T, onesCount16Func func(uint16) int)
- func TableTest32(t *testing.T, onesCount32Func func(uint32) int)
- func TableTest64(t *testing.T, onesCount64Func func(uint64) int)
- func TableTest7(t *testing.T, onesCount7Func func(uint8) int)
- func TableTest8(t *testing.T, onesCount8Func func(uint8) int)
- type OnesCountFuncs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BasicTableTest ¶
func BasicTableTest(t *testing.T, onesCountFuncs *OnesCountFuncs)
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Source: https://stackoverflow.com/q/8590432/142239 Source: http://www.stmintz.com/ccc/index.php?id=94570
|
Source: https://stackoverflow.com/q/8590432/142239 Source: http://www.stmintz.com/ccc/index.php?id=94570 |
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop0)
|
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop0) |
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop1) Source: java.lang.Integer#bitCount Source: http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8u40-b25/java/lang/Integer.java#Integer.bitCount%28int%29 Source: java.lang.Long#bitCount Source: http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8u40-b25/java/lang/Long.java#Long.bitCount%28long%29
|
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop1) Source: java.lang.Integer#bitCount Source: http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8u40-b25/java/lang/Integer.java#Integer.bitCount%28int%29 Source: java.lang.Long#bitCount Source: http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/8u40-b25/java/lang/Long.java#Long.bitCount%28long%29 |
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop1 + alternative) Source: https://github.com/gcc-mirror/gcc/blob/master/libgcc/libgcc2.c#L840-L859 Source: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36041#c8
|
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop1 + alternative) Source: https://github.com/gcc-mirror/gcc/blob/master/libgcc/libgcc2.c#L840-L859 Source: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36041#c8 |
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop2)
|
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop2) |
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop2 + alternative)
|
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop2 + alternative) |
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop3)
|
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop3) |
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop5)
|
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop5) |
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop4)
|
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop4) |
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop5a)
|
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop5a) |
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop6)
|
Source: http://www.hackersdelight.org/hdcodetxt/pop.c.txt (pop6) |
Click to show internal directories.
Click to hide internal directories.