popcnt_generic.go 481 B

12345678910111213141516171819202122232425
  1. //go:build !go1.9 && (!amd64 || appengine)
  2. // +build !go1.9
  3. // +build !amd64 appengine
  4. package bitset
  5. func popcntSlice(s []uint64) uint64 {
  6. return popcntSliceGo(s)
  7. }
  8. func popcntMaskSlice(s, m []uint64) uint64 {
  9. return popcntMaskSliceGo(s, m)
  10. }
  11. func popcntAndSlice(s, m []uint64) uint64 {
  12. return popcntAndSliceGo(s, m)
  13. }
  14. func popcntOrSlice(s, m []uint64) uint64 {
  15. return popcntOrSliceGo(s, m)
  16. }
  17. func popcntXorSlice(s, m []uint64) uint64 {
  18. return popcntXorSliceGo(s, m)
  19. }