Function report |
Source Code:lib\crc32test.c |
Create Date:2022-07-28 06:55:56 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:crc32c_combine_test
Proto:static int __init crc32c_combine_test(void)
Type:int
Parameter:Nothing
| 719 | crc_full = __crc32c_le(andom starting crc , 4096 random bytes + andom 6 bit offset in buf , andom 11 bit length of test ) |
| 721 | When j <= andom 11 bit length of test cycle |
| 723 | len1 = j , len2 = andom 11 bit length of test - j |
| 727 | crc2 = __crc32c_le(0, 4096 random bytes + andom 6 bit offset in buf + len1, len2) |
| 730 | If Not ( crc_full == __crc32c_le_combine(crc1, crc2, len2) && crc_full == xpected crc32c_le result ) Then errors++ |
| 733 | runs++ |
| 734 | cond_resched() |
| 743 | 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 |