Documentation ¶
Index ¶
- func Each(fun generic.Action2[string, *Pool])
- func ManagedGet[T any](managed ManagedPooledChunk, pool *Pool) *T
- func Put[T any](name string, chunk *Chunk[T])
- func PutById[T any](id uint32, chunk *Chunk[T])
- func Range(fun generic.Func2[string, *Pool, bool])
- type Chunk
- type IChunk
- type Info
- type ManagedPooledChunk
- type Pool
- type PooledChunk
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ManagedGet ¶
func ManagedGet[T any](managed ManagedPooledChunk, pool *Pool) *T
Types ¶
type Info ¶
type ManagedPooledChunk ¶ added in v0.1.39
type ManagedPooledChunk interface { ManagedGet(poolId uint32) any ManagedPooledChunk(pc PooledChunk) }
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
func (*Pool) ReflectType ¶ added in v0.1.38
func (*Pool) TotalAlloc ¶
type PooledChunk ¶ added in v0.1.39
Click to show internal directories.
Click to hide internal directories.