Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MatchFinder ¶
type MatchFinder struct {
// contains filtered or unexported fields
}
func NewMatchFinder ¶
func NewMatchFinder(pt *PatriciaTree) *MatchFinder
func (*MatchFinder) FindLongestMatches ¶
func (mf *MatchFinder) FindLongestMatches(data []byte) []Match
type MatchFinder2 ¶
type MatchFinder2 struct {
// contains filtered or unexported fields
}
func NewMatchFinder2 ¶
func NewMatchFinder2(pt *PatriciaTree) *MatchFinder2
func (*MatchFinder2) Current ¶
func (mf2 *MatchFinder2) Current() ([]byte, int)
func (*MatchFinder2) FindLongestMatches ¶
func (mf2 *MatchFinder2) FindLongestMatches(data []byte) []Match
type PatriciaTree ¶
type PatriciaTree struct {
// contains filtered or unexported fields
}
func (*PatriciaTree) Get ¶
func (pt *PatriciaTree) Get(key []byte) (interface{}, bool)
func (*PatriciaTree) Insert ¶
func (pt *PatriciaTree) Insert(key []byte, value interface{})
Click to show internal directories.
Click to hide internal directories.