trie

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrieNode

type TrieNode struct {
	// contains filtered or unexported fields
}

Aho-Corasick Trie

func Trie

func Trie(inStream []isa.Instruction, isa isa.ISA) *TrieNode

func (*TrieNode) DrawTrie

func (t *TrieNode) DrawTrie(addressRepBase int)

for testing

func (*TrieNode) Find

func (t *TrieNode) Find(target string, isa isa.ISA) (uint, error)

func (*TrieNode) Rop

func (t *TrieNode) Rop(target string, isa isa.ISA) ([]uint, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL