unused function: func (ra *roaringArray) containsKey(x uint16) bool { return (ra.binarySearch(0, int64(len(ra.keys)), x) >= 0) } getContainer returns the container with key `x` if no such container exists `nil` is returned
(x uint16)
| 307 | // getContainer returns the container with key `x` |
| 308 | // if no such container exists `nil` is returned |
| 309 | func (ra *roaringArray) getContainer(x uint16) container { |
| 310 | i := ra.binarySearch(0, int64(len(ra.keys)), x) |
| 311 | if i < 0 { |
| 312 | return nil |
| 313 | } |
| 314 | return ra.containers[i] |
| 315 | } |
| 316 | |
| 317 | func (ra *roaringArray) getContainerAtIndex(i int) container { |
| 318 | return ra.containers[i] |
no test coverage detected