Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for FromUint64 (0.04 seconds)

  1. internal/pubsub/mask.go

    	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) {
    	*t |= other
    }
    
    // MergeMaskable will merge other into t.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 1.3K bytes
    - Click Count (0)
Back to Top