File: trees.go

package info (click to toggle)
golang-github-kentik-patricia 0.0~git20201202.f9447a6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,372 kB
  • sloc: makefile: 38
file content (9 lines) | stat: -rw-r--r-- 301 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
package uint_tree

// code common to the IPv4/IPv6 trees

// MatchesFunc is called to check if tag data matches the input value
type MatchesFunc func(payload uint, val uint) bool

// FilterFunc is called on each result to see if it belongs in the resulting set
type FilterFunc func(payload uint) bool