1. phpcms/base.php 中的 pc_base 类 静态类,主要加载各个文件使用。2. pc_base 中 load_sys_func 等带 sys的函数,基本都是加载 lib下文件。 func加载functions下; class 加载 class下3. pc_base 中 函数一般....
分类:
Web程序 时间:
2014-06-29 00:47:37
阅读次数:
321
http://numbbbbb.gitbooks.io/-the-swift-programming-language-/chapter1/02_a_swift_tour.html本页内容包括:简单值(Simple Values)控制流(Control Flow)函数和闭包(Functions an...
分类:
其他好文 时间:
2014-06-28 18:55:25
阅读次数:
279
设计模式--6大原则--开闭原则摘要: 开闭原则(Open Closed Principle)开闭原则的核心是:软件实体应当对扩展开放,对修改关闭,也就是:软件系统中包含的各种组件,例如模块(Modules)、类(Classes)以及功能(Functions)等等,应该在不修改现有代码的基础上,引入...
分类:
其他好文 时间:
2014-06-28 16:17:37
阅读次数:
281
在官方文档ns-3-manual.pdf中,整个框架图:v 随机变量伪随机生成器pseudo-random number generator (PRNG)。默认情况下,ns-3仿真程序使用固定种子和运行数字,它们分别存在全局变量g_rngSeed 和 g_rngRun中,在ns-3.14版本以后,n...
分类:
其他好文 时间:
2014-06-28 11:01:09
阅读次数:
364
一介绍:
`.ARM.exidx` is the section containing information for unwinding the stack. If your C program has functions that print out a stack backtrace, the functions will likely depend on this section bei...
分类:
其他好文 时间:
2014-06-22 00:31:07
阅读次数:
618
里氏替换原则(Liskov Substitution Principle)表述为 "使用基类对象指针或引用的函数必须能够在不了解衍生类的条件下使用衍生类的对象。(Functions that use pointers or references to base classes must be abl...
分类:
其他好文 时间:
2014-06-19 07:24:20
阅读次数:
297
如果在某个函数中包含了yield, 这意味着这个函数已经是一个Generator, 它的执行 会和其他普通的函数有很多不同。比如: def h(): print 'To be brave' yield 5 h()可以看到,调用h()之后,print语句并没有执行, 这就是yi...
分类:
编程语言 时间:
2014-06-18 16:40:47
阅读次数:
235
Map生成器 map适配器如今能够使用各种不同的Generator,iterator和常量值的组合来填充Map初始化对象package org.rui.collection2.map;/** * map生成器 * @author lenovo * */public class Pair { publ...
分类:
其他好文 时间:
2014-06-18 14:28:05
阅读次数:
213
Move resources allocated using unmanaged interface to managed devminterfaceSo today let’s talk about devm functions as that is what I have been upto t...
分类:
其他好文 时间:
2014-06-18 10:18:24
阅读次数:
651
开放封闭原则(Open Closed Principle)表述为 "软件实体(类、模块、函数等)应对扩展开放,但对修改封闭。(Software entities (classes, modules, functions, etc.) should be open for extension, but...
分类:
其他好文 时间:
2014-06-17 21:14:56
阅读次数:
268