File: popcnt_generic.go

package info (click to toggle)
golang-github-bits-and-blooms-bitset 1.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 248 kB
  • sloc: asm: 95; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 481 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//go:build !go1.9 && (!amd64 || appengine)
// +build !go1.9
// +build !amd64 appengine

package bitset

func popcntSlice(s []uint64) uint64 {
	return popcntSliceGo(s)
}

func popcntMaskSlice(s, m []uint64) uint64 {
	return popcntMaskSliceGo(s, m)
}

func popcntAndSlice(s, m []uint64) uint64 {
	return popcntAndSliceGo(s, m)
}

func popcntOrSlice(s, m []uint64) uint64 {
	return popcntOrSliceGo(s, m)
}

func popcntXorSlice(s, m []uint64) uint64 {
	return popcntXorSliceGo(s, m)
}