package
module
Version:
v0.0.0-...-3e779d4
Opens a new window with list of versions in this module.
Published: Dec 10, 2019
License: BSD-3-Clause
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
bloom
Golang Bloom filter package
A simple Bloom filter that uses the FNV-1a hash and the (a + ib) % m trick to
generate i hashes from a single FNV-1a computation.
Documentation
¶
BitArray is an array of bits represented by a slice of bytes.
NewBitArray creates a new array of bits of size n bits.
Get returns the value of bit i, where i is from 0 to
the size of the BitArray minus 1.
Set sets bit i to 1, where i is from 0 to the size of
the BitArray minus 1.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.