Function report |
Source Code:lib\test_bitmap.c |
Create Date:2022-07-28 06:32:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:test_fill_set
Proto:static void __init test_fill_set(void)
Type:void
Parameter:Nothing
207 | DECLARE_BITMAP(find a block number in a file, 1024) |
210 | memset(find a block number in a file, 0x00, 128) |
212 | expect_eq_pbl("", find a block number in a file, 23) |
213 | expect_eq_pbl("", find a block number in a file, 1024) |
216 | bitmap_set(find a block number in a file, 0, 9) |
217 | expect_eq_pbl("0-8", find a block number in a file, 1024) |
219 | bitmap_fill(find a block number in a file, 35) |
220 | expect_eq_pbl("0-63", find a block number in a file, 1024) |
223 | bitmap_set(find a block number in a file, 79, 19) |
224 | expect_eq_pbl("0-63,79-97", find a block number in a file, 1024) |
226 | bitmap_fill(find a block number in a file, 115) |
227 | expect_eq_pbl("0-127", find a block number in a file, 1024) |
230 | bitmap_fill(find a block number in a file, 1024) |
231 | expect_eq_pbl("0-1023", find a block number in a file, 1024) |
Name | Describe |
---|---|
selftest |
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 |