queue

package
v0.13.23 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Growable

type Growable[T any] struct {
	// contains filtered or unexported fields
}

func NewGrowable

func NewGrowable[T any](minCap, maxCap uint32) *Growable[T]

func (*Growable[T]) Clear

func (g *Growable[T]) Clear()

func (*Growable[T]) Pop

func (g *Growable[T]) Pop() T

func (*Growable[T]) Push

func (g *Growable[T]) Push(item T)

func (*Growable[T]) TryPop

func (g *Growable[T]) TryPop() (T, bool)

Jump to

Keyboard shortcuts

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