mmap

package
v0.0.0-...-3b473a0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryMap

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

func OpenAnonymous

func OpenAnonymous(size int) (mf *MemoryMap, _ error)

func OpenFileBacked

func OpenFileBacked(path string, size int) (mf *MemoryMap, _ error)

func (*MemoryMap) Advise

func (f *MemoryMap) Advise(advise int) error

func (*MemoryMap) Bytes

func (f *MemoryMap) Bytes() []byte

func (*MemoryMap) Close

func (f *MemoryMap) Close() error

func (*MemoryMap) File

func (f *MemoryMap) File() *os.File

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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