(msgs map[string]struct{})
| 154 | } |
| 155 | |
| 156 | func cloneMessages(msgs map[string]struct{}) map[string]struct{} { |
| 157 | msgs2 := make(map[string]struct{}, len(msgs)) |
| 158 | for m := range msgs { |
| 159 | msgs2[m] = struct{}{} |
| 160 | } |
| 161 | return msgs2 |
| 162 | } |
| 163 | |
| 164 | func randMessages(n, maxMessageLength int) map[string]struct{} { |
| 165 | msgs := make(map[string]struct{}) |
no outgoing calls
no test coverage detected
searching dependent graphs…