unsafe2

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

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

Go to latest
Published: Jan 10, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const MinOffheapSlice = 1024 * 16

Variables

This section is empty.

Functions

func FreeSlice

func FreeSlice(s Slice)

func MaxOffheapBytes

func MaxOffheapBytes() int

func OffheapBytes

func OffheapBytes() int

func SetMaxOffheapBytes

func SetMaxOffheapBytes(n int)

Types

type Slice

type Slice interface {
	Buffer() []byte
	// contains filtered or unexported methods
}

func MakeOffheapSlice

func MakeOffheapSlice(n int) Slice

func MakeSlice

func MakeSlice(n int) Slice

Jump to

Keyboard shortcuts

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