(k int)
| 51 | } |
| 52 | |
| 53 | func (t *table) atInt(k int) value { |
| 54 | if 0 < k && k <= len(t.array) { |
| 55 | return t.array[k-1] |
| 56 | } |
| 57 | return t.hash[float64(k)] |
| 58 | } |
| 59 | |
| 60 | func (t *table) maybeResizeArray(key int) bool { |
| 61 | // Precondition: key > len(t.array). |
no outgoing calls
no test coverage detected