MCPcopy Index your code
hub / github.com/cloudfoundry/cli / sum

Function sum

util/ui/ui.go:512–520  ·  view source on GitHub ↗
(intSlice []int)

Source from the content-addressed store, hash-verified

510}
511
512func sum(intSlice []int) int {
513 sum := 0
514
515 for _, i := range intSlice {
516 sum += i
517 }
518
519 return sum
520}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected