github.com/coyove/sdss@v0.0.0-20231129015646-c2ec58cca6a2/contrib/roaring/popcnt_generic.go (about)

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