码迷,mamicode.com
首页 >  
搜索关键字:key path    ( 66577个结果
Hadoop-4、Mapred数据去重
import java.io.IOException;import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.fs.Path;import org.apache.hadoop.io.Text;import org.ap...
分类:其他好文   时间:2014-05-08 11:27:24    阅读次数:309
Lua(1)
1.the use of functions in table fields is a key ingredient for some advanceduses of Lua, such as modules and object-oriented programming.
分类:其他好文   时间:2014-05-08 10:24:51    阅读次数:302
Oracle实现主键自增长
-- 主键设置:xx_id number(24) primary key 1 create sequence XX_seq --序列名称 2 increment by 1 -- 每次加几个 3 start with 1 -- 从1开始计数 4 nomaxvalue --N...
分类:数据库   时间:2014-05-08 10:01:35    阅读次数:390
ant打包完美流程
1.配置ant打包所需的环境变量(事先配置好Java,Android的环境变量)---这个不会请自行百度.or google2.解压ant,比如解压到D:\ant3.我的电脑->属性->高级->环境变量4.系统变量新建ANT_ HMOE,变量值为d:\ant5.系统变量新建或修改Path,将%ANT...
分类:其他好文   时间:2014-05-08 09:56:18    阅读次数:466
android 报错之noclassdeffounderror
解决方案1:导入第3方jar包问题,明明导入了jar但还是报java.lang.NoClassDefFoundError解决步骤:1、在Android项目根目录下新建一个lib文件夹;2、把你需要导入的第3方jar包复制到lib文件夹中;3、在lib文件夹上点右键,选Bulid path –> Us...
分类:移动开发   时间:2014-05-08 09:42:10    阅读次数:422
Hadoop-5、排序(Combiner泛谈)
一、Combiner作用1、combiner最基本是实现本地key的聚合,对map输出的key排序,value进行迭代。如下所示:map: (K1, V1) → list(K2, V2)combine: (K2, list(V2)) → list(K2, V2)reduce: (K2, list(V...
分类:其他好文   时间:2014-05-08 09:37:49    阅读次数:472
获取App的Documents路径
有两种写法可以获取到Documents的路径1.NSString *path = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"]; 这种写法不是很严谨2.NSArray *filePath = NSSearchPath....
分类:移动开发   时间:2014-05-08 09:28:59    阅读次数:342
python批量修改指定目录文件名
这小例子只要是说明用python怎么批量修改指定目录的文件名: 记得要把脚本跟修改的文件放在同一个目录下 #encoding:utf-8 import os import sys files = os.listdir('D:\\1') #路径可以自己 for name in files: a = os.path.splitext(name) if a[1] == '.txt': ...
分类:编程语言   时间:2014-05-08 08:16:14    阅读次数:537
Thread create 创建进程
1 #include "windows.h" 2 #include "iostream" 3 #include "stdio.h" 4 5 void StartClone(int nCloneID){ 6 TCHAR szFilename[MAX_PATH]; 7 GetModu...
分类:其他好文   时间:2014-05-08 08:00:45    阅读次数:441
查找 之 散列表查找(哈希表)
基础概念 散列技术是在记录的存储位置和它的关键字之间建立一个确定的对应关系f,使得每个关键字key对应一个存储位置f(key).这里对应关系f称为散列函数,又称为哈希(Hash)函数。 采用散列技术将记录存储在一块连续的存储空间中,这块连续存储空间称为散列表或哈希表(Hash table)。 散列技...
分类:其他好文   时间:2014-05-08 01:16:33    阅读次数:440
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!