Function report |
Source Code:lib\test_string.c |
Create Date:2022-07-28 06:25:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:strnchr_selftest
Proto:static __init int strnchr_selftest(void)
Type:int
Parameter:Nothing
| 145 | test_string = "abcdefghijkl" |
| 146 | empty_string = "" |
| 150 | When i < strlen(test_string) + 1 cycle |
| 151 | When j < strlen(test_string) + 2 cycle |
| 158 | If result - test_string != i Then Return i + 'a' << 8 | j |
| 164 | If result Then Return 0x10001 |
| 168 | If result != empty_string Then Return 0x10002 |
| 172 | If result Then Return 0x10003 |
| 176 | If result Then Return 0x10004 |
| 179 | Return 0 |
| Name | Describe |
|---|---|
| string_selftest_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 |