Documentation ¶
Index ¶
- Variables
- func IsDoNotRepool(err error) bool
- func MakeFakePool[T any, TPtr schnittstellen.Ptr[T]]() *fakePool[T, TPtr]
- func MakePool[T any, TPtr schnittstellen.Ptr[T]](New func() TPtr, Reset func(TPtr)) *pool[T, TPtr]
- func MakePoolValue[T any](construct func() T, reset func(T)) poolValue[T]
- func MakePoolWithReset[T any, TPtr schnittstellen.Resetable[T]]() *poolWithReset[T, TPtr]
- func MakePooledChain[T schnittstellen.Poolable[T], TPtr schnittstellen.PoolablePtr[T]](p schnittstellen.Pool[T, TPtr], wfs ...schnittstellen.FuncIter[TPtr]) schnittstellen.FuncIter[TPtr]
- func MakeWriterDoNotRepool[T any]() schnittstellen.FuncIter[*T]
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDoNotRepool = errors.New("do not repool")
View Source
var MapPool mapPool
Functions ¶
func IsDoNotRepool ¶
func MakeFakePool ¶
func MakeFakePool[T any, TPtr schnittstellen.Ptr[T]]() *fakePool[T, TPtr]
func MakePool ¶
func MakePool[T any, TPtr schnittstellen.Ptr[T]]( New func() TPtr, Reset func(TPtr), ) *pool[T, TPtr]
func MakePoolValue ¶
func MakePoolValue[T any]( construct func() T, reset func(T), ) poolValue[T]
func MakePoolWithReset ¶
func MakePoolWithReset[T any, TPtr schnittstellen.Resetable[T]]() *poolWithReset[T, TPtr]
func MakePooledChain ¶
func MakePooledChain[T schnittstellen.Poolable[T], TPtr schnittstellen.PoolablePtr[T]]( p schnittstellen.Pool[T, TPtr], wfs ...schnittstellen.FuncIter[TPtr], ) schnittstellen.FuncIter[TPtr]
func MakeWriterDoNotRepool ¶
func MakeWriterDoNotRepool[T any]() schnittstellen.FuncIter[*T]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.