mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
8 lines
162 B
Go
8 lines
162 B
Go
package main
|
|
|
|
// autoformat-ignore (otherwise gofmt will insist on its particular spacing)
|
|
|
|
func isBitSetGood(x int, pos uint) bool {
|
|
return x & (1<<pos) != 0
|
|
}
|