Documentation
¶
Index ¶
- type AddressContainer
- func (ac AddressContainer[V]) Add(key unsafe.Pointer, value V)
- func (ac AddressContainer[V]) Delete(addresses []unsafe.Pointer)
- func (ac AddressContainer[V]) Map(f func(value V))
- func (ac AddressContainer[V]) Move(old, new unsafe.Pointer)
- func (ac AddressContainer[V]) MoveTo(container any)
- func (ac AddressContainer[V]) Search(addr unsafe.Pointer) (value V, exist bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressContainer ¶
type AddressContainer[V any] struct { // contains filtered or unexported fields }
func NewAddressContainer ¶
func NewAddressContainer[V any]() AddressContainer[V]
func (AddressContainer[V]) Add ¶
func (ac AddressContainer[V]) Add(key unsafe.Pointer, value V)
func (AddressContainer[V]) Delete ¶
func (ac AddressContainer[V]) Delete(addresses []unsafe.Pointer)
func (AddressContainer[V]) Map ¶
func (ac AddressContainer[V]) Map(f func(value V))
func (AddressContainer[V]) Move ¶
func (ac AddressContainer[V]) Move(old, new unsafe.Pointer)
func (AddressContainer[V]) MoveTo ¶
func (ac AddressContainer[V]) MoveTo(container any)
Click to show internal directories.
Click to hide internal directories.