Documentation ¶
Index ¶
- type Queue
- type Queues
- func (self *Queues) Len() structs.Matrix
- func (self *Queues) Move(size structs.Matrix, next blocks.Block, loc int, ret structs.Matrix)
- func (self *Queues) MoveUsing(next blocks.Block, loc int, puller queues.Puller) (buf structs.Matrix, pulled structs.Matrix)
- func (self *Queues) Push(p *packet.Packet)
- func (self *Queues) Send(p *packet.Packet) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
A path queue that uses a flow heap
type Queues ¶
type Queues struct {
// contains filtered or unexported fields
}
A path queue that uses a flow heap
This is very similar to queues.Queues. I probably should merge them with some abstraction, but a queue supports pulling from back and also dropping, so it generalizing that is a little bit complicated. I might generalize that later. For now, I need something that just works.
Click to show internal directories.
Click to hide internal directories.