Documentation ¶
Index ¶
- func Delay(z int)
- type EsQueue
- func (q *EsQueue) Capaciity() uint32
- func (q *EsQueue) Get() (val interface{}, ok bool, quantity uint32)
- func (q *EsQueue) Gets(values []interface{}) (gets, quantity uint32)
- func (q *EsQueue) Put(val interface{}) (ok bool, quantity uint32)
- func (q *EsQueue) Puts(values []interface{}) (puts, quantity uint32)
- func (q *EsQueue) Quantity() uint32
- func (q *EsQueue) String() string
- type Item
- type ListQueue
- type Node
- type Queue
- type RingQueue
- func (q *RingQueue) Capacity() int
- func (q *RingQueue) Dequeue() interface{}
- func (q *RingQueue) Enqueue(value interface{}) bool
- func (q *RingQueue) Front() interface{}
- func (q *RingQueue) IsFull() bool
- func (q *RingQueue) Length() int
- func (q *RingQueue) LookAll() []interface{}
- func (q *RingQueue) Tail() interface{}
- type TinyQueue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EsQueue ¶
type EsQueue struct {
// contains filtered or unexported fields
}
lock free queue
func NewEsQueue ¶
type ListQueue ¶
type ListQueue struct {
// contains filtered or unexported fields
}
func NewListQueue ¶
type RingQueue ¶
type RingQueue struct {
// contains filtered or unexported fields
}
func NewRingQueue ¶
Click to show internal directories.
Click to hide internal directories.