mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
![Sebastiaan van Stijn](/assets/img/avatar_default.png)
full diff: https://github.com/opencontainers/selinux/compare/v1.5.2...v1.6.0 This also adds a new dependency: github.com/willf/bitset Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
9 lines
132 B
Go
9 lines
132 B
Go
// +build go1.9
|
|
|
|
package bitset
|
|
|
|
import "math/bits"
|
|
|
|
func trailingZeroes64(v uint64) uint {
|
|
return uint(bits.TrailingZeros64(v))
|
|
}
|