queue

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RingBuffer

type RingBuffer struct {
	// contains filtered or unexported fields
}

func NewRingBuffer

func NewRingBuffer(size int) *RingBuffer

func (*RingBuffer) Cap

func (r *RingBuffer) Cap() uint64

func (*RingBuffer) Len

func (r *RingBuffer) Len() uint64

func (*RingBuffer) Pop

func (r *RingBuffer) Pop() *task.Task

func (*RingBuffer) Push

func (r *RingBuffer) Push(t *task.Task) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL