Documentation ¶
Index ¶
- func ContainerOf(in unsafe.Pointer, offset uintptr) unsafe.Pointer
- type Node
- func (n *Node) Empty() bool
- func (n *Node) Init() *Node
- func (n *Node) Insert(head *Node)
- func (n *Node) InsertToTail(head *Node)
- func (n *Node) IsLast(head *Node) bool
- func (n *Node) IsSingular() bool
- func (n *Node) Join(head *Node)
- func (n *Node) Move(head *Node)
- func (n *Node) MoveToTail(head *Node)
- func (n *Node) Next() *Node
- func (n *Node) Remove()
- func (n *Node) Replace(node *Node)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) InsertToTail ¶
Insert node at tail of list `head`
func (*Node) IsSingular ¶
Tests whether a list `n` has just one entry.
func (*Node) MoveToTail ¶
Move node from old entry to tail of `head`
Click to show internal directories.
Click to hide internal directories.