- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for findByAlias (0.11 sec)
-
src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go
type UnitType struct { DefaultUnit Unit Units []Unit } // findByAlias returns the unit associated with the specified alias. It returns // nil if the unit with such alias is not found. func (ut UnitType) findByAlias(alias string) *Unit { for _, u := range ut.Units { for _, a := range u.aliases { if alias == a { return &u } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 8.8K bytes - Viewed (0)