//#include?"stdafx.h"??
#include<iostream>??
#include<string>??
#include?<vector>??
using?namespace?std;??
??
int?kmp_find(const?string&?target,const?string&?pattern)??
{??...
分类:
其他好文 时间:
2015-01-09 19:37:07
阅读次数:
210
用buildroot来制作文件系统很方便,编译出来的文件系统是直接可用的,不用添加脚本等麻烦的工作,很多的库和app都可以
直接添加到文件系统里边,如常用的udhcpc,tftp等.本文以以ZYNQ 7010为例,制作一个ramdisk的文件系统,在z-turn开发
板上运行.
1. 到buildroot目录下执行make ARCH=arm menuconfig
Target...
分类:
其他好文 时间:
2015-01-09 19:23:51
阅读次数:
352
如上图,iOS有2个版本号,Version和Build,在target->General中可查看。
Version在plist文件中的key是“CFBundleShortVersionString”,和AppStore上的版本号保持一致,Build在plist中的key是“CFBundleVersion”,代表build的版本号,该值每次build之后都应该增加1。这两个值都可以在程序中通过下...
分类:
移动开发 时间:
2015-01-09 15:37:16
阅读次数:
188
-noverify -javaagent:E:\work\jrebel.jar-Drebel.dirs=E:\project\asset\asset-web\target\classes公司用的eclipse j2ee 和tomcat 开发项目,以前用的myeclipse 是可以自动部署的。编写完一...
分类:
编程语言 时间:
2015-01-09 14:12:07
阅读次数:
151
console.log("event.target="+event.target); console.log("event.target="+event.target); console.log("event.bubbles="+event.bubbles); console.log("event....
分类:
Web程序 时间:
2015-01-09 14:02:47
阅读次数:
163
1 2 4 android:versionCode="1" 5 android:versionName="1.0" > 6 7 8 android:minSdkVersion="15" 9 android:target...
分类:
移动开发 时间:
2015-01-09 12:28:57
阅读次数:
204
添加资源后编译步骤1:lunch 112:mmm frameworks/base/core/res/生成Install: out/target/product/hammerhead/system/framework/framework-res.apk3: mmm frameworks/base生成I...
分类:
移动开发 时间:
2015-01-09 12:11:04
阅读次数:
199
DefaultServiceRegistry之findProviderMethods
private void findProviderMethods(Object target) {
Set methods = new HashSet();
for (Class type = target.getClass(); type != Object.class...
分类:
其他好文 时间:
2015-01-09 10:50:40
阅读次数:
108
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have
exact...
分类:
其他好文 时间:
2015-01-09 09:19:26
阅读次数:
176
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d =
target? Find all unique quadruplets in the array which gives the sum of target.
Note:
Element...
分类:
其他好文 时间:
2015-01-09 09:17:54
阅读次数:
180