Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for popcorn (0.4 sec)

  1. src/math/bits/bits.go

    }
    
    // TrailingZeros64 returns the number of trailing zero bits in x; the result is 64 for x == 0.
    func TrailingZeros64(x uint64) int {
    	if x == 0 {
    		return 64
    	}
    	// If popcount is fast, replace code below with return popcount(^x & (x - 1)).
    	//
    	// x & -x leaves only the right-most bit set in the word. Let k be the
    	// index of that bit. Since only a single bit is set, the value is two
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 17.9K bytes
    - Viewed (0)
Back to top