码迷,mamicode.com
首页 >  
搜索关键字:sysrq shutdown halt init ipmi    ( 29490个结果
【梦幻连连连】源码分析(二)
转载请注明出处: GameLayer场景界面效果:     源码分析:   //GameLayer场景初始化,主要是初始化加载界面及背景音乐 bool GameLayer::init() {  float dt=0.0f;         if ( !CCLayerColor::initWithColor(ccc4(255, 255, 255, 255)))...
分类:其他好文   时间:2014-07-22 23:02:35    阅读次数:293
给文件简单加密
#include #include #include #include #include #define BUFF_LEN 1024using namespace std;long file_len(string file_name);void init(string file_name){}voi...
分类:其他好文   时间:2014-07-22 23:00:54    阅读次数:190
git 命令
git命令备查。从当前目录初始化$ git init初始化后,当前目录下创建一个.git目录,所有git需要多数据和资源都在这个目录中。克隆仓库$git clone http://****或者$git clone git://****要确定哪些文件当前处于什么状态,可以用 git status 命令...
分类:其他好文   时间:2014-05-01 22:34:05    阅读次数:376
HP EliteBook 8770p打开Vt-x
activating vt-x from biosIf you have HP EliteBook 8770w do:Shutdown your mobile workstation.Push startup buttonpush ESC keypush F10 to open BIOS setup...
分类:其他好文   时间:2014-05-01 21:08:36    阅读次数:512
[栈和队列]从中缀向后缀转换表达式
1 #include 2 #include 3 #include 4 #define INIT_STACK_SIZE 100 5 typedef struct 6 { 7 char * chOperator; 8 int dwtop; 9 }OPND;10 11 void I...
分类:其他好文   时间:2014-05-01 20:37:37    阅读次数:373
[栈和队列]括号匹配
1 #include 2 #include 3 #include 4 #define INIT_STACK_SIZE 100 5 typedef struct 6 { 7 char * chOperator; 8 int dwtop; 9 }OPND;10 11 void I...
分类:其他好文   时间:2014-05-01 20:32:11    阅读次数:366
IOS中Block的循环引用
@interface DemoObj()@property (nonatomic, strong) NSOperationQueue *queue;@end@implementation DemoObj- (instancetype)init{ self = [super init]; ...
分类:移动开发   时间:2014-05-01 20:28:37    阅读次数:917
父子进程关系
1)父进程先于子进程终止:此种情况就是我们前面所用的孤儿进程。当父进程先退出时,系统会让init进程接管子进程 。2)子进程先于父进程终止,而父进程又没有调用wait或waitpid函数此种情况子进程进入僵死状态,并且会一直保持下去直到系统重启。子进程处于僵死状态时,内核只保存进程的一些必要信息以备...
分类:其他好文   时间:2014-05-01 19:14:22    阅读次数:283
Cocos2d3.0 CheckBox
.h Text* _displayValueLabel; void selectedEvent(Ref* pSender,CheckBoxEventType type); .cpp  init()函数 _touchGroup = Layer::create(); addChild(_touchGroup); Size winSize = ...
分类:其他好文   时间:2014-05-01 17:18:48    阅读次数:453
php的curl获取https加密协议请求返回json数据进行信息获取
header("Content-type:text/html; charset=utf-8"); function getToken($url){         $ch = curl_init();  curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);   //相当关键,这句话是...
分类:Web程序   时间:2014-04-30 22:16:40    阅读次数:373
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!