fifo

package
v2.0.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UnzipFifo

type UnzipFifo[V, W any] struct {
	// contains filtered or unexported fields
}

func New

func New[V, W any]() UnzipFifo[V, W]

func (*UnzipFifo[V, W]) DequeueLeft

func (f *UnzipFifo[V, W]) DequeueLeft() (V, bool)

func (*UnzipFifo[V, W]) DequeueRight

func (f *UnzipFifo[V, W]) DequeueRight() (W, bool)

func (*UnzipFifo[V, W]) Enqueue

func (f *UnzipFifo[V, W]) Enqueue(left V, right W)

Jump to

Keyboard shortcuts

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