package
0.0.0-20240409024651-c4af43db5027
Repository: https://github.com/ossf/package-analysis.git
Documentation: pkg.go.dev
# Functions
Count produces a new ValueCounts by counting repetitions of values in the input data.
FromMap creates a new ValueCounts object and initialises its counts from the given map.
FromPairs converts a list of (value, count) pairs back into ValueCounts.
New creates a new empty ValueCounts object.
# Structs
Pair stores a single value and associated count pair.
ValueCounts stores unordered counts of integer values as a map from value (int) to count (int).