public final DiskRangeList split(long cOffset) {
    DiskRangeList right = insertAfterInternal((DiskRangeList)this.sliceAndShift(cOffset, end, 0));
    DiskRangeList left = replaceSelfWith((DiskRangeList)this.sliceAndShift(offset, cOffset, 0));
    checkOrder(left, right, left); // Prev/next are already checked in the calls.
    return left;
  }
Splits current element in the list, using DiskRange::slice.
@param cOffset the position to split the list
@return the split list
storage-api/src/java/org/apache/hadoop/hive/common/io/DiskRangeList.java