algorithms

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

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

Go to latest
Published: Aug 15, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bitmap

type Bitmap []int

int 8B 64bit in x64 system

func NewBitmap

func NewBitmap(length int) Bitmap

func (*Bitmap) And

func (b *Bitmap) And(b2 Bitmap) Bitmap

func (*Bitmap) Clear

func (b *Bitmap) Clear(i int)

func (*Bitmap) ClearAll

func (b *Bitmap) ClearAll()

func (*Bitmap) Get

func (b *Bitmap) Get(i int) bool

func (*Bitmap) Set

func (b *Bitmap) Set(i int)

type Float

type Float interface {
	~float32 | ~float64
}

type Integer

type Integer interface {
	Signed | Unsigned
}

type Number

type Number interface {
	Integer | Float
}

type Ordered

type Ordered interface {
	Integer | ~string | Float
}

type Signed

type Signed interface {
	~int | ~int8 | ~int16 | ~int32 | ~int64
}

type Unsigned

type Unsigned interface {
	~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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