Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexRabinKarp ¶
Types ¶
type BoyerMoore ¶
type BoyerMoore struct {
// contains filtered or unexported fields
}
func NewBoyerMoore ¶
func NewBoyerMoore(pattern string) *BoyerMoore
func (*BoyerMoore) Index ¶
func (bm *BoyerMoore) Index(s string) int
func (*BoyerMoore) IndexAll ¶
func (bm *BoyerMoore) IndexAll(s string) (indices []int)
func (*BoyerMoore) LenP ¶
func (bm *BoyerMoore) LenP() int
Click to show internal directories.
Click to hide internal directories.