码迷,mamicode.com
首页 >  
搜索关键字:test for job    ( 38433个结果
定时器(了解)
// Test.cpp : 定义控制台应用程序的入口点。//#include "../I_Timer.H"#include void onTimer1(){ std::cout createTimer();#if 1 auto myTimer1 = /*Timer::createTime...
分类:其他好文   时间:2014-05-05 23:28:48    阅读次数:341
oj 1031 random permutation
Problem A: Random PermutationsTime Limit: 1 SecMemory Limit: 128 MB Submit: 91Solved: 54Description随机排列生成算法 (运行a.exe输出数字的个数,运行a.exe test时输出为一次随机的排列)In...
分类:其他好文   时间:2014-05-05 23:03:04    阅读次数:341
查看物体A是否被相机B渲染
using UnityEngine;using System.Collections;public class Test : MonoBehaviour { public GameObject anObject ; private Camera cam ; private Plan...
分类:其他好文   时间:2014-05-05 22:00:12    阅读次数:357
Ecos笔记--2014/5/3
1.默认的路由 - base_routerhttp://test-server//index.php/{$app_name}/{$ctl_name}/{$act_name}/{$param_k1}/{$param_v1}/{$param_k2}/{$param_v2}/}app: $app_name...
分类:其他好文   时间:2014-05-05 21:44:38    阅读次数:235
spark 启动job的流程分析
从WordCount开始分析 编写一个例子程序 编写一个从HDFS中读取并计算wordcount的例子程序: packageorg.apache.spark.examples importorg.apache.spark.SparkContext importorg.apache.spark.SparkContext._ objectWordCount{ defm...
分类:其他好文   时间:2014-05-05 13:10:34    阅读次数:463
方法可变参数
static void Main(string[] args) { //string[] str = { "", "" }; //TestParams(str); //TestParams("我","爱","北京","...
分类:其他好文   时间:2014-05-04 11:42:53    阅读次数:190
Local Functions
int BOOST_LOCAL_FUNCTION(int x, int y) { // Local function. return x + y; } BOOST_LOCAL_FUNCTION_NAME(add) BOOST_TEST(add(1, 2) == 3); // Local function call. int BOOST_LOCAL_FUNCTION(void) ...
分类:其他好文   时间:2014-05-03 21:47:48    阅读次数:332
codechef Enormous Input Test 快速读入数据 fread
本题就是测试读入数据的速度的。 如果有大量的数据读入,使用cin是很慢的。 那么使用scanf那么会快很多,但是如果数据量更大的话那么就还是不够快了。 所以这里使用fread。 首先开一个buffer,然后使用fread大块大块地读入数据就可以非常快地读入了。 题目如下: Input The input begins with two positive...
分类:其他好文   时间:2014-05-03 16:13:21    阅读次数:340
class文件结构浅析(2)
上一篇讲的都是理论,下面我们亲自实践一下。 首先编写一个简单的java类: public class Test { private int m; private String str; public int func(int m,String str) { str += "OK"; m = 10;...
分类:其他好文   时间:2014-05-03 15:59:28    阅读次数:300
RDD的依赖关系
RDD的依赖关系 Rdd之间的依赖关系通过rdd中的getDependencies来进行表示, 在提交job后,会通过在DAGShuduler.submitStage-->getMissingParentStages privatedefgetMissingParentStages(stage: Stage): List[Stage] = { valmissing =newHash...
分类:其他好文   时间:2014-05-03 15:56:22    阅读次数:282
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!