mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
8 lines
164 B
Go
8 lines
164 B
Go
package main
|
|
|
|
// autoformat-ignore (otherwise gofmt will fix the spacing to reflect precedence)
|
|
|
|
func isBitSetBad(x int, pos uint) bool {
|
|
return x & 1<<pos != 0
|
|
}
|