随笔分类 -  Key Points

TCPIP header
摘要:tcp packet: tcp header: ip header: 阅读全文

posted @ 2016-07-28 10:53 三叁 阅读(176) 评论(0) 推荐(0)

asm: Writing Inline Assembly
摘要:A usual IA includes these parts: the first line includes asm [volatile], it means the contents in the following parenthesis is IA. the AssblerTemplate 阅读全文

posted @ 2016-07-20 12:14 三叁 阅读(152) 评论(0) 推荐(0)

GDB: basics
摘要:Before Debugging, generating the debugging info using gcc -g3 *.c/cpp; then gdb ~.out/exe using commands: b [n] set breakpoint at line n r [re]run the 阅读全文

posted @ 2016-07-18 20:11 三叁 阅读(149) 评论(0) 推荐(0)

C/C++ kubetu
摘要:reference sign & use predefine in c, but const in c++ 阅读全文

posted @ 2016-07-17 14:31 三叁 阅读(130) 评论(0) 推荐(0)

Setting DPDK+OVS+QEMU on CentOS
摘要:Environment Build Step: these packages are needed for building dpdk+ovs: First download latest dpdk & ovs :http://dpdk.org/download git clone https:// 阅读全文

posted @ 2016-07-10 13:22 三叁 阅读(1804) 评论(0) 推荐(1)

Newly Setting up a CentOS-7 system
摘要:yum install -y epel-release glibc.i686 libtools vim clang git autoconf automake w3m glibc screen the most import sentence I learned in meeting compili 阅读全文

posted @ 2016-07-10 11:19 三叁 阅读(265) 评论(0) 推荐(0)

Notes over compiling..
摘要:When compiling VIM on windows, using nmake may be a better choice.. Because so far my attempts to compile VIM using mingw32/mingw-w64/make+gcc failed 阅读全文

posted @ 2016-05-12 10:47 三叁 阅读(230) 评论(1) 推荐(0)

A convenient way of installing(compiling) VIM with YCM
摘要:Ah, while I am still downloading LLVM from github(very slow.. and very large in size). I come with my new ideas to write this new blog.. Because learn 阅读全文

posted @ 2016-05-10 17:29 三叁 阅读(255) 评论(1) 推荐(0)

gvim work notes.. a few days' work on 64bit vim and plugin compilations
摘要:(a 600MB+ sized c/c++ compiler which is capable of hi-light and JB styled completion!! and of-course with VIM efficiency !!) Till now, several days pa 阅读全文

posted @ 2016-05-09 15:05 三叁 阅读(394) 评论(3) 推荐(0)

Converting between IEEE 754 and Float (Format related
摘要:The float can be converted to well known single-precision IEEE 754 number, why 754? It's the standard representation of single-precision numbers, used 阅读全文

posted @ 2016-04-22 15:58 三叁 阅读(324) 评论(0) 推荐(0)

Qt 5.5 tr usage
摘要:in .cpp file, wherever you want, wrap QString with a tr("somesz") rendering it ready to be translated. in .pro file, specify the readable translation 阅读全文

posted @ 2016-04-20 16:24 三叁 阅读(222) 评论(0) 推荐(0)

Got Stucked in C++ Static Library Loading.. for some time
摘要:I used to load library using 1 single .dll file, so when I happen to do method calling between 2 projects in a solution, I got puzzled.. In the soluti 阅读全文

posted @ 2016-04-19 16:11 三叁 阅读(218) 评论(0) 推荐(0)

Java R&W Related
摘要:In Java, byte = 8 bit, char = 16 bit In C/C++, char = 8 bit There is difference because Java uses Unicode, however C uses ASCII as basic character col 阅读全文

posted @ 2016-04-18 12:31 三叁 阅读(183) 评论(0) 推荐(0)

Java NIO Related
摘要:A file's status is 3-valued: So !Files.exists(path) != Files.notExists(path). If both exists and notExists return false, the existence of the file can 阅读全文

posted @ 2016-04-14 10:55 三叁 阅读(248) 评论(0) 推荐(0)

Java BigDecimal Class
摘要:Using BigDecimal to perform precise calculations with floats. BigDecimal is a class type. So declare/construct one BigDecimal is in the form like: Do 阅读全文

posted @ 2016-04-12 16:24 三叁 阅读(290) 评论(0) 推荐(0)

Learning Java IO indexes
摘要:I/O Streams, it simplifies I/O operations, write a whole object out to stream & read back. File I/O and file system operations, including random acces 阅读全文

posted @ 2016-04-11 16:55 三叁 阅读(150) 评论(0) 推荐(0)

导航