Documentation ¶
Index ¶
- type Allocator
- type Puller
- type Queue
- type Queues
- func (self *Queues) Clear()
- func (self *Queues) Cut(size Matrix, next Block, loc, dropBy int, ret Matrix)
- func (self *Queues) CutToCapacity(next Block, dropBy int, ret Matrix)
- func (self *Queues) Drop(size Matrix, next Block, dropBy int, ret Matrix)
- func (self *Queues) DropAll(next Block, dropBy int, ret Matrix)
- func (self *Queues) Len() Matrix
- func (self *Queues) LenTo(ret Matrix)
- func (self *Queues) Move(size Matrix, next Block, loc int, ret Matrix)
- func (self *Queues) MoveAll(next Block, loc int, ret Matrix)
- func (self *Queues) MoveUsing(next Block, loc int, puller Puller) (buf Matrix, pulled Matrix)
- func (self *Queues) Push(packet *Packet)
- func (self *Queues) Send(packet *Packet) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Allocator ¶
type Allocator struct {
// contains filtered or unexported fields
}
func NewAllocator ¶
type Queue ¶
type Queue struct { BackPressure bool Allocator *Allocator // contains filtered or unexported fields }
func NewSizedQueue ¶
type Queues ¶
type Queues struct {
// contains filtered or unexported fields
}
func NewNicQueues ¶
func NewSizedQueues ¶
func (*Queues) CutToCapacity ¶
Click to show internal directories.
Click to hide internal directories.