转自 http://uliweb.clkg.org/tutorial/read/11
分类:
系统相关 时间:
2014-05-14 07:59:55
阅读次数:
276
#define DEFINE(sym, val)
asm volatile("\n->" #sym " %0 " #val : : "i" (val))
那个宏定义在asm-offsets.c中,这个.c文件根本就不是用来编译运行的,只是在编译内核的时候,用它生成一个asm-offsets.s文件,然后使用一个脚本将这个asm-offsets.s再转换为asm-offset...
分类:
其他好文 时间:
2014-05-14 00:16:28
阅读次数:
425
recv函数会将套接字缓冲区中的内容读出,但不清空,与read函数的区别在此。此函数有一个flag标志位,设为MSG_PEEK。
send函数会将缓冲区中的内容写入到套接字,也不清空,与write函数的区别在此。
用这两个函数可以先接收或发送缓冲区中的内容,然后再用readn(此时缓冲区中的内容依然存在)与write函数去继续判断换行符/n,对缓冲区内容实现换行输出。
echocli.c...
分类:
其他好文 时间:
2014-05-13 23:43:35
阅读次数:
494
ORACLE RMAN备份及还原
RMAN可以进行增量备份:数据库,表空间,数据文件
只有使用过的block可以被备份成backup set
表空间与数据文件对应关系:dba_data_files / v$datafile_header
在noarchivelog模式下,可以使用RMAN备份read-only和offline的表空间
O...
分类:
数据库 时间:
2014-05-13 16:18:47
阅读次数:
556
HITAG S--3rd generation HITAG? familyModulation
Read/Write Device to Transponder: 100 % ASK and Binary Pulse Length
CodingModulation Transponder to Re...
分类:
其他好文 时间:
2014-05-13 11:09:10
阅读次数:
336
FileSystemObject组件应该实例
read="michael.txt"
'获取文件真实路径
read=LEFT(Server.MapPath(Request.ServerVariables("PATH_INFO")),InstrRev(Server.MapPath(Request.ServerVariables("PATH_INF...
分类:
其他好文 时间:
2014-05-13 07:17:51
阅读次数:
283
下面是一次10GRAC增加ASM实例报错。故障之前就做了一次crs_unregisterASM的操作,随后增加ASM实例就增加不上了。欢迎大家加入ORACLE超级群:17115662免费解决各种ORACLE问题,以后BLOG将迁移到http://www.htz.pw 1,故障现象[oracle@www.htz.pworacle]$srvctladdasm-nsol1-..
分类:
其他好文 时间:
2014-05-13 04:46:01
阅读次数:
405
whileCONDITION;dostatementdone进入循环:条件满足退出循环:条件不满足untilCONDITION;dostatment...done#!/bin/bash#read-p"Inputsomething:"STRINGwhile[$STRING!=‘quit‘];doecho$STRING|tr‘a-z‘‘A-Z‘read-p"Inputsomething:"STRINGdone#!/bin/bash#read-p"Inputsomething:..
分类:
系统相关 时间:
2014-05-13 03:58:53
阅读次数:
343
判断shutcut是否安装
"com.android.launcher.permission.READ_SETTINGS"/>
这段代码在模拟器上运行没有问题,但是在htc s510e运行报异常Failed to find provider info for com.android.launcher2.settings
通过但因htc所有包发现htc中的launcher被定制了改名为co...
分类:
移动开发 时间:
2014-05-12 23:58:28
阅读次数:
625
Multiple annotations found at this line: - schema_reference.4: Failed to read schema document 'http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd', because 1) could not find the document; 2)...
分类:
编程语言 时间:
2014-05-12 22:55:47
阅读次数:
409