slab

package
Version: v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: ISC Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Slab

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

Slab is an implementation of the internal registry free list. A zero-value instance is a valid instance. This data structure is not thread-safe.

func (*Slab) Get

func (s *Slab) Get(i uintptr) interface{}

func (*Slab) Pop

func (s *Slab) Pop(i uintptr) interface{}

func (*Slab) Put

func (s *Slab) Put(entry interface{}) uintptr

Source Files

Jump to

Keyboard shortcuts

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