mmap_span

package
v1.54.2-alpha-10 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MPL-2.0 Imports: 4 Imported by: 447

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MMapSpan

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

func (*MMapSpan) Append

func (ms *MMapSpan) Append(mMap Mmap)

func (*MMapSpan) Close

func (ms *MMapSpan) Close() (errs []error)

func (*MMapSpan) Flush added in v1.47.0

func (ms *MMapSpan) Flush() (errs []error)

func (*MMapSpan) InitIndex added in v1.16.0

func (me *MMapSpan) InitIndex()

func (*MMapSpan) ReadAt

func (ms *MMapSpan) ReadAt(p []byte, off int64) (n int, err error)

func (*MMapSpan) WriteAt

func (ms *MMapSpan) WriteAt(p []byte, off int64) (n int, err error)

type Mmap added in v1.52.0

type Mmap interface {
	Flush() error
	Unmap() error
	Bytes() []byte
}

Jump to

Keyboard shortcuts

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