码迷,mamicode.com
首页 >  
搜索关键字:deallocate unused    ( 192个结果
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
移植文件系统时,我们可能会遇到这个问题: VFS: Mounted root (cramfs filesystem) readonly on device 31:3. Freeing unused kernel memory: 176K (c0616000 - c0642000) Kernel panic - not syncing: Attempted to kill init! exit...
分类:其他好文   时间:2014-08-28 00:55:38    阅读次数:936
C++中 destory() 和deallocate()以及delete函数的相关性和区别性
这里非常的绕口 需要仔细的来看看: destory(): 显示调用一个对象的析构函数 相当于释放一个对象需要释放的一些动态内存 为下次真正释放对象做准备 deallocate():真正的释放一个内存块。这是一个上层封装也就是delete函数的上层封装 在STL的空间配置器中 有可能会调用dele.....
分类:编程语言   时间:2014-08-23 16:38:51    阅读次数:224
i++和i--运算符优先级
1、问题背景 /** * 测试i++和i-- */ package com.you.model; /** * @author YouHaiDong * @date 2014-08-16 */ @SuppressWarnings("unused") public class AddReduce { static { int x = 10; } static int x...
分类:其他好文   时间:2014-08-16 15:07:20    阅读次数:164
【CentOS】CentOS如何以文本方式启动
1.CentOS的启动级别主要有,默认以leve5的方式启动#0-halt(DoNOTsetinitdefaulttothis)#1-Singleusermode#2-Multiuser,withoutNFS(Thesameas3,ifyoudonothavenetworking)#3-Fullmultiusermode#4-unused#5-X11#6-reboot(DoNOTsetinitdefaulttothis)#2.修改/etc/inittab文件将ini..
分类:其他好文   时间:2014-08-06 06:17:21    阅读次数:225
C++问题整理
1、如何消除"unused parameter"的警告:http://stackoverflow.com/questions/3599160/unused-parameter-warnings-in-c-code比较通用的做法就是(void) x;但是我更欣赏gcc上的__attribute__,可...
分类:编程语言   时间:2014-07-23 15:00:46    阅读次数:165
VB6之切换桌面
Desktop的API,用于切换或者系统桌面环境。扩展起来可以做一个锁屏程序或者多桌面程序。模块部分: 1 'desktop.bas 2 'too much struct and declare unused, shame~ 3 Public Declare Function GetThrea...
分类:其他好文   时间:2014-07-10 14:50:31    阅读次数:314
相克军_Oracle体系_随堂笔记005-Database buffer cache
本章主要阐述SGA中的Database buffer cache。Buffer cache {1.pin (读写瞬间的状态)2.clean3.dirty4.unused}--Database buffer cache概述:1.段、区、块的概念:create table t2 ( id int, .....
分类:数据库   时间:2014-07-09 14:49:28    阅读次数:219
MySQL数据库存储过程动态表建立(PREPARE)
PREPARE statement_name FROM sql_text /*定义*/   EXECUTE statement_name [USING variable [,variable...]] /*执行预处理语句*/   DEALLOCATE PREPARE statement_name /*删除定义*/   这是我项目当中用到的,用作参考使用:DELIMITER $$ DROP PROC...
分类:数据库   时间:2014-06-20 11:22:00    阅读次数:279
开机启动服务:chkconfig命令详解
1、查看系统运行级别#cat/etc/inittab#Defaultrunlevel.Therunlevelsusedare:#0-halt(DoNOTsetinitdefaulttothis)#1-Singleusermode#2-Multiuser,withoutNFS(Thesameas3,ifyoudonothavenetworking)#3-Fullmultiusermode#4-unused#5-X11#6-reboot(DoNOTsetinitdefaulttothis)#id..
分类:其他好文   时间:2014-06-10 23:13:36    阅读次数:261
POJ 1715 Hexadecimal Numbers 组合数学
POJ 1715 Hexadecimal Numbers 组合数学 题目地址 题意:  一个十六进制,最多8位而且每一位都不能重复,求所有符合的数中第n大的数。注意不能有前导0。 分析:  可以发现,第i位的任何一个取值,都有P(unused, i - 1)个数字串,只要从高位向低位,从F到1找过去,看第n个是否在这个区间里面,如果没有的话就把那位置为0,然后找下一位就行了。...
分类:其他好文   时间:2014-06-04 21:14:02    阅读次数:272
192条   上一页 1 ... 17 18 19 20 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!