- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleOnesCount16 (0.14 sec)
-
src/math/bits/example_test.go
// Output: // OnesCount(1110) = 3 } func ExampleOnesCount8() { fmt.Printf("OnesCount8(%08b) = %d\n", 14, bits.OnesCount8(14)) // Output: // OnesCount8(00001110) = 3 } func ExampleOnesCount16() { fmt.Printf("OnesCount16(%016b) = %d\n", 14, bits.OnesCount16(14)) // Output: // OnesCount16(0000000000001110) = 3 } func ExampleOnesCount32() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:16:09 UTC 2019 - 5.3K bytes - Viewed (0)