Documentation ¶
Index ¶
- type Bits
- type Bloom
- func (b *Bloom) Add(data string) error
- func (b *Bloom) Cap() uint
- func (b *Bloom) Clear(data string) error
- func (b *Bloom) Contains(data string) (bool, error)
- func (b *Bloom) Read(r io.Reader) (int, error)
- func (b *Bloom) String() string
- func (b *Bloom) Union(other *Bloom) error
- func (b *Bloom) Write(w io.Writer) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bits ¶
type Bits struct {
// contains filtered or unexported fields
}
type Bloom ¶
type Bloom struct {
// contains filtered or unexported fields
}
func (*Bloom) Contains ¶
Contains returns true if the data is in the Bloom or not. If true the result might be a false positive, if the result is false, the data is not in the set.
Click to show internal directories.
Click to hide internal directories.