Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func InSlice ¶ added in v0.17.0
func InSlice[T comparable](a T, list []T) bool
Types ¶
type ContinuousPropertyAnalyzer ¶ added in v0.32.1
func (*ContinuousPropertyAnalyzer[T]) Analyze ¶ added in v0.32.1
func (pa *ContinuousPropertyAnalyzer[T]) Analyze(buf []byte, endian binary.ByteOrder)
func (*ContinuousPropertyAnalyzer[T]) Print ¶ added in v0.32.1
func (pa *ContinuousPropertyAnalyzer[T]) Print(out io.Writer)
type DiscretePropertyAnalyzer ¶ added in v0.32.1
type DiscretePropertyAnalyzer[T Number] struct { Name string Offset int End int Min T Max T Counts map[T]int BuildHistogram bool }
func (*DiscretePropertyAnalyzer[T]) Analyze ¶ added in v0.32.1
func (pa *DiscretePropertyAnalyzer[T]) Analyze(buf []byte, endian binary.ByteOrder)
func (*DiscretePropertyAnalyzer[T]) Print ¶ added in v0.32.1
func (pa *DiscretePropertyAnalyzer[T]) Print(out io.Writer)
type SortByHistogramKey ¶ added in v0.19.0
type SortByHistogramKey[T Number] []histogramEntry[T]
func (SortByHistogramKey[T]) Len ¶ added in v0.19.0
func (a SortByHistogramKey[T]) Len() int
func (SortByHistogramKey[T]) Less ¶ added in v0.19.0
func (a SortByHistogramKey[T]) Less(i, j int) bool
func (SortByHistogramKey[T]) Swap ¶ added in v0.19.0
func (a SortByHistogramKey[T]) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.