syncpool

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocBuffer

type DocBuffer struct {
	SmallBuf []byte
	DocBuf   []byte
	Arena    *anyenc.Arena
	Parser   *anyenc.Parser
}

type SyncPool

type SyncPool struct {
	// contains filtered or unexported fields
}

func NewSyncPool

func NewSyncPool(sizeLimit int) *SyncPool

func (*SyncPool) GetDocBuf

func (sp *SyncPool) GetDocBuf() *DocBuffer

func (*SyncPool) ReleaseDocBuf

func (sp *SyncPool) ReleaseDocBuf(b *DocBuffer)

Jump to

Keyboard shortcuts

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