sort

package
v0.0.0-...-21114aa Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: MIT Imports: 2 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 struct {
	// contains filtered or unexported fields
}

func NewBitMap

func NewBitMap(size int) *BitMap

func (*BitMap) Clear

func (b *BitMap) Clear(pos int)

func (*BitMap) Count

func (b *BitMap) Count() int

func (*BitMap) Get

func (b *BitMap) Get(pos int) bool

func (*BitMap) List

func (b *BitMap) List() []int

func (*BitMap) Set

func (b *BitMap) Set(pos int)

func (*BitMap) Size

func (b *BitMap) Size() int

type BloomFilter

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

func NewBloomFilter

func NewBloomFilter(n int, fp float64) *BloomFilter

func (*BloomFilter) Add

func (bf *BloomFilter) Add(data []byte)

func (*BloomFilter) Contains

func (bf *BloomFilter) Contains(data []byte) bool

Jump to

Keyboard shortcuts

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