函数逻辑报告 |
Source Code:kernel\relay.c |
Create Date:2022-07-27 12:52:20 |
Last Modify:2020-03-17 19:20:22 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lay_file_read_end_pos - return the new read position*@read_pos: file read position*@buf: relay channel buffer*@count: number of bytes to be read
函数原型:static size_t relay_file_read_end_pos(struct rchan_buf *buf, size_t read_pos, size_t count)
返回类型:size_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rchan_buf * | buf | |
size_t | read_pos | |
size_t | count |
1102 | subbuf_size等于 sub-buffer size |
1105 | read_subbuf等于read_pos除subbuf_size |
1107 | 如果read_pos取模subbuf_size加count加padding恒等于subbuf_size则end_pos等于read_subbuf加1的和乘subbuf_size |
1111 | 如果end_pos大于等于subbuf_size乘n_subbufs则end_pos等于0 |
1114 | 返回:end_pos |
名称 | 描述 |
---|---|
relay_file_read |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |