Function report |
Source Code:lib\test_objagg.c |
Create Date:2022-07-28 06:35:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:test_delta_action_item
Proto:static int test_delta_action_item(struct world *world, struct objagg *objagg, const struct action_item *action_item, bool inverse)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct world * | world | |
struct objagg * | objagg | |
const struct action_item * | action_item | |
bool | inverse |
762 | orig_delta_count = delta_count |
763 | orig_root_count = root_count |
770 | If inverse Then action = If action == ACTION_GET Then ACTION_PUT Else ACTION_GET |
774 | Case action == ACTION_GET |
775 | objagg_obj = world_obj_get(world, objagg, key_id) |
776 | If IS_ERR(objagg_obj) Then Return PTR_ERR(objagg_obj) |
778 | Break |
779 | Case action == ACTION_PUT |
780 | world_obj_put(world, objagg, key_id) |
781 | Break |
784 | If inverse Then Return 0 |
791 | err = check_expect_stats(objagg, & expect_stats, & errmsg) |
792 | If err Then |
797 | Return 0 |
799 | errout : |
803 | test_delta_action_item(world, objagg, action_item, true) |
804 | Return err |
Name | Describe |
---|---|
test_delta_action_item | |
test_delta |
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 |