func math/bits.TrailingZeros
6 uses
math/bits (current package)
bits.go#L59: func TrailingZeros(x uint) int {
math/big
nat.go#L363: return i*_W + uint(bits.TrailingZeros(uint(x[i])))
nat.go#L373: return i*_W + uint(bits.TrailingZeros(uint(x[i]))), true
natconv.go#L318: shift := uint(bits.TrailingZeros(uint(b))) // shift > 0 because b >= 2
crypto/internal/fips140/bigmod
nat.go#L321: t += uint(bits.TrailingZeros(l))
internal/strconv
itoa.go#L105: shift := uint(bits.TrailingZeros(uint(base)))
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |