函数逻辑报告 |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-27 12:13:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:group_parse_float - parse a floating number*@input: input string*@dec_shift: number of decimal digits to shift*@v: output* Parse a decimal floating point number in @input and store the result in*@v with decimal point right shifted @dec_shift times
函数原型:int cgroup_parse_float(const char *input, unsigned dec_shift, s64 *v)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | input | |
unsigned | dec_shift | |
s64 * | v |
6206 | frac等于0 |
6209 | 如果非sscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: formatting of buffer*@...: resulting arguments则返回:负EINVAL |
6217 | 否则frac等于Same as above but for u64 dividends. divisor must be a 32-bit* number.(frac, power_of_ten(flen - dec_shift)) |
6220 | v等于whole乘power_of_ten(dec_shift)加frac |
6221 | 返回:0 |
名称 | 描述 |
---|---|
ioc_qos_write |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |