memory

package
v0.0.0-...-1a18390 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Memory

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

func (*Memory[T]) Free

func (m *Memory[T]) Free(index int32)

func (*Memory[T]) Get

func (m *Memory[T]) Get(index int32) *T

func (*Memory[T]) Len

func (m *Memory[T]) Len() int

func (*Memory[T]) Put

func (m *Memory[T]) Put(v *T) int32

Jump to

Keyboard shortcuts

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