guest

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mmu

type Mmu struct {

	// Limit, maximum memory can be used in this query execution
	Limit int64
	// Mmu,
	Mmu *host.Mmu
	// contains filtered or unexported fields
}

Mmu is container for a query execution

func New

func New(limit int64, mmu *host.Mmu) *Mmu

func (*Mmu) Alloc

func (m *Mmu) Alloc(size int64) error

func (*Mmu) Free

func (m *Mmu) Free(size int64)

func (*Mmu) HostSize

func (m *Mmu) HostSize() int64

func (*Mmu) Size

func (m *Mmu) Size() int64

Jump to

Keyboard shortcuts

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