dlopen基本定义 功能:打开一个动态链接库 包含头文件: #include 函数定义: void * dlopen( const char * pathname, int mode ); 函数描述: 在dlopen的()函数以指定模式打开指定的动态连接库文件,并返回一个句柄给调用...
分类:
系统相关 时间:
2014-09-30 18:57:59
阅读次数:
214
network mode的常见类型有
WCDMA preferred : 0
GSM only : 1
WCDMA only : 2
GSM UMTS : 3
CDMA : 4
... (参考RILConstants.java)
是透过AT+ERAT把mode的值丢给modem,让modem设定对应的mode。 如果是TDD手机,那么其network mode的值和WCDMA是对应的...
分类:
移动开发 时间:
2014-09-30 13:19:39
阅读次数:
383
http://acm.hdu.edu.cn/showproblem.php?pid=5038
就是求个众数 这个范围小 所以一个数组存是否存在的状态就行了
但是这句话真恶心 If not all the value are the same but the frequencies of them are the same, there is no mode.
其实应该是这个意思:...
分类:
其他好文 时间:
2014-09-29 22:31:41
阅读次数:
275
# -*- coding: cp936 -*-
# 1 打开文件
# open(fileName, mode)
# 参数:fileName文件名
# mode打开方式
# w 以写方式打开,
# a 以追加模式打开 (从 EOF 开始, 必要时创建新文件)
# r+ 以读写模式打开
# w+ 以读写模式打开
# a+ 以读写模式打开
# ...
分类:
编程语言 时间:
2014-09-29 14:35:51
阅读次数:
174
问题现象:
我在执行开启归档命令后报错误ORA-00265
SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode
...
分类:
其他好文 时间:
2014-09-29 14:25:10
阅读次数:
214
## Welcome to MarkdownPad 2 ## **MarkdownPad** is a full-featured Markdown editor for Windows. ### Built exclusively for Markdown ### Enjoy first-class Markdown support with easy access to Markdown...
分类:
其他好文 时间:
2014-09-29 00:58:27
阅读次数:
291
When a process running in user mode requests additional memory, pages are allocated from the list of free page frames maintained by the kernel. This l...
分类:
系统相关 时间:
2014-09-28 22:27:25
阅读次数:
419
mysql主键设置成auto_increment时,进行并发性能测试出现主键重复Duplicate entry 'xxx' for key 'PRIMARY'
解决方法:
在my.cnf的[mysqld]片段中添加设置innodb_autoinc_lock_mode=0
同时注意调大jdbc的活跃链接数,如设置 jdbc.maxActive=300,因为设置innodb_autoinc_lo...
分类:
数据库 时间:
2014-09-28 19:51:05
阅读次数:
209
tableA = {}tableB = {}setmetatable(tableA,tableB)tableB.__mode = "k" -- tableB.__mode = "v" 或者tableB.__mode = "kv"这样,tableA将是一个weak table当tableA中的键的引用...
分类:
其他好文 时间:
2014-09-28 19:37:55
阅读次数:
169
SIGSEGV (0xb) at pc=0x00007fbcae8f2c91, pid=5707, tid=140449979574016 JRE version: 7.0_25-b30 Java VM: OpenJDK 64-Bit Server VM (23.7-b01 mixed mode l...
分类:
系统相关 时间:
2014-09-28 17:59:53
阅读次数:
241