- 博客(10)
- 资源 (11)
- 收藏
- 关注
原创 c语言 cast operator
Syntax ( type-name ) expression n addition to the implicit conversions, the following conversions are allowed: 1、Any integer can be cast to any pointer type. Except for the null pointer constan
2015-04-26 22:41:47 1148
原创 c++ Data models
Data models The choices made by each implementation about the sizes of the fundamental types are collectively known as data model. Four data models found wide acceptance: 在32位操作系统中,微软win32 ap
2015-04-26 22:08:08 506
原创 c ++ iterator
Expression Return Type Precondition *r reference r is dereferenceable (see below) ++r It& r is incrementable (see below) 迭代器(Iterator)是用来遍历容器中的每一个元素。迭代器可以被认为
2015-04-26 21:50:38 1528
原创 c++ copy construct
Expression Post-conditions T u = v; The value of u is equivalent to the value of v. The value of v is unchanged T(v) The value of T(v) is equivalent to the value of v. The value
2015-04-26 21:37:07 1212
原创 lua metatable
setmetatable (table, metatable) Sets the metatable for the given table. You cannot change the metatable of other types from Lua, only from C. If metatable is nil, removes the metatable of the given
2015-04-22 21:56:03 714
原创 LUA 学习1
Lua is a dynamically-typed language: types are attached to values rather than to variables. Lua has eight basic types: nil, boolean, number, string, table, function, userdata,
2015-04-19 22:37:07 750
原创 mina学习2
Acceptor线程在等待新socket进入时,执行run()流程如下: AbstractPollingIoAcceptor$Acceptor.processHandles(Iterator) AbstractPollingIoAcceptor$Acceptor.run() NamePreservingRunnable.run() ThreadPoolExecutor.r
2015-04-08 22:04:19 655
原创 mina学习1
在启动程序时,NioSocketAcceptor 绑定本地端口时,NioSocketAcceptor(AbstractPollingIoAcceptor).startupAcceptor() 内部类为一个线程类,用来接收新socket链接。 同时,Acceptor启动IoProcess线程来处理IO读取操作。 Acceptor线程调用堆栈如下: NamePre
2015-04-08 21:41:47 571
原创 netty学习2
在EventLoopGroup执行期间: DefaultThreadFactory$DefaultRunnableDecorator.run() private static final class DefaultRunnableDecorator implements Runnable { private final Runnable r;
2015-04-07 22:11:54 679
原创 netty学习1
1、初始化EventLoopGroup,并设置接受新socket的线程数量。 在创建接受新socket的EventLoopGroup时 EventLoopGroup bossGroup = new NioEventLoopGroup(8); NioEventLoopGroup(MultithreadEventLoopGroup).(int nThreads, ThreadFac
2015-04-07 21:44:46 611
PMbok6 新增敏捷 映射
2018-04-24
Scalable IO in Java -Doug Lea
2015-07-10
java nio and reactor
2015-07-10
flex air案例
2011-05-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人