Gleb Natapov
|
4384c7fe85
|
un-nest range::bound class.
Serializer does not support nested classes yet, so move bound outside.
|
2016-01-24 12:45:41 +02:00 |
|
Tomasz Grabiec
|
eb27fb1f6b
|
range: Introduce equal()
|
2015-12-16 13:09:01 +01:00 |
|
Tomasz Grabiec
|
488528d1cd
|
range: Fix range::subtract() for some cases
Was not handling wrap-around cases like this properly:
(8, 3) - (2, 1)
|
2015-11-09 14:20:31 +02:00 |
|
Tomasz Grabiec
|
0f2727b183
|
range: Implement subtract()
|
2015-11-09 08:42:45 +08:00 |
|
Tomasz Grabiec
|
48c7f51966
|
range: Extract bound comparators
|
2015-11-09 08:42:42 +08:00 |
|
Tomasz Grabiec
|
f37512d1f7
|
range: Make unwrap() return ranges in-order
|
2015-11-09 08:42:39 +08:00 |
|
Raphael S. Carvalho
|
93c1035f6e
|
range: add comment explaining !start and !end in lambda
Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com>
|
2015-10-20 17:23:35 +03:00 |
|
Raphael S. Carvalho
|
c3a9d342f4
|
range: rename overlap to overlaps
overlaps() is more grammatical.
Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com>
|
2015-10-20 17:23:35 +03:00 |
|
Raphael S. Carvalho
|
24f9c2f85e
|
range: add method to check if two ranges overlap
Signed-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>
|
2015-10-15 19:29:54 -03:00 |
|
Tomasz Grabiec
|
11eb9a6260
|
range: Fix range::contains()
A range open-ended on both sides should contain all wrapping ranges.
Spotted by Avi.
|
2015-10-13 12:14:54 +03:00 |
|
Tomasz Grabiec
|
a383f91b68
|
range: Implement range::contains() which takes another range
|
2015-10-13 15:44:36 +08:00 |
|
Avi Kivity
|
d5cf0fb2b1
|
Add license notices
|
2015-09-20 10:43:39 +03:00 |
|
Tomasz Grabiec
|
e0d81351fe
|
range: Introduce split_after()
|
2015-09-09 10:08:24 +02:00 |
|
Avi Kivity
|
98ec451d6a
|
Extract range<> into its own header
It's not just for queries any more.
|
2015-08-02 16:07:42 +03:00 |
|