上一页 1 ··· 68 69 70 71 72 73 74 75 76 ··· 187 下一页
摘要: 实践: 0、go程个数 主go程 import ( "fmt" "runtime" "time" ) func main() { for i := 0; i < 4; i++ { go func() { time.Sleep(time.Second) }() } fmt.Println(runtim 阅读全文
posted @ 2019-12-06 02:04 papering 阅读(813) 评论(0) 推荐(0)
摘要: https://segmentfault.com/q/1010000021142202 阅读全文
posted @ 2019-12-05 22:30 papering 阅读(300) 评论(0) 推荐(0)
摘要: https://mp.weixin.qq.com/s/ZlNcvwJ_swspifWTLHA92Q https://mp.weixin.qq.com/s/_hSaI5yMvPTWxvFgl-UItA 阅读全文
posted @ 2019-12-05 22:27 papering 阅读(679) 评论(0) 推荐(0)
摘要: 小结: 1、 AQS 抽象队列同步器 Java中的大部分同步类(Lock、Semaphore、ReentrantLock等) 都是基于AbstractQueuedSynchronizer(简称为AQS)实现的。 AQS是一种提供了原子式管理同步状态、阻塞和唤醒线程功能以及队列模型的简单框架。 2、 阅读全文
posted @ 2019-12-05 21:50 papering 阅读(514) 评论(0) 推荐(0)
摘要: 小结: 1、 > 1、线程要不要锁住同步资源? 锁住:悲观锁 不锁住:乐观锁 2、锁住同步资源失败,线程要不要阻塞? 阻塞:- 不阻塞:自旋锁、适应性自旋锁 3、多个线程竞争同步资源的流程细节有没有区别? 不锁住资源,多个线程只有一个能修改资源成功,其他线程会重试: 无锁 同一个线程执行同步资源时自 阅读全文
posted @ 2019-12-05 21:48 papering 阅读(330) 评论(0) 推荐(0)
摘要: a 翻译 搜索 复制 阅读全文
posted @ 2019-12-05 20:40 papering 阅读(301) 评论(0) 推荐(0)
摘要: https://help.aliyun.com/knowledge_detail/137473.html 阅读全文
posted @ 2019-12-03 19:21 papering 阅读(174) 评论(0) 推荐(0)
摘要: a 阅读全文
posted @ 2019-12-03 17:58 papering 阅读(313) 评论(0) 推荐(0)
摘要: 小结: 1、 内核虚拟存储器 对每个进程都不相同:与进程相关的数据结构(如:页表、task和mm结构、内核栈) 对每个进程都一样:物理存储器、内核代码和数据 进程虚拟存储器 用户栈 共享库的存储器映射区域 运行时堆(通过malloc分配) 为初始化的数据(.bss) 已初始化的数据(.data) 程 阅读全文
posted @ 2019-12-03 17:12 papering 阅读(738) 评论(0) 推荐(0)
摘要: int main(int argc, char* argv[]){ int i = 0; int arr[3] = {0}; for(; i<=3; i++){ arr[i] = 0; printf("hello world\n"); } return 0; } https://phonzia.gi 阅读全文
posted @ 2019-12-02 10:20 papering 阅读(238) 评论(0) 推荐(0)
摘要: 我们在散列表那节中讲过,散列表的插入、删除、查找操作的时间复杂度可以做到常量级的 O(1),非常高效。而二叉查找树在比较平衡的情况下,插入、删除、查找操作时间复杂度才是 O(logn),相对散列表,好像并没有什么优势,那我们为什么还要用二叉查找树呢? 我认为有下面几个原因: 第一,散列表中的数据是无 阅读全文
posted @ 2019-12-01 21:13 papering 阅读(298) 评论(0) 推荐(0)
摘要: Cache busting https://www.keycdn.com/support/what-is-cache-busting https://curtistimson.co.uk/post/front-end-dev/what-is-cache-busting/ 阅读全文
posted @ 2019-11-30 15:16 papering 阅读(585) 评论(0) 推荐(0)
摘要: 栈 阅读全文
posted @ 2019-11-30 13:11 papering 阅读(227) 评论(0) 推荐(0)
摘要: lisp 阅读全文
posted @ 2019-11-30 12:50 papering 阅读(194) 评论(0) 推荐(0)
摘要: t 阅读全文
posted @ 2019-11-30 09:45 papering 阅读(159) 评论(0) 推荐(0)
摘要: 可读可写 阅读全文
posted @ 2019-11-30 09:09 papering 阅读(124) 评论(0) 推荐(0)
摘要: 1 课 阅读全文
posted @ 2019-11-30 08:11 papering 阅读(114) 评论(0) 推荐(0)
摘要: t 阅读全文
posted @ 2019-11-30 00:01 papering 阅读(137) 评论(0) 推荐(0)
摘要: https://www.python.org/dev/peps/pep-0436/ https://docs.python.org/3.8/howto/clinic.html 阅读全文
posted @ 2019-11-28 18:40 papering 阅读(266) 评论(0) 推荐(0)
摘要: https://docs.python.org/3/tutorial/modules.html?highlight=compile#compiled-python-files 阅读全文
posted @ 2019-11-28 13:44 papering 阅读(209) 评论(0) 推荐(0)
摘要: 1 阅读全文
posted @ 2019-11-28 00:49 papering 阅读(212) 评论(0) 推荐(0)
摘要: elf.h 阅读全文
posted @ 2019-11-27 13:10 papering 阅读(197) 评论(0) 推荐(0)
摘要: ldd 阅读全文
posted @ 2019-11-27 09:30 papering 阅读(278) 评论(0) 推荐(0)
摘要: r 阅读全文
posted @ 2019-11-27 08:29 papering 阅读(198) 评论(0) 推荐(0)
摘要: https://baike.baidu.com/item/地址无关代码/22702477 在计算机领域中,地址无关代码 (position-independent code,PIC),又称地址无关可执行文件 (position-independent executable,PIE) ,是指可在主存储 阅读全文
posted @ 2019-11-27 00:44 papering 阅读(449) 评论(0) 推荐(0)
摘要: 病毒感染 pe 阅读全文
posted @ 2019-11-26 22:38 papering 阅读(209) 评论(0) 推荐(0)
摘要: https://www.embedded.com/guidelines-for-handling-volatile-variables/ 阅读全文
posted @ 2019-11-26 14:09 papering 阅读(184) 评论(0) 推荐(0)
摘要: /proc/pid/maps 阅读全文
posted @ 2019-11-26 08:26 papering 阅读(163) 评论(0) 推荐(0)
摘要: /3g https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/overview-of-the-boot-ini-file 阅读全文
posted @ 2019-11-25 23:31 papering 阅读(195) 评论(0) 推荐(0)
摘要: t 阅读全文
posted @ 2019-11-25 22:29 papering 阅读(126) 评论(0) 推荐(0)
摘要: 【Go】高效截取字符串的一些思考 | thinkeridea博客 https://blog.thinkeridea.com/201910/go/efficient_string_truncation.html 【Go】高效截取字符串的一些思考 2019-10-31 最近我在 Go Forum 中发现 阅读全文
posted @ 2019-11-25 20:20 papering 阅读(159) 评论(0) 推荐(0)
摘要: binutils 阅读全文
posted @ 2019-11-25 09:34 papering 阅读(132) 评论(0) 推荐(0)
摘要: + 阅读全文
posted @ 2019-11-24 23:24 papering 阅读(158) 评论(0) 推荐(0)
摘要: tmp 阅读全文
posted @ 2019-11-23 20:07 papering 阅读(214) 评论(0) 推荐(0)
摘要: https://docs.huihoo.com/infoq/qconbeijing/2016/day1/工程效率提升专题/2-2-支持百度万人开发的工具装备及百度工程能力建设-夏仲璞.pdf https://juejin.im/post/5af11605518825671a63b7e2 阅读全文
posted @ 2019-11-23 14:52 papering 阅读(270) 评论(0) 推荐(0)
摘要: 原子 https://www.cnblogs.com/chengxiao/p/6528109.html?from=singlemessage https://www.cnblogs.com/yc_sunniwell/archive/2010/06/24/1764231.html https://ww 阅读全文
posted @ 2019-11-23 08:58 papering 阅读(238) 评论(0) 推荐(0)
摘要: 写时复制 阅读全文
posted @ 2019-11-23 00:38 papering 阅读(149) 评论(0) 推荐(0)
摘要: 虚拟地址到物理地址的转换 阅读全文
posted @ 2019-11-23 00:17 papering 阅读(185) 评论(0) 推荐(0)
摘要: /home/hdp/testcpy sudo ln -s . /usr/lib/cpy390sourcecode cpy390sourcecode -> . sudo ln -s pwd /usr/lib/cpy390sourcecode cpy390sourcecode -> pwd 阅读全文
posted @ 2019-11-22 00:54 papering 阅读(214) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_35636311/article/details/78255568 http://book.pythontips.com/en/latest/python_c_extension.html http://python3porting.com/cext 阅读全文
posted @ 2019-11-22 00:53 papering 阅读(531) 评论(0) 推荐(0)
上一页 1 ··· 68 69 70 71 72 73 74 75 76 ··· 187 下一页