(m map[int64]string)
| 227 | func (s int64Slice) Less(i, j int) bool { return s[i] < s[j] } |
| 228 | |
| 229 | func copyMap(m map[int64]string) map[int64]string { |
| 230 | n := make(map[int64]string) |
| 231 | for k, v := range m { |
| 232 | n[k] = v |
| 233 | } |
| 234 | return n |
| 235 | } |
| 236 | |
| 237 | func (c *channelMap) getTopChannels(id int64, maxResults int) ([]*Channel, bool) { |
| 238 | if maxResults <= 0 { |
no outgoing calls
no test coverage detected