+inline-end
(newSize int)
| 398 | } // +inline-end |
| 399 | |
| 400 | func (rg *registry) forceResize(newSize int) { |
| 401 | newSlice := make([]LValue, newSize) |
| 402 | copy(newSlice, rg.array[:rg.top]) // should we copy the area beyond top? there shouldn't be any valid values there so it shouldn't be necessary. |
| 403 | rg.array = newSlice |
| 404 | } |
| 405 | |
| 406 | func (rg *registry) SetTop(topi int) { // +inline-start |
| 407 | // this section is inlined by go-inline |
no outgoing calls
no test coverage detected