Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HasTable (0.25 sec)

  1. internal/pubsub/mask.go

    func (t *Mask) MergeMaskable(other Maskable) {
    	*t |= Mask(other.Mask())
    }
    
    // SetIf will add other if b is true.
    func (t *Mask) SetIf(b bool, other Mask) {
    	if b {
    		*t |= other
    	}
    }
    
    // Mask returns the mask as a uint64.
    func (t Mask) Mask() uint64 {
    	return uint64(t)
    }
    
    // Maskable implementations must return their mask as a 64 bit uint.
    type Maskable interface {
    	Mask() uint64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 1.3K bytes
    - Viewed (0)
Back to top