11 2022 档案
摘要:获取系统当前时间 在调试、日志输出、代码优化时,我们常常需要获得系统的时间。在一些性能要求高的代码优化时,对时间的精确度还比较高。在网上找不高质量的代码,便自己研究了一下,代码如下(能满足跨平台的要求,单位精确到微秒): 1 #ifdef _WIN32 2 #include <windows.h>
阅读全文
摘要:https://www.cnblogs.com/jiu0821/p/6424951.html
阅读全文
摘要:https://blog.csdn.net/qq_31473097/article/details/121412135
阅读全文
摘要:https://github.com/512Community/threadpool https://zhuanlan.zhihu.com/p/504611524 https://github.com/Pithikos/C-Thread-Pool https://github.com/xuwenin
阅读全文
摘要:https://zhuanlan.zhihu.com/p/347507399
阅读全文
摘要:https://zhuanlan.zhihu.com/p/424326887
阅读全文
摘要:https://blog.csdn.net/liubing8609/article/details/85340015
阅读全文
摘要:https://cloud.tencent.com/developer/article/2095690
阅读全文
摘要:https://blog.csdn.net/vincent3678/article/details/122226578 https://blog.csdn.net/zhuguanlin121/article/details/116073699
阅读全文
摘要:1、一篇文章彻底讲懂malloc的实现(ptmalloc):https://blog.csdn.net/songchuwang1868/article/details/89951543 2、Glibc内存管理-ptmalloc2 :https://www.cnblogs.com/mysky007/p
阅读全文
摘要:https://github.com/dloebl/cgif
阅读全文
摘要:实现一:存在栈溢出的风险,来自:https://blog.csdn.net/wangjiannuaa/article/details/6598041 1 /**@func gif_get_scale_rgb 2 * @brief 双线性差值算法缩放RGB图片 3 * @param[in] uDstW
阅读全文
摘要:https://blog.csdn.net/qq_27262241/article/details/109307229
阅读全文
摘要:https://blog.csdn.net/Tianqf505/article/details/92008061 总结一下: 1)枚举的大小是按照enum中元素最大值所占的内存大小来决定的,不像结构体那样有多少个元素就按各个元素所占字节叠加。 2)当枚举成员的值小于4个字节时,占4个字节。 3)当枚
阅读全文
摘要:伪代码 1 void func() 2 { 3 /* 创建gif文件 strFilePath:文件保存路径*/ 4 GifFileType *pGifFile = EGifOpenFileName(strFilePath, FALSE, &iError); 5 6 /* 版本使用89a支持动画 */
阅读全文