某些手机底部是在触摸屏内部有软按键,就是如(back,home,menu 等)而有的手机底部(非屏幕内部)有物理按键,就是生产厂商不愿意有google自带的虚拟按键,而做的电容式的物理按键,如(back,home,menu 等)android4.0下可以用此判断是否有物理按键:ViewConfigu...
分类:
移动开发 时间:
2014-07-07 10:11:59
阅读次数:
221
1. Block Change Tracking 启用块修改跟踪特性,0级的增量备份肯定还得扫描所有数据文件,不过其后依赖这一0级备份集创建的增量备份就可以通过块修改跟踪文件来获取修改过的块了。 修改跟踪文件是基于整个数据库的,如果使用了OMF,该文件创建于DB_CREATE_FILE_DEST参数...
分类:
其他好文 时间:
2014-07-06 20:14:04
阅读次数:
175
openfire 安装报这个错误 A connection to the database could not be made. View the error message by opening the "\logs\error.log" log file, then go back to fix...
分类:
数据库 时间:
2014-07-06 16:43:00
阅读次数:
284
There are a bunch of different methods you can use to back up your MongoDB data, but if you want to avoid downtime and/or potential
performance degradation, the most common advice seems to be that y...
分类:
数据库 时间:
2014-07-06 09:26:04
阅读次数:
437
按他的方法排序,每次移动一个数到顶点,排成需要的序列。
Problem D: ShellSort
He made each turtle stand on another one's back
And he piled them all up in a nine-turtle stack.
And then Yertle climbed up. He sat down on the p...
分类:
其他好文 时间:
2014-07-06 09:15:42
阅读次数:
211
vector是我使用比较多的一个容器,它相当于一个动态的数组,在STL中给他提供了很多接口,简单易懂,接下来简单的演示一下它是如何使用的。 我一般使用的一些函数接口有size(),reserve(),empty(),begin(),end(),push_back(),find(),erase(...
分类:
其他好文 时间:
2014-07-05 22:27:43
阅读次数:
276
缓存方式: 直接映射 N路关联缓存策略: write through:通写 write back:回写进程类别: 交互式进程(IO密集型) 批处理进程(CPU密集型) 实时进程(Real-time)CPU: 时间片长,优先级低IO:时间片短,优先级高Linux优先级:priority ...
分类:
其他好文 时间:
2014-07-05 22:06:21
阅读次数:
357
1 @Override2 public boolean onKeyDown(int keyCode, KeyEvent event) {3 if (keyCode == KeyEvent.KEYCODE_BACK) {4 moveTaskToBack(...
分类:
移动开发 时间:
2014-07-03 20:03:49
阅读次数:
247
Substrings
Time Limit: 1000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
[Submit]
[Go Back] [Status]
Description
You are given a string S which cons...
分类:
其他好文 时间:
2014-07-03 16:52:59
阅读次数:
166
上次看到这个有点晕了,其实这个vector保存的是std::vector#include #include using namespace std;int main(){ std::vector > num; std::vector a(10, 5); num.push_back(...
分类:
其他好文 时间:
2014-07-02 20:14:53
阅读次数:
182