Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OnesCount64 (0.08 sec)

  1. internal/pubsub/mask.go

    func (t Mask) Overlaps(other Mask) bool {
    	return t&other != 0
    }
    
    // SingleType returns whether t has a single type set.
    func (t Mask) SingleType() bool {
    	return bits.OnesCount64(uint64(t)) == 1
    }
    
    // FromUint64 will set a mask to the uint64 value.
    func (t *Mask) FromUint64(m uint64) {
    	*t = Mask(m)
    }
    
    // Merge will merge other into t.
    func (t *Mask) Merge(other Mask) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. api/go1.9.txt

    pkg math/bits, func Len64(uint64) int
    pkg math/bits, func Len8(uint8) int
    pkg math/bits, func OnesCount(uint) int
    pkg math/bits, func OnesCount16(uint16) int
    pkg math/bits, func OnesCount32(uint32) int
    pkg math/bits, func OnesCount64(uint64) int
    pkg math/bits, func OnesCount8(uint8) int
    pkg math/bits, func Reverse(uint) uint
    pkg math/bits, func Reverse16(uint16) uint16
    pkg math/bits, func Reverse32(uint32) uint32
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 04 20:20:20 UTC 2021
    - 10.7K bytes
    - Viewed (0)
Back to top