11 2017 档案

摘要:本文地址:http://www.cnblogs.com/maplefighting/p/7923339.html 1、 (1) 判断对象存活:引用计数器,当有引用时就加1。 缺点:难解决对象之间的循环引用 objA.inst = objB; objB.inst = objA; (2) 可达性分析算法 阅读全文
posted @ 2017-11-30 20:19 maplefighting 阅读(312) 评论(0) 推荐(0)
摘要:本文地址:http://www.cnblogs.com/maplefighting/p/7896945.html 1、状态码:1×× 信息提示 2×× 响应成功 3×× 重定向 4×× 客户端错误 5×× 服务器端错误 200 响应成功 201 已创建 204 not content 成功,没资源返 阅读全文
posted @ 2017-11-27 00:05 maplefighting 阅读(223) 评论(0) 推荐(0)
摘要:本文地址:http://www.cnblogs.com/maplefighting/p/7825313.html mysql: 1、登录:mysql -u root -p 2、创建数据库:mysqladmin -u root -p create xx; 3、删除数据库: drop xx; 4、选择数 阅读全文
posted @ 2017-11-23 10:23 maplefighting 阅读(482) 评论(0) 推荐(0)
摘要:本文地址:http://www.cnblogs.com/maplefighting/p/7812028.html 1、OSI模型的数据链路层保证数据正确的顺序,无差错和完整 2、在连续的ARQ协议中,当滑动窗口序号位数为n,则发送窗口最大尺寸为2^n - 1 3、传输层协议有TCP/UDP,网络层有 阅读全文
posted @ 2017-11-13 10:40 maplefighting 阅读(4569) 评论(0) 推荐(1)
摘要:本文地址:http://www.cnblogs.com/maplefighting/p/7806972.html 1、共享内存进行访问的程序片段称为临界区 2、互斥量和信号量:a、互斥量用于线程的互斥,信号量用于线程的同步,互斥访问是无序的 b、互斥量只能为0/1,信号量可以为非负整数 c、互斥量的 阅读全文
posted @ 2017-11-09 22:41 maplefighting 阅读(1103) 评论(0) 推荐(0)