码迷,mamicode.com
首页 >  
搜索关键字:split 分割文件大小    ( 6348个结果
js控制精度的加减乘除
//加法函数 function accAdd(arg1, arg2) { var r1, r2, m; try { r1 = arg1.toString().split(".")[1].length; ...
分类:Web程序   时间:2016-01-04 10:05:43    阅读次数:207
[ES6] Spread Operator
The spread operator allow us to split an Array arguement into individual elements.getRequest("/topics/17/tags", function(data){ let tags = data.tag...
分类:其他好文   时间:2016-01-03 17:33:40    阅读次数:156
Python的strip()与split()
strip()和split()
分类:编程语言   时间:2016-01-02 14:25:28    阅读次数:176
12 个基本的工作流模式简介
1. 五个基本工作流模式这五个模式的共同点在于:模式所涉及流程的执行路径是在设计时即可确定的,不需运行时的信息。包括:Sequence(顺序模式)Parallel split(平行拆分模式)Synchronization(同步模式)Exclusive choice(排他选择)Simple merge...
分类:其他好文   时间:2016-01-01 13:00:37    阅读次数:328
BASE
//定义JS命名空间、防止JS签名重复var Namespace = Namespace || new Object();Namespace.register = function(path){var arr = path.split("."),ns = "";;for(var i=0;i0){ns...
分类:其他好文   时间:2015-12-31 10:34:11    阅读次数:324
codeforces 612B HDD is Outdated Technology
B. HDD is Outdated TechnologyHDD hard drives group data by sectors. All files are split to fragments and each of them are written in some sector of ha...
分类:其他好文   时间:2015-12-29 20:50:32    阅读次数:186
codeforces 612A The Text Splitting(扩展欧几里得)
A. The Text SplittingYou are given the stringsof lengthnand the numbersp,?q. Split the stringsto pieces of lengthpandq.For example, the string "Hello"...
分类:其他好文   时间:2015-12-29 19:13:49    阅读次数:151
常用基本命令
? 文件夹大小#du -h --max-depth=1 *#du -sh *|sort -n? ll显示结果排序从小大到:ll -Sh从大到小:ll -Srh从先到后: ll -rt从后到先: ll -t?文件分割#split -d -50000 CPUSER.201305.uid userId-d...
分类:其他好文   时间:2015-12-29 11:06:39    阅读次数:163
spark RDD 中 transformation的map、flatMap、mapPartitions、glom详解--(视频笔记)
map 通过自定义函数 f:T->u 将元数据T转换为u,不会将split进行合并flatMap通过自定义函数 f:T->u 进行数据变换,并将拆分后的小集合合并成一个大集合。mapPartitionsIter => iter.filter(_>3)作用于整个分区(例如hbase表等)进行操作glo...
分类:移动开发   时间:2015-12-28 20:20:12    阅读次数:589
js获取页面名称
function pageName() { var strUrl = location.href; var arrUrl = strUrl.split("/"); var strPage = arrUrl[arrUrl.length - 1]; if (strPage.indexOf("?") >=...
分类:Web程序   时间:2015-12-28 14:14:59    阅读次数:146
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!