/usr/share/gocode/src/github.com/docker/go-metrics/helpers.go is in golang-github-docker-go-metrics-dev 0.0~git20161110.0.0f35294-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | package metrics
func sumFloat64(vs ...float64) float64 {
var sum float64
for _, v := range vs {
sum += v
}
return sum
}
|