mmap_span

package
v0.0.0-...-6e19431 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MPL-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 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

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

func (*MMapSpan) InitIndex

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

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