Function report |
Source Code:lib\crc32test.c |
Create Date:2022-07-28 06:55:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:crc32_combine_test
Proto:static int __init crc32_combine_test(void)
Type:int
Parameter:Nothing
| 809 | crc_full = crc32_le(andom starting crc , 4096 random bytes + andom 6 bit offset in buf , andom 11 bit length of test ) |
| 811 | When j <= andom 11 bit length of test cycle |
| 813 | len1 = j , len2 = andom 11 bit length of test - j |
| 817 | crc2 = crc32_le(0, 4096 random bytes + andom 6 bit offset in buf + len1, len2) |
| 820 | If Not ( crc_full == crc32_le_combine(crc1, crc2, len2) && crc_full == xpected crc32_le result ) Then errors++ |
| 823 | runs++ |
| 824 | cond_resched() |
| 833 | Return 0 |
| Name | Describe |
|---|---|
| crc32test_init |
| 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 |