打包时报如下错误:Export aborted because fatal lint errors
were found. These are listed in the Lint View. Either fix these before running
Export again,or turn ...
分类:
移动开发 时间:
2014-06-29 13:01:46
阅读次数:
364
1.expected identifier before numeric constant
一般情况下是枚举类型中的某个变量已经被#define定义过一次了,在项目空间中搜索你枚举类型中的所有变量类型,看看是否被#define过,如果被#define过,就把#define的删除或换个名字。
分类:
其他好文 时间:
2014-06-13 14:15:10
阅读次数:
201
Welcome to the wonderful world of
portability... or rather the lack of it. Before we start analyzing these two
options in detail and take a deeper loo...
分类:
系统相关 时间:
2014-06-11 22:05:34
阅读次数:
407
关于+ - ~有意思的一段C代码
问题是钟哥几天前在automation的群里面抛出来的。
code:
#include
int main(int argc,char* argv[])
{
int a = 7;
int b = 1;
printf("before process,a = %d,b = %d\n",a,b);...
分类:
其他好文 时间:
2014-06-08 16:29:03
阅读次数:
215
Definition
Let be "0" and
be "01". Now (the concatenation of the previous sequence and the one before that).
The infinite Fibonacci word is the limit
We have:
0
01
010
01...
分类:
其他好文 时间:
2014-06-08 09:19:42
阅读次数:
273
@Test@Before@After测试方法运行前执行Before动作(比如创建资源),运行后执行After动作(比如销毁资源)@BeforeClass@AfterClass测试类运行前执行Before动作(比如创建资源),运行后执行After动作(比如销毁资源)Assert对方法结果进行判断,是否...
分类:
编程语言 时间:
2014-06-07 23:08:14
阅读次数:
319
题目:Given a linked list and a valuex, partition it
such that all nodes less thanxcome before nodes greater than or equal tox.You
should preserve the or...
分类:
其他好文 时间:
2014-06-07 20:35:55
阅读次数:
236
AOP里的说明,之间的关系
l Joinpoint:拦截点,如某个业务方法。
l Pointcut:Joinpoint的表达式,表示拦截哪些方法。一个Pointcut对应多个Joinpoint。
l Advice: 要切入的逻辑。
n Before Advice 在方法前切入。
n After Advice 在方法后切入,抛出异常时也会切入。
n After Returni...
分类:
其他好文 时间:
2014-06-07 14:46:04
阅读次数:
237
Partition ListGiven a linked list and a valuex,
partition it such that all nodes less thanxcome before nodes greater than or
equal tox.You should pres...
分类:
其他好文 时间:
2014-06-07 06:24:57
阅读次数:
179
通过前2篇文章,您一定对JUnit有了一个基本的了解,下面我们来探讨一下JUnit4中一些高级特性。一、高级Fixture上一篇文章中我们介绍了两个Fixture标注,分别是@Before和@After,我们来看看他们是否适合完成如下功能:有一个类是负责对大文件(超过500兆)进行读写,他的每一个方...
分类:
编程语言 时间:
2014-06-05 22:14:37
阅读次数:
560