Documentation ¶
Index ¶
- type Dlcbf
- func (dlcbf *Dlcbf) Add(data []byte) bool
- func (dlcbf *Dlcbf) AddBatch(datas [][]byte) []bool
- func (dlcbf *Dlcbf) ClearAll()
- func (dlcbf *Dlcbf) Count() uint
- func (dlcbf *Dlcbf) Decode(bytes []byte) error
- func (dlcbf *Dlcbf) Delete(data []byte) bool
- func (dlcbf *Dlcbf) DeleteBatch(datas [][]byte) []bool
- func (dlcbf *Dlcbf) Encode() ([]byte, error)
- func (dlcbf *Dlcbf) Get(data []byte) uint8
- func (dlcbf *Dlcbf) GetBatch(datas [][]byte) []uint8
- func (dlcbf *Dlcbf) ReadFrom(stream io.Reader) (int64, error)
- func (dlcbf *Dlcbf) TestAddBatch(datas [][]byte) []bool
- func (dlcbf *Dlcbf) TestAndAdd(data []byte) bool
- func (dlcbf *Dlcbf) WriteTo(stream io.Writer) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dlcbf ¶
type Dlcbf struct {
// contains filtered or unexported fields
}
Dlcbf is a struct representing a d-left Counting Bloom Filter
func NewDlcbfForCapacity ¶
NewDlcbfForCapacity returns a newly created Dlcbf for a given max Capacity
func (*Dlcbf) DeleteBatch ¶
func (*Dlcbf) TestAddBatch ¶
func (*Dlcbf) TestAndAdd ¶
Click to show internal directories.
Click to hide internal directories.