Function report |
Source Code:lib\objagg.c |
Create Date:2022-07-28 07:23:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:objagg_tmp_graph_create
Proto:static struct objagg_tmp_graph *objagg_tmp_graph_create(struct objagg *objagg)
Type:struct objagg_tmp_graph
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct objagg * | objagg |
| 779 | nodes_count = obj_count |
| 787 | graph = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 788 | If Not graph Then Return NULL |
| 791 | nodes = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
| 792 | If Not nodes Then Go to err_nodes_alloc |
| 794 | nodes_count = nodes_count |
| 796 | alloc_size = BITS_TO_LONGS(nodes_count * nodes_count) * sizeof(unsignedlong) |
| 798 | edges = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 799 | If Not edges Then Go to err_edges_alloc |
| 802 | i = 0 |
| 805 | objagg_obj = objagg_obj |
| 811 | When i < nodes_count cycle |
| 812 | When j < nodes_count cycle |
| 825 | Return graph |
| 827 | err_edges_alloc : |
| 829 | err_nodes_alloc : |
| 831 | Return NULL |
| Name | Describe |
|---|---|
| objagg_opt_simple_greedy_fillup_hints |
| 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 |