splitInts

fun splitInts(count: Int, b: IntArray, bShift: Int, dec: Int, bMask: Int, c: IntArray, cIndex: Int, cMask: Int)

Core methods for decoding blocks of docs / freqs / positions / offsets.

  • Read count ints.

  • For all i>= 0 so that bShift - i * dec> 0, apply shift bShift - i * dec and store the result in b at offset count * i.

  • Apply mask cMask and store the result in c starting at offset cIndex.