const addrBits … const tagBits … const aixAddrBits … const aixTagBits … const riscv64AddrBits … const riscv64TagBits … const taggedPointerBits … // taggedPointerPack created a taggedPointer from a pointer and a tag. // Tag bits that don't fit in the result are discarded. func taggedPointerPack(ptr unsafe.Pointer, tag uintptr) taggedPointer { … } // Pointer returns the pointer from a taggedPointer. func (tp taggedPointer) pointer() unsafe.Pointer { … } // Tag returns the tag from a taggedPointer. func (tp taggedPointer) tag() uintptr { … }