你遇到过的源代码中最好的注释是什么?
当前回答
我发现了这个:
I'm not sure what I did
其他回答
来自Linux内核源代码:
linux /包括/ asm-i386 / hw_irq。h:
/*
* subtle. orig_eax is used by the signal code to distinct between
* system calls and interrupted 'random user-space'. Thus we have
* to put a negative value into orig_eax here. (the problem is that
* both system calls and IRQs want to have small integer numbers in
* orig_eax, and the syscall code has won the optimization conflict ;)
*
* Subtle as a pigs ear. VY
*/
// I don't know why I need this, but it stops the people being upside-down
x = -x;
Exception up = new Exception("Something is really wrong.");
throw up; //ha ha
“这永远不会发生”。
朋友,这是我的临终遗言……
在js代码中:
// hack for ie browser (assuming that ie is a browser)