14 Star 5 Fork 32

src-openEuler/gazelle

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0276-Fix-annotation-errors.patch 3.71 KB
一键复制 编辑 原始数据 按行查看 历史
From 1005ad274d1a59d8a2d60fc280eae38f43c90dbe Mon Sep 17 00:00:00 2001
From: lixiang <lixiang_yewu@cmss.chinamobile.com>
Date: Fri, 11 Oct 2024 09:58:44 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
examples/inc/server.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/examples/inc/server.h b/examples/inc/server.h
index 4631a28..35773e1 100644
--- a/examples/inc/server.h
+++ b/examples/inc/server.h
@@ -33,7 +33,7 @@ struct ServerMumUnit
uint64_t recv_bytes; ///< total receive bytes
struct ServerIpInfo server_ip_info;
uint16_t port; ///< server port
- uint32_t pktlen; ///< the length of peckage
+ uint32_t pktlen; ///< the length of package
char* domain; ///< communication domain
char* api; ///< the type of api
bool debug; ///< if we print the debug information
@@ -65,7 +65,7 @@ struct ServerMudWorker
int32_t epfd; ///< the worker epoll file descriptor
struct epoll_event *epevs; ///< the epoll events
uint64_t recv_bytes; ///< total receive bytes
- uint32_t pktlen; ///< the length of peckage
+ uint32_t pktlen; ///< the length of package
ip_addr_t ip; ///< client ip
uint16_t port; ///< client port
char* api; ///< the type of api
@@ -88,7 +88,7 @@ struct ServerMud
struct epoll_event *epevs; ///< the epoll events
struct ServerIpInfo server_ip_info;
bool* port; ///< server port point to parameter's port
- uint32_t pktlen; ///< the length of peckage
+ uint32_t pktlen; ///< the length of package
char* domain; ///< communication domain
char* api; ///< the type of api
bool debug; ///< if we print the debug information
@@ -184,7 +184,7 @@ void *sermud_listener_create_and_run(void *arg);
int32_t sermud_create_and_run(struct ProgramParams *params);
/**
- * @brief the multi thread, unblock, mutliplexing IO server prints informations
+ * @brief the multi thread, unblock, multiplexing IO server prints informations
* The multi thread, unblock, mutliplexing IO server prints informations.
* @param server_mum the server information
*/
@@ -199,7 +199,7 @@ void sermum_info_print(struct ServerMum *server_mum);
int32_t sersum_create_epfd_and_reg(struct ServerMumUnit *server_unit);
/**
- * @brief the single thread, unblock, mutliplexing IO server accepts the connections
+ * @brief the single thread, unblock, multiplexing IO server accepts the connections
* The single thread, unblock, mutliplexing IO server accepts the connections.
* @param server_unit the server unit
* @param server_handler the server handler
@@ -208,7 +208,7 @@ int32_t sersum_create_epfd_and_reg(struct ServerMumUnit *server_unit);
int32_t sersum_accept_connects(struct epoll_event *cur_epev, struct ServerMumUnit *server_unit);
/**
- * @brief the single thread, unblock, mutliplexing IO server processes the events
+ * @brief the single thread, unblock, multiplexing IO server processes the events
* The single thread, unblock, mutliplexing IO server processes the events.
* @param server_unit the server unit
* @return the result pointer
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/gazelle.git
git@gitee.com:src-openeuler/gazelle.git
src-openeuler
gazelle
gazelle
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385