(idx uint32)
| 25 | } |
| 26 | |
| 27 | func (a *sparseArrayObject) findIdx(idx uint32) int { |
| 28 | return sort.Search(len(a.items), func(i int) bool { |
| 29 | return a.items[i].idx >= idx |
| 30 | }) |
| 31 | } |
| 32 | |
| 33 | func (a *sparseArrayObject) _setLengthInt(l uint32, throw bool) bool { |
| 34 | ret := true |
no outgoing calls
no test coverage detected