pool_list

package
v1.0.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PoolList

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

func NewPoolList

func NewPoolList[T any](ptr *T, size int) (*PoolList[T], error)

func (*PoolList[T]) Get

func (p *PoolList[T]) Get() *T

func (*PoolList[T]) GetLeftSize

func (p *PoolList[T]) GetLeftSize() int

func (*PoolList[T]) Put

func (p *PoolList[T]) Put(value *T)

type PoolListItem

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

Jump to

Keyboard shortcuts

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