sbrkalloc

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package sbrkalloc provides an allocator implementation using sbrk only.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sbrk

func Sbrk(size uintptr) unsafe.Pointer

Sbrk

Types

type T

type T struct{}

T is the type implementating sbrk allocation.

func (*T) Free

func (*T) Free(typ *abi.Type, n uintptr, ptr unsafe.Pointer) alloc.Hint

func (*T) Malloc

func (*T) Malloc(typ *abi.Type, n uintptr, zeroize bool) unsafe.Pointer

func (*T) Palloc

func (x *T) Palloc(size uintptr) unsafe.Pointer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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