function replicateValue(table, offset, step, end, item) {
    do {
      end -= step;
      table[offset + end] = item;
    } while (end > 0);
  }
@param {!Int32Array} table
@param {number} offset
@param {number} step
@param {number} end
@param {number} item
@return {void}