Debian Codegraph @

mem/count_pair_default.go

raw
1 //go:build purego || !amd64
2 // +build purego !amd64
3
4 package mem
5
6 func countPair1(b []byte) int {
7 return countPairGeneric(b, 1)
8 }
9
10 func countPair2(b []byte) int {
11 return countPairGeneric(b, 2)
12 }
13
14 func countPair4(b []byte) int {
15 return countPairGeneric(b, 4)
16 }
17
18 func countPair8(b []byte) int {
19 return countPairGeneric(b, 8)
20 }
21
22 func countPair16(b []byte) int {
23 return countPairGeneric(b, 16)
24 }
25
26 func countPair32(b []byte) int {
27 return countPairGeneric(b, 32)
28 }