(rand *rand.Rand)
| 2208 | } |
| 2209 | |
| 2210 | func (m *TSortedMap) ExistingKey(rand *rand.Rand) int { |
| 2211 | if len(m.keys) == 0 { |
| 2212 | return 0 |
| 2213 | } |
| 2214 | return m.keys[rand.Intn(len(m.keys))] |
| 2215 | } |
| 2216 | |
| 2217 | func (m *TSortedMap) Set(k, v int) { |
| 2218 | m.prev = m.im |
no outgoing calls
no test coverage detected