Function report |
Source Code:lib\kstrtox.c |
Create Date:2022-07-28 06:26:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Convert non-negative integer string representation in explicitly given radix* to an integer.* Return number of characters consumed maybe or-ed with overflow bit.* If overflow occurs, result integer (incorrect) is still returned.
Proto:unsigned int _parse_integer(const char *s, unsigned int base, unsigned long long *p)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | s | |
unsigned int | base | |
unsigned long long * | p |
53 | res = 0 |
54 | rv = 0 |
55 | When 1 cycle |
64 | Else Break |
73 | If Value for the false possibility is greater at compile time(res & (~0ull << 60)) Then |
78 | rv++ |
79 | s++ |
82 | Return rv |
Name | Describe |
---|---|
simple_strtoull | simple_strtoull - convert a string to an unsigned long long*@cp: The start of the string*@endp: A pointer to the end of the parsed string will be placed here*@base: The number base to use* This function is obsolete. Please use kstrtoull instead. |
bitmap_getnum |
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 |