Lines Matching refs:offset
20 def seq_combo_creator(total_lines, width, offset)
23 offset.upto(offset+width-1) do |line_number|
31 next_offset = offset + 1
54 offsets.each_with_index do |offset, index|
56 lines << (offset + line_offset)
65 # 0 to offsets.length creates one additional offset
70 # We need the lowest offset first. Oops.
73 # Move to the next available slot.. next offset will take the one before.
78 new_offsets << (offset + width)
82 new_offsets << (offset + width)
86 new_offsets << offset
123 offset = 0
127 (width, offset, lines) = seq_combo_creator(line_count, width, offset)