list

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2025 License: MIT, 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 LockFreeList

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

func New

func New[T any]() *LockFreeList[T]

func (*LockFreeList[T]) Len added in v0.10.8

func (l *LockFreeList[T]) Len() uint64

func (*LockFreeList[T]) Pop added in v0.10.8

func (l *LockFreeList[T]) Pop() (v T, ok bool)

func (*LockFreeList[T]) Push

func (l *LockFreeList[T]) Push(v interface{})

Jump to

Keyboard shortcuts

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