mmap_span

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 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.MMap)

func (MMapSpan) ApplyTo

func (s MMapSpan) ApplyTo(off int64, f func(int64, sizer) (stop bool))

func (*MMapSpan) Close

func (ms *MMapSpan) Close() error

func (*MMapSpan) ReadAt

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

func (*MMapSpan) Size

func (ms *MMapSpan) Size() (ret int64)

func (*MMapSpan) WriteAt

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

Jump to

Keyboard shortcuts

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