导航

上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页

2021年4月30日 #

MD5学习

摘要: rfc里定义4字节为unsigned long int,在32位机器上是4字节,在64位机器上是8字节。 4字节应用于ABCD,导致运算过程中出现差异。 能得到正确输出的代码 https://blog.csdn.net/weixin_42167759/article/details/81209320 阅读全文

posted @ 2021-04-30 15:41 toughcactus 阅读(66) 评论(0) 推荐(0) 编辑

2021年4月29日 #

libmaxminddb安装

摘要: https://github.com/maxmind/libmaxminddb ubuntu sudo add-apt-repository ppa:maxmind/ppa sudo apt update sudo apt install libmaxminddb0 libmaxminddb-dev 阅读全文

posted @ 2021-04-29 11:18 toughcactus 阅读(2046) 评论(0) 推荐(0) 编辑

2021年4月27日 #

win10环境变量

摘要: 此电脑->右键属性->高级系统设置->高级->环境变量 阅读全文

posted @ 2021-04-27 09:16 toughcactus 阅读(80) 评论(0) 推荐(0) 编辑

2021年4月26日 #

信号处理

摘要: sigaction #include <signal.h> int sigaction(int sig, const struct sigaction *act, struct sigaction *oldact); 和signal比较 移植性更佳 常用信号 SIGINT Ctrl-C,终止进程 S 阅读全文

posted @ 2021-04-26 10:34 toughcactus 阅读(86) 评论(0) 推荐(0) 编辑

2021年4月25日 #

signal函数

摘要: 库 #include <signal.h> signal函数 void (*signal(int signo, void (*func)(int)))(int) 返回值是函数指针 void (*)(int) signal两个参数 signo void (*func)(int) 等价于 typdef 阅读全文

posted @ 2021-04-25 17:59 toughcactus 阅读(82) 评论(0) 推荐(0) 编辑

定时器

摘要: 信号定时器的方法和epoll一起,会导致程序正常退出。 头文件 #include <signal.h> #include <time.h> 创建定时器 int timer_create(clockid_t clockid, struct sigevent *evp, timer_t *timerid 阅读全文

posted @ 2021-04-25 17:31 toughcactus 阅读(76) 评论(0) 推荐(0) 编辑

cmake 库链接顺序

摘要: libA依赖libB target_link_libraries(test libA libB) 阅读全文

posted @ 2021-04-25 11:50 toughcactus 阅读(333) 评论(0) 推荐(0) 编辑

2021年4月24日 #

lacp报文格式

摘要: http://www.023wg.com/message/message/cd_feature_lacp_message_format.html 阅读全文

posted @ 2021-04-24 14:38 toughcactus 阅读(441) 评论(0) 推荐(0) 编辑

转换

摘要: https://www.zhihu.com/question/52204225 Calibre https://cloudconvert.com/ 阅读全文

posted @ 2021-04-24 13:47 toughcactus 阅读(53) 评论(0) 推荐(0) 编辑

2021年4月23日 #

Lua获取当前时间

摘要: d 阅读全文

posted @ 2021-04-23 11:42 toughcactus 阅读(84) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页