`
chong_zh
  • 浏览: 72307 次
  • 来自: 杭州
社区版块
存档分类
最新评论
文章列表
Assignment: l-values and r-values Some languages use the idea of l-values and r-values. Lvalues are values that have addresses being programmatically accessible to the running program (e.g., via some address-of–operator like "&" in C/C++), meaning that they are variables or dereference ...
通过 JVM arguments 调用: Java -javaagent:youragent.jar 或者 -javaagent:youragent.jar=argument 在试着运行指定的 main 之前使 Java 调用位于 youragent.jar 清单上的: public static void premain(String agentArgs, Instrumentation inst) 方法。在此 premain(...) 方法中可以调用Instrumentation接口(inst参数)的 addTransformer(ClassFileTransformer tra ...
X Window System=X Window系统=X11=X ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 图形视窗系统的规范与协议,只是工具套件及架構規範,本身並無實際參與運作的實體,所以必須有人依據此標準進行開發撰寫。 XOrg和XFree86 ~~~~~~~~~~~~~ XFree86是X Window系统的其中一个实现,自1992年,它一直循著自由發放的開放源代碼模式被發展。它主要的運作平台是Unix类操作系統,由2004年開始,它再不是以GPL軟件許可證的形式出現,而是使用 XFree86®Project 公司所擁有的 XFree ...
java的comments, identifiers, char类型数据 和 string literals使用unicode(utf-16,固定两字节)编码,所有其他elements in a program written in the Java programming language are formed from only ASCII characters 单个char 16位只能表示unicode字符集基本多文种平面(Basic Multilingual Plane, BMP,从U+0000至U+D7FF以及从U+E000至U+FFFF的码位)中的字符,当表示辅助平面(Supple ...
const: The qualifier const can be applied to the declaration of any variable to specify that its value will not be changed. For an array, the const qualifier says that the elements will not be altered. const double e = 2.71828182845905; const char msg[] = "warning: "; The const declaration ...
陈硕的Blog,很好的入门综述: from:http://blog.csdn.net/solstice/article/details/488865 绘制函数调用关系图对理解大型程序大有帮助。我想大家都有过一边读源码(并在头脑中维护一个调用栈),一边在纸上画函数调用关系,然后整理成图的 ...
链接器(英语:Linker),又譯為鏈結器、連結器,是一个程序,将一个或多个由编译器或汇编器生成的目标文件外加库链接为一个可执行文件。 所谓目标文件: Computer programs typically comprise several parts or modules; all these parts/modules need not be contained within a single object file, and in such case refer to each other by means of symbols. Typically, an object file ca ...
在栈上动态分配内存 使用函数alloca可以实现在栈上动态分配内存: The function alloca has the same calling sequence as malloc; however, instead of allocating memory from the heap, the memory is allocated from the stack frame of the current function. The advantage is that we don't have to free the space; it goes away automaticall ...
In C, we can't goto a label that's in another function(跨stack frame). Instead, we must use the setjmp and longjmp functions to perform this type of branching. 首先,在可能需要返回的点执行: #include <setjmp.h> int setjmp(jmp_buf env); (此时setjmp函数将返回0。 参数env是特殊的数据类型jmp_buf. This data type is some form ...
Global site tag (gtag.js) - Google Analytics