码迷,mamicode.com
首页 >  
搜索关键字:tasks and back stack    ( 26134个结果
【C++】List类学习
1.关于本文 文中描述的是一个学习List类过程中写的程序,程序中进行了以下步骤 1)创建list<string> 2)调用函数push_front和push_back添加元素 3)调用迭代器遍历list 4)调用函数front和back查找首尾结点 5)调...
分类:编程语言   时间:2014-07-22 09:03:06    阅读次数:359
从for_each开始说起 回调函数与仿函数
#include?<iostream> #include?<algorithm> using?namespace?std; //回调函数 void?call_back(char?elem) { ?cout?<<?elem?<<?endl; } //仿函数 struct?Functor { ?void?operator()?(char?elem)...
分类:其他好文   时间:2014-07-22 08:13:37    阅读次数:316
在YARN中,如何控制和监控map/reduce的并发数
配置建议: 1. ????In MR1, the mapred.tasktracker.map.tasks.maximum and mapred.tasktracker.reduce.tasks.maximum properties dictated how many map and reduce slots each TaskTracker had. ????T...
分类:其他好文   时间:2014-07-21 10:14:00    阅读次数:279
分享一套简单的CodeSmith三层模板
Model:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Data;namespace { ...
分类:其他好文   时间:2014-07-20 10:08:00    阅读次数:406
Grails 简要
一、什么是Grails? Grails is an Open Source, full stack, web application framework for the JVM. It takes advantage of the Groovy programming language and convention over configuration to provide a producti...
分类:其他好文   时间:2014-07-19 23:18:40    阅读次数:240
2.大话设计模式-策略模式
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace DesignMo.....
分类:其他好文   时间:2014-07-19 18:23:06    阅读次数:203
java 常用数据结构
本章介绍Java的实用工具类库java.util包。在这个包中,Java提供了一些实用的方法和数据结构。例如,Java提供日期(Data)类、日 历(Calendar)类来产生和获取日期及时间,提供随机数(Random)类产生各种类型的随机数,还提供了堆栈(Stack)、向量 (Vector) 、位...
分类:编程语言   时间:2014-07-19 15:10:44    阅读次数:337
How to Install Xcode, Homebrew, Git, RVM, Ruby & Rails on Snow Leopard, Lion, Mountain Lion, and Mavericks
After following many outdated and incomplete instructions for setting up a web development environment on a Mac (back in March 2012), and spending a l...
分类:其他好文   时间:2014-07-19 15:00:41    阅读次数:730
组合 Lucas定理
组合Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64u[Submit] [Go Back] [Status]Description给出组合数C(n,m), 表示从n个元素中选出m个元素的方案数。例如C(5,2) = 1...
分类:其他好文   时间:2014-07-19 11:20:32    阅读次数:237
hdu--1160--LIS+打印路径
这题做完 就去吃饭了...快1年了 没有正常的饮食....这题 数据蛮小的 1000可以用O(n^2)水过 而且只花了0ms 一般来说 打印路径是正序输出 而我们记录的时候都是 逆序记录的 所以 借用下stack特别好用 touch me 1 #include 2 #include ...
分类:其他好文   时间:2014-07-19 00:33:45    阅读次数:292
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!