大约有 1,500 项符合查询结果(耗时:0.0332秒) [XML]

https://www.tsingfun.com/it/os_kernel/712.html 

通过 ulimit 改善系统性能 - 操作系统(内核) - 清泛网 - 专注C/C++及内核技术

...rver 发出请求,那么此时 server 就会需要创建大量的 socket 连接。但在一个系统当中,往往需要限制单个 server 程序所能使用的最大 socket 数,以供其他的 server 程序所使用。那么我们如何来做到这一点呢?答案是我们可以通过 ulimi...
https://www.tsingfun.com/it/cpp/1299.html 

CMake使用教程 - C/C++ - 清泛网 - 专注C/C++及内核技术

...例详细介绍了使用过程,Step1的配置可能不够完全,比如无法运行make install,无法运行make test,但可以参考。) 简单的程序编译。 (1)运行GUI的cmake,指定要编译的源代码路径和二进制文件路径(会自动创建)。 (2)点击C...
https://www.tsingfun.com/it/tech/749.html 

从Code Review 谈如何做技术 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...讨论的过程中,居然发现有个“因为对方用户的设置”我无法回复了(我被拉黑了,还有一些直接就是冷讽和骂人了,微博中我就直接删除了)。这些批评我的阿里工程师/架构师的观点总结一下如下:(顺便说一下,阿里内还...
https://www.tsingfun.com/it/te... 

Shell脚本编程30分钟入门 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...bash在这方面很弱,比如说: 它的函数只能返回字串,无法返回数组 它不支持面向对象,你无法实现一些优雅的设计模式 它是解释型的,一边解释一边执行,连PHP那种预编译都不是,如果你的脚本包含错误(例如调用了不存...
https://stackoverflow.com/ques... 

Is it abusive to use IDisposable and “using” as a means for getting “scoped behavior” for exception

... I don't think so, necessarily. IDisposable technically is meant to be used for things that have non-managed resources, but then the using directive is just a neat way of implementing a common pattern of try .. finally { dispose }. A purist would argue 'yes - it's...
https://stackoverflow.com/ques... 

Optimizing away a “while(1);” in C++0x

...sume we have the following loops, where count and count2 are global variables (or have had their address taken), and p is a local variable, whose address has not been taken: for (p = q; p != 0; p = p -> next) { ++count; } for (p = q; p != 0; p = p -> next) { ++count2; } Coul...
https://www.tsingfun.com/it/tech/1894.html 

Swift 编程语言入门教程 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...常量定义类似于函数式编程语言中的变量,一次赋值后就无法修改。多多使用有益健康。 一个常量或变量必须与赋值时拥有相同的类型。因此你不用严格定义类型。提供一个值就可以创建常量或变量,并让编译器推断其类型...
https://stackoverflow.com/ques... 

How to install the Raspberry Pi cross compiler on my Linux host machine?

... arm-linux-gnueabihf-raspbian-linux/install/arm-linux-gnueabihf/libc --enable-languages=c,c++,fo rtran --disable-multilib --with-arch=armv6 --with-tune=arm1176jz-s --with-fpu=vfp --with-float= hard --with-pkgversion='crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08' --with-bugurl= https:/...
https://www.tsingfun.com/it/tech/900.html 

移动前端开发之viewport的深入理解 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...通过window.innerWidth 来获取,但在Android 2, Oprea mini 和 UC 8中无法正确获取。 现在我们已经有两个viewport了:layout viewport 和 visual viewport。但浏览器觉得还不够,因为现在越来越多的网站都会为移动设备进行单独的设计,所...
https://www.tsingfun.com/it/tech/1944.html 

如何建立一套适合自己的高胜算交易系统 - 更多技术 - 清泛网 - 专注C/C++及内核技术

...的首要条件。如果,一套很好的交易系统,但心态急噪,无法忍耐空仓或者视那些持续飚升但不知道如何控制风险才为合理而又强行介入,那么,作为脱离交易系统控制,导致的失败,就不能归咎于交易系统程序失败,是心态失...