Versions in this module Expand all Collapse all v1 v1.0.2 Jul 13, 2023 v1.0.1 Jul 13, 2023 Changes in this version + const DefaultGranularity + func Deserialize(r io.Reader, s *SearchSet) error + type MatchRange struct + SrcEnd int + SrcStart int + TargetEnd int + TargetStart int + func (m *MatchRange) String() string + type MatchRanges []*MatchRange + func FindPotentialMatches(src, target *SearchSet) []MatchRanges + func (m MatchRanges) Len() int + func (m MatchRanges) Less(i, j int) bool + func (m MatchRanges) Size() int + func (m MatchRanges) Swap(i, j int) + func (m MatchRanges) TargetRange(target *SearchSet) (start, end int) + type SearchSet struct + ChecksumRanges tokenizer.TokenRanges + Checksums []uint32 + Hashes tokenizer.Hash + Tokens tokenizer.Tokens + func New(s string, granularity int) *SearchSet + func (s *SearchSet) GenerateNodeList() + func (s *SearchSet) Serialize(w io.Writer) error