本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
229B

  1. // +build go1.9
  2. // "go1.9", from Go version 1.9 onward
  3. // See https://golang.org/pkg/go/build/#hdr-Build_Constraints
  4. package roaring
  5. import "math/bits"
  6. func countTrailingZeros(x uint64) int {
  7. return bits.TrailingZeros64(x)
  8. }
上海开阖软件有限公司 沪ICP备12045867号-1