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[T]) Capacity() int
- func (q *RingQueue[T]) Dequeue() T
- func (q *RingQueue[T]) Enqueue(value T) bool
- func (q *RingQueue[T]) Front() T
- func (q *RingQueue[T]) IsFull() bool
- func (q *RingQueue[T]) Length() int
- func (q *RingQueue[T]) LookAll() []interface{}
- func (q *RingQueue[T]) Tail() T
- 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[T any] struct { // contains filtered or unexported fields }
func NewListQueue ¶
type RingQueue ¶
type RingQueue[T any] struct { // contains filtered or unexported fields }
func NewRingQueue ¶
Click to show internal directories.
Click to hide internal directories.