08 2016 档案
摘要:如下是Code Review中一些典型的内容: 一、常规项: 1、代码能够工作么?它有没有实现预期的功能,逻辑是否正确等。 2、所有的代码是否简单易懂? 3、代码符合你所遵循的编程规范么?这通常包括大括号的位置,变量名和函数名,行的长度,缩进,格式和注释。 4、是否存在多余的或者重复的代码? 5、代
阅读全文
摘要:GUI内终端执行如下指令,或者加入开机启动脚本内 gsettings set org.gnome.settings-daemon.plugins.power button-power shutdown will change your the behaviour of the power butto
阅读全文
摘要:1、日志产生的性能影响:由于日志的记录带来的直接性能损耗就是数据库系统中最为昂贵的IO资源。MySQL的日志包括错误日志(ErrorLog),更新日志(UpdateLog),二进制日志(Binlog),查询日志(QueryLog),慢查询日志(SlowQueryLog)等。当然,更新日志是老版本的M
阅读全文
摘要:#include #include #include #include #include #include #define ERROR(text) error(1, errno, "%s", text) typedef struct test{ int flag; const char *name; }EventMask; int freads...
阅读全文

浙公网安备 33010602011771号