History log of /haiku/headers/private/shared/RangeArray.h
Revision Date Author Comments
# 06064b9b 25-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

RangeArray::AddRange(): Fix joining with single subsequent range

When joining with a single range, firstRange would be the same as
RangeAt(endIndex - 1) and we would overwrite its offset field before
getting its end offset, thus possibly resulting in a wrong joined range
size.


# 29d45d5e 02-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Add RangeArray utility class

Templatized class for managing a set of sorted non-overlapping integer
ranges. Merges and splits ranges as necessary.


# 85759ab9 02-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Add RangeArray utility class

Templatized class for managing a set of sorted non-overlapping integer
ranges. Merges and splits ranges as necessary.


# 06064b9b4f15ef26d0f5fb32a71e168bb14bc414 25-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

RangeArray::AddRange(): Fix joining with single subsequent range

When joining with a single range, firstRange would be the same as
RangeAt(endIndex - 1) and we would overwrite its offset field before
getting its end offset, thus possibly resulting in a wrong joined range
size.


# 29d45d5ee7ed621d8ddf001a4c53fff00e580832 02-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Add RangeArray utility class

Templatized class for managing a set of sorted non-overlapping integer
ranges. Merges and splits ranges as necessary.


# 85759ab92f9ad360b2c840d200048e9bb8839f01 02-Jul-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Add RangeArray utility class

Templatized class for managing a set of sorted non-overlapping integer
ranges. Merges and splits ranges as necessary.