码迷,mamicode.com
首页 >  
搜索关键字:mapreduce_shuffle do    ( 12392个结果
generate ascii table
$ cat ascii.sh dec_count=0while [ $dec_count -lt 256 ]do echo -e "\x$(echo "ibase=10;obase=16;$dec_count" | bc)\c" dec_count=$((dec_coun...
分类:其他好文   时间:2014-07-11 22:42:50    阅读次数:496
How to do code coverage test for windows service
First, instrument the exe or dll by commandvsinstr -coverage the dll/exesecond, start the performance monitorVSPerfCmd.exe /start:coverage /output:"D:...
分类:Windows程序   时间:2014-07-11 22:29:17    阅读次数:437
小谷实战Jquery(一)--用户名校验
小谷童鞋休息了好几天,终于又开始学习了.今天学的是Jquery,先来看看神马是jQuery? JQuery is designed to change the way that you write JavaScript. The focus of jQuery is "find some elements, do something with them". write less,do m...
分类:Web程序   时间:2014-07-09 12:48:41    阅读次数:221
POJ 1418 圆的基本操作以及 圆弧离散化
Viva Confetti Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 761   Accepted: 319 Description Do you know confetti? They are small discs of colored paper, and...
分类:其他好文   时间:2014-07-09 11:14:29    阅读次数:223
Cracking the Coding Interview Q1.6
Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees. Can you do th...
分类:其他好文   时间:2014-07-08 22:06:25    阅读次数:222
2014 Super Training #6 F Search in the Wiki --集合取交+暴力
原题: ZOJ 3674http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3674题意不难理解,很容易想到用暴力,但是无从下手,不知道怎么实现。后来看了网上的代码,直接用vector和map暴力,用到了set_intersect...
分类:其他好文   时间:2014-07-08 22:04:57    阅读次数:239
jquery trigger函数和triggerHandler函数的对比
一句话的区别就是:trigger will bubbling jQuery events (not default DOM events) and triggerHnadler will not do that!...
分类:Web程序   时间:2014-07-08 19:41:55    阅读次数:158
switch case ,while, do while,enum
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace C_编辑基础 { //枚举的意义就是限定变量的取值范围 enum gender{Male,Female,Unkown}; //声明一个类型,它是枚举类型(定义一个枚举),这个枚举有三个值。...
分类:其他好文   时间:2014-07-08 13:38:36    阅读次数:191
LeetCode——String to Integer (atoi)
Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input ca...
分类:其他好文   时间:2014-07-08 12:52:05    阅读次数:200
我对python线程池的理解
#!/usr/bin/envpythonfromQueueimportQueuefromthreadingimportThreadimportrandomimporttimedefperson(i,q):whileTrue:#这个人一直处与可以接活干的状态q.get()print"Thread",i,"do_job"time.sleep(random.randint(1,5))#每个人干活的时间不一样,自然就会导致每个人分配的件..
分类:编程语言   时间:2014-07-08 09:48:06    阅读次数:222
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!