摘要:
/src/os/exec/exec.go:83
阅读全文
posted @ 2020-01-19 19:28
papering
阅读(248)
推荐(0)
摘要:
https://yq.aliyun.com/articles/73861 alibaba/Alibaba-Java-Coding-Guidelines: Gitbook for AJCG https://github.com/alibaba/Alibaba-Java-Coding-Guideline
阅读全文
posted @ 2020-01-19 11:32
papering
阅读(508)
推荐(0)
摘要:
https://en.wikipedia.org/wiki/DirectX 1994年末,微软即将推出新一代操作系统Windows 95。决定新操作系统的最终价值的因素在于究竟新系统能运行哪些程序。微软的三个员工:Craig Eisler、Alex St. John、Eric Engstrom十分关
阅读全文
posted @ 2020-01-18 16:24
papering
阅读(793)
推荐(0)
摘要:
How to kill go routine? https://stackoverflow.com/questions/37997608/kill-a-method-in-an-infinite-loop-golang I am working with a piece of code that h
阅读全文
posted @ 2020-01-16 11:17
papering
阅读(538)
推荐(0)
摘要:
4752÷48 111111111×111111111
阅读全文
posted @ 2020-01-16 09:57
papering
阅读(307)
推荐(0)
posted @ 2020-01-15 19:02
papering
阅读(198)
推荐(0)
摘要:
package main import ( "fmt" "log" "syscall" "unsafe" ) var ( user32 = syscall.MustLoadDLL("user32.dll") procEnumWindows = user32.MustFindProc("EnumWin
阅读全文
posted @ 2020-01-15 17:35
papering
阅读(563)
推荐(0)
摘要:
Golang调用windows下的dll动态库中的函数 package main import ( "fmt" "syscall" "time" "unsafe" ) const ( MB_OK = 0x00000000 MB_OKCANCEL = 0x00000001 MB_ABORTRETRYI
阅读全文
posted @ 2020-01-15 12:14
papering
阅读(1446)
推荐(0)
摘要:
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowpos https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winus
阅读全文
posted @ 2020-01-15 11:45
papering
阅读(2195)
推荐(0)
摘要:
布隆过滤器 数据同步业务 :google-guava+spring-boot-api+mybatis, 缺失值全匹配查找
阅读全文
posted @ 2020-01-14 21:01
papering
阅读(620)
推荐(0)
摘要:
https://github.com/google/cityhash We like to test hash functions with SMHasher, among other things. SMHasher isn't perfect, but it seems to find almo
阅读全文
posted @ 2020-01-14 14:26
papering
阅读(319)
推荐(0)
摘要:
https://design-patterns.readthedocs.io/zh_CN/latest/structural_patterns/bridge.html
阅读全文
posted @ 2020-01-13 21:01
papering
阅读(219)
推荐(0)
posted @ 2020-01-13 17:35
papering
阅读(575)
推荐(0)
摘要:
https://web.stanford.edu/class/cs166/lectures/13/Small13.pdf
阅读全文
posted @ 2020-01-13 16:36
papering
阅读(272)
推荐(0)
摘要:
https://zh.wikipedia.org/wiki/Microsoft_Windows的訊息迴圈 微软视窗操作系统是以事件驱动做为程序设计的基础。程序的线程会从操作系统获取消息。应用程序会不断循环调用GetMessage函数(或是PeekMessage函数)来接收这些消息,这个循环称之为“事
阅读全文
posted @ 2020-01-11 18:14
papering
阅读(690)
推荐(0)
摘要:
http://www.tcpipguide.com/free/t_SimplexFullDuplexandHalfDuplexOperation-2.htm
阅读全文
posted @ 2020-01-11 18:09
papering
阅读(259)
推荐(0)
摘要:
Linux 技巧:让进程在后台运行更可靠的几种方法 https://www.ibm.com/developerworks/cn/linux/l-cn-nohup/index.html 我们经常会碰到这样的问题,用 telnet/ssh 登录了远程的 Linux 服务器,运行了一些耗时较长的任务, 结
阅读全文
posted @ 2020-01-11 16:07
papering
阅读(377)
推荐(0)
摘要:
https://learnku.com/docs/go-blog/qihoo/6532 Use a Task Pool, a mechanism with a group of long-lived goroutines consuming global task or message queues
阅读全文
posted @ 2020-01-11 14:19
papering
阅读(303)
推荐(0)
摘要:
https://talks.golang.org/2015/go-gc.pdf https://www.oschina.net/translate/go-gc-solving-the-latency-problem-in-go-1-5?comments&p=1 Go: 成千上万的 goroutine
阅读全文
posted @ 2020-01-11 13:05
papering
阅读(244)
推荐(0)
摘要:
https://people.cs.umass.edu/~moss/papers/jgrande-2001-sapphire.pdf Many concurrent garbage collection (GC) algorithms have been devised, but few have
阅读全文
posted @ 2020-01-11 13:03
papering
阅读(239)
推荐(0)
摘要:
Getting to Go: The Journey of Go's Garbage Collector https://blog.golang.org/ismmkeynote
阅读全文
posted @ 2020-01-11 12:53
papering
阅读(285)
推荐(0)
posted @ 2020-01-10 17:29
papering
阅读(200)
推荐(0)
摘要:
https://en.wikipedia.org/wiki/Log-structured_merge-tree
阅读全文
posted @ 2020-01-10 17:28
papering
阅读(857)
推荐(0)
摘要:
映像名称: WmiPrvSE.exePID: 9104会话名 : Services会话# : 0内存使用 : 9,648 K状态 : Unknown用户名 : 暂缺CPU 时间: 0:00:00窗口标题 : 暂缺 映像名称: tasklist.exePID: 7712会话名 : RDP-Tcp#55
阅读全文
posted @ 2020-01-10 15:18
papering
阅读(306)
推荐(0)
posted @ 2020-01-09 23:08
papering
阅读(232)
推荐(0)
摘要:
https://hbase.apache.org/devapidocs/org/apache/hadoop/hbase/util/MurmurHash.html https://github.com/spaolacci/murmur3https://github.com/google/guava/b
阅读全文
posted @ 2020-01-09 23:07
papering
阅读(245)
推荐(0)
摘要:
1 http://man7.org/linux/man-pages/man2/mprotect.2.html https://blog.csdn.net/yanxiangyfg/article/details/52121605
阅读全文
posted @ 2020-01-09 23:07
papering
阅读(395)
推荐(0)
摘要:
https://mp.weixin.qq.com/s/0jPq_YN_BtIHth84smR8WA
阅读全文
posted @ 2020-01-09 22:52
papering
阅读(1067)
推荐(0)
摘要:
入 Go 必读:大型Go工程的项目结构及实战思考 原创 毛剑 QCon 今天
阅读全文
posted @ 2020-01-08 23:17
papering
阅读(845)
推荐(0)
摘要:
CommonMistakes https://golang.org/doc/faq#closures_and_goroutines Why is there no goroutine ID? ¶ Goroutines do not have names; they are just anonymou
阅读全文
posted @ 2020-01-08 23:16
papering
阅读(531)
推荐(0)
摘要:
goroutines inside of goroutines
阅读全文
posted @ 2020-01-08 15:16
papering
阅读(189)
推荐(0)
posted @ 2020-01-07 15:50
papering
阅读(486)
推荐(0)
posted @ 2020-01-07 15:50
papering
阅读(399)
推荐(0)
posted @ 2020-01-06 19:03
papering
阅读(230)
推荐(0)
posted @ 2020-01-05 17:11
papering
阅读(152)
推荐(0)
posted @ 2020-01-05 17:08
papering
阅读(157)
推荐(0)
posted @ 2020-01-05 10:50
papering
阅读(168)
推荐(0)
摘要:
小结: 1、内存对齐:空间换时间 2、尽管类型T1和T2拥有相同的字段集,但是它们的尺寸并不相等。 type T0 struct { a int8 b int64 c int16 } type T1 struct { a int8 c int16 b int64 } 64位操作系统,基于x64的处理
阅读全文
posted @ 2020-01-05 10:29
papering
阅读(420)
推荐(0)
摘要:
对于任何一棵二叉树 终端节点数比度为2的节点数多1.
阅读全文
posted @ 2020-01-04 10:20
papering
阅读(2017)
推荐(0)
摘要:
http://blog.itpub.net/31561269/viewspace-2639083/ https://juejin.im/post/5cfd060ee51d4556f76e8067 适合的场景 数据库防止穿库 Google Bigtable,Apache HBase和Apache Ca
阅读全文
posted @ 2020-01-03 16:11
papering
阅读(927)
推荐(0)