Function report |
Source Code:kernel\range.c |
Create Date:2022-07-28 09:33:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:add_range_with_merge
Proto:int add_range_with_merge(struct range *range, int az, int nr_range, u64 start, u64 end)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct range * | range | |
| int | az | |
| int | nr_range | |
| u64 | start | |
| u64 | end |
| 40 | If Not end Then Continue |
| 43 | common_start = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(start, start) |
| 44 | common_end = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(end, end) |
| 45 | If common_start > common_end Then Continue |
| 49 | start = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(start, start) |
| 50 | end = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(end, end) |
| 54 | start = 0 |
| 55 | end = 0 |
| 56 | nr_range-- |
| 57 | i-- |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |