1、节点基本计算设备被抽象为节点。用Nodes类来描述。如Nodeontainer类,用于追踪一组节点指针。NodeContainer nodes;nodes.Create(2);2、应用需要被仿真的用户程序被抽象为应用。这些方法以“Time”对象为参数,记录接收时间和发出时间。NS3用Applic...
分类:
其他好文 时间:
2014-06-28 11:12:03
阅读次数:
214
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2014-06-28 10:45:34
阅读次数:
225
本章节我们重点分析Cocos2d-x3.0与 场景、层相关的源码。这部分源码集中在 libcocos2d –> layers_scenes_transitions_nodes目录下面我先发个截图大家了解一下都有哪些文件。红色框里面的就是我们今天要分析的文件。从命名上可以了解,这个文件夹里的文件主要包...
分类:
其他好文 时间:
2014-06-28 10:35:10
阅读次数:
213
本章节我们重点分析Cocos2d-x3.0与 场景、层相关的源码。这部分源码集中在 libcocos2d –> layers_scenes_transitions_nodes目录下面
我先发个截图大家了解一下都有哪些文件。红色框里面的就是我们今天要分析的文件。
从命名上可以了解,这个文件夹里的文件主要包含了 场景,层,变换这三种类型的文件。
下面我们先分析Scene类
打开C...
分类:
其他好文 时间:
2014-06-24 22:35:00
阅读次数:
172
Given a singly linked list L: L0→L1→…→Ln-1→Ln,
reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…
You must do this in-place without altering the nodes' values.
For example,
Given {1,2,3,4}, reorder it t...
分类:
其他好文 时间:
2014-06-24 21:55:30
阅读次数:
279
1.从pfx格式的证书提取出密钥和证书set OPENSSL_CONF=openssl.cnfopenssl pkcs12 -in my.pfx -nodes -out server.pemopenssl rsa -in server.pem -out server.keyopenssl x509 ...
分类:
其他好文 时间:
2014-06-23 06:45:18
阅读次数:
211
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.
For example,
Given 1->2->3->3->4->4->5, return 1->2->5.
Given 1->1-...
分类:
其他好文 时间:
2014-06-22 22:57:49
阅读次数:
347
Given a binary tree, return the postorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [3,2,1].
Note: Recursive solut...
分类:
其他好文 时间:
2014-06-22 20:58:01
阅读次数:
157
Given a binary tree, return the preorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [1,2,3].
Note: Recursive soluti...
分类:
其他好文 时间:
2014-06-22 16:37:51
阅读次数:
168
Server management the Erlang node and the Erlang application Starting nodes multiple Erlang applications can run inside the same node an application o...
分类:
其他好文 时间:
2014-06-21 16:36:43
阅读次数:
387