util

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRealAddr

func GetRealAddr(writtenAddr, netAddr string) string

Types

type BitMap

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

func NewBitMap

func NewBitMap(size uint) *BitMap

NewBitMap returns a new BitMap with size in bytes.

func (*BitMap) Clear

func (bm *BitMap) Clear(index uint)

func (*BitMap) Get

func (bm *BitMap) Get(index uint) bool

func (*BitMap) Set

func (bm *BitMap) Set(index uint)

type Uint64Slice

type Uint64Slice []uint64

func (Uint64Slice) Len

func (p Uint64Slice) Len() int

func (Uint64Slice) Less

func (p Uint64Slice) Less(i, j int) bool

func (Uint64Slice) Swap

func (p Uint64Slice) Swap(i, j int)

Jump to

Keyboard shortcuts

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