Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:
其他好文 时间:
2015-02-15 16:26:22
阅读次数:
118
1、ssh key 已经添加ssh key到gerrit服务器,并且执行ssh协议的git clone可以正常克隆代码到本地,可见不是ssh key的问题。2、manifest清单文件配置 最初在manifest清单文件中配置: 或者: 3、出现问题 在客户端执行repo init -...
分类:
其他好文 时间:
2015-02-13 18:18:49
阅读次数:
955
1. 面向对象 /** * Created by Administrator on 2015/2/13. */var person = { name:"mirror", age:30, eat:function(){ alert("吃货"...
分类:
其他好文 时间:
2015-02-13 13:12:22
阅读次数:
207
2014年中,我在Intel内部提交了一个名为“异步Timing”(又名“异步V-Sync”)创新方案,用于解决GPU使用V-Sync同步所导致的问题。但十分可惜的是,Intel的创新审核委员没有通过我的方案,只礼貌性地回了一封感谢邮件。这件事情本来尘埃落定,我已不作多想。但最近很多IT新闻介绍了AMD在今年CES上所展示的一项FreeSync技术,惊喜颇多。我发现AMD的FreeSyn技术所要解决的问题和采取的策略,与我的“异步Timing”的设计方案十分相似。我写作此文,向大家介绍V-Sync的基本概念...
分类:
其他好文 时间:
2015-02-12 10:49:37
阅读次数:
228
原文:http://www.visualstudio.com/zh-cn/explore/vso-integrations-directory-vs
分类:
其他好文 时间:
2015-02-12 10:34:42
阅读次数:
131
出现提示:在eclipse中搜索、删除文件时,有时候会弹出错误对话框,错误摘录如下:Resource is out of sync with the file system......问题分析:这个问题是由于eclipse中文件不同步引起的。在eclipse中,工程文件是由eclipse自动扫描添加...
分类:
其他好文 时间:
2015-02-11 10:35:07
阅读次数:
232
hpux mcsg 方式的oracle 10.2.0.4 做存储的镜像...
分类:
数据库 时间:
2015-02-10 20:24:12
阅读次数:
206
这个问题是由于eclipse中文件不同步引起的。在eclipse中,工程文件是由eclipse自动扫描添加的,
如果在外部修改了工程目录中的文件但又关闭了自动刷新功能,则会引起文件不同步,
从而搜索时出现Resource is out of sync with the file system问题(其它功能可能也会如此)。
此外,在外部没有修改eclipse工程中的文件也有可能引起该问题。
...
分类:
其他好文 时间:
2015-02-10 15:28:46
阅读次数:
107
前文Linux/Android——Input系统之InputReader (七)
介绍到了inputreader的运作流程,如何获取events到初步的分发,依次分析到InputMapper做第一步的处理.
前文有解析Mapper类型的依赖规则,不做重述.,这里单以触摸屏input_device 对应的SingleTouchInputMapper 为例。
SingleTouchInp...
分类:
移动开发 时间:
2015-02-09 18:34:38
阅读次数:
297
#include
#include
#include
#include
#include
using namespace std;
int N,R;
int x[50100];
int main()
{
#ifdef xxz
freopen("in.txt","r",stdin);
#endif // xxz
ios::sync_with_stdio(false);
...
分类:
其他好文 时间:
2015-02-09 18:23:16
阅读次数:
182