摘要: 2019-11-22 23:26:26 tar命令 tar [-cxtzjvfpPN] 文件与目录参数说明:-c :建立一个打包文件;-x :解开一个打包文件;-t :查看 tar包里面的文件;-z :打包后用gzip压缩,生成.tar.gz文件;-j :打包后用zip2压缩,生成.tar.bz2文 阅读全文
posted @ 2019-11-23 00:04 JasonPeng1 阅读(96) 评论(0) 推荐(0)
摘要: 2019-11-20 09:23:18 参考:https://github.com/remzi-arpacidusseau/ostep-projects/tree/master/concurrency-webserver Overview In this assignment, you will b 阅读全文
posted @ 2019-11-20 09:25 JasonPeng1 阅读(971) 评论(0) 推荐(0)
摘要: 2019-11-19 17:54:00 参考:https://github.com/riba2534/TCP-IP-NetworkNote/tree/master/ch24 24.1 HTTP 概要 本章将编写 HTTP(HyperText Transfer Protocol,超文本传输协议)服务器 阅读全文
posted @ 2019-11-19 18:58 JasonPeng1 阅读(3133) 评论(0) 推荐(0)
摘要: 2019-11-19 15:12:47 参考:https://blog.csdn.net/qq_29108585/article/details/78177278 阅读全文
posted @ 2019-11-19 15:13 JasonPeng1 阅读(182) 评论(0) 推荐(0)
摘要: 2019-11-19 13:09:52 参考:https://github.com/riba2534/TCP-IP-NetworkNote/tree/master/ch18 18.1 理解线程的概念 18.1.1 引入线程背景 第 10 章介绍了多进程服务端的实现方法。多进程模型与 select 和 阅读全文
posted @ 2019-11-19 15:12 JasonPeng1 阅读(603) 评论(0) 推荐(0)
摘要: 2019-11-19 08:17:40 参考:https://github.com/riba2534/TCP-IP-NetworkNote/tree/master/ch15 15.1 标准 I/O 的优点 15.1.1 标准 I/O 函数的两个优点 下面是标准 I/O 函数的两个优点: 标准 I/O 阅读全文
posted @ 2019-11-19 11:39 JasonPeng1 阅读(236) 评论(0) 推荐(0)
摘要: 2019-11-19 00:19:02 参考大佬:https://github.com/LinHaoo/chat Makefile: all:server client server:server.cpp g++ $^ -o $@ client:client.cpp g++ $^ -o $@ cle 阅读全文
posted @ 2019-11-19 00:22 JasonPeng1 阅读(3892) 评论(0) 推荐(0)
摘要: 2019-11-17 22:44:32 8.1 域名系统 DNS 是对IP地址和域名进行相互转换的系统,其核心是 DNS 服务器 8.1.1 什么是域名 域名就是我们常常在地址栏里面输入的地址,将比较难记忆的IP地址变成人类容易理解的信息。 8.1.2 DNS 服务器 相当于一个字典,可以查询出某一 阅读全文
posted @ 2019-11-17 23:13 JasonPeng1 阅读(411) 评论(0) 推荐(0)
摘要: 2019-11-17 11:30:34 #include<iostream> using namespace std; int n,a[1000001]; void qsort(int l,int r){ int mid = a[(l+r)/2];//中间数 int i = l,j = r; do{ 阅读全文
posted @ 2019-11-17 12:29 JasonPeng1 阅读(270) 评论(0) 推荐(0)
摘要: 2019-11-06 10:43:47 参考《数据结构与算法分析 C++描述》 优先队列的应用: 操作系统的进程调度:MLFQ(多级反馈队列) 模型: 优先队列至少满足两种操作:1.插入 (insert) 2. deleteMin(删除最小顶) 如同大多数数据结构一样,有时可能要添加一些其他的操作, 阅读全文
posted @ 2019-11-06 11:03 JasonPeng1 阅读(193) 评论(0) 推荐(0)