上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 39 下一页
摘要: /*! * Email: scictor@gmail.com * Auth: scictor * Date: 6/9/2020 * File: DownloaderMainT.cpp * Class: %{Cpp:License:ClassName} (if applicable) * variab 阅读全文
posted @ 2019-12-08 19:17 PKICA 阅读(1782) 评论(0) 推荐(0) 编辑
摘要: https://github.com/CheggEng/electric-fence/tree/master electric-fence 阅读全文
posted @ 2019-12-01 22:18 PKICA 阅读(2) 评论(0) 推荐(0) 编辑
摘要: sar性能分析 1. 开启sar ~$ sar Cannot open /var/log/sysstat/sa28: No such file or directory Please check if data collecting is enable 解决办法:vim /etc/default/s 阅读全文
posted @ 2019-11-24 19:51 PKICA 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 将libcurl封装下载类 curl多线程大批量分片下载大文件源码示例 https://blog.csdn.net/tao_627/article/details/40114995?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommen 阅读全文
posted @ 2019-11-24 16:02 PKICA 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 1. optional的作用 类模板 std::optional 管理一个可选的容纳值,即可以存在也可以不存在的值。 一种常见的 optional 使用情况是一个可能失败的函数的返回值。与其他手段,如 std::pair<T,bool> 相比, optional 良好地处理构造开销高昂的对象,并更加 阅读全文
posted @ 2019-11-02 16:58 PKICA 阅读(166) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<stdlib.h> #include<iostream> #include<iomanip> using namespace std; class A { public: int m_data1; int m_data2; void func1( 阅读全文
posted @ 2019-10-24 20:11 PKICA 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 绝对不编码的,仅仅有字母、数字、短横线(-)、下划线(_)、点(.)和波浪号(~),其它字符要视情况而定。所以一般性的urlencode仅仅需保留上述字符不进行编码。 阅读全文
posted @ 2019-10-07 16:08 PKICA 阅读(617) 评论(0) 推荐(1) 编辑
摘要: 阅读全文
posted @ 2019-09-18 07:09 PKICA 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 对于一个以实现业务为主要目标的码员来说,三分技术,七分业务,更多理解业务也就更好地完成项目. 阅读全文
posted @ 2019-09-10 07:26 PKICA 阅读(301) 评论(0) 推荐(0) 编辑
摘要: epoll 是Linux内核中的一种可扩展IO事件处理机制,最早在 Linux 2.5.44内核中引入,可被用于代替POSIX select 和 poll 系统调用,并且在具有大量应用程序请求时能够获得较好的性能( 此时被监视的文件描述符数目非常大,与旧的 select 和 poll 系统调用完成操 阅读全文
posted @ 2019-09-09 06:57 PKICA 阅读(380) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 39 下一页