status-go/vendor/github.com/bits-and-blooms/bitset/popcnt_generic.go

26 lines
481 B
Go
Raw Permalink Normal View History

//go:build !go1.9 && (!amd64 || appengine)
2022-03-10 09:44:48 +00:00
// +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)
}