unsafe2

package
v0.0.0-...-f0aa076 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2016 License: MIT Imports: 6 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