码迷,mamicode.com
首页 >  
搜索关键字:task    ( 7323个结果
TaskTracker启动过程源码级分析
TaskTracker也是作为一个单独的JVM来运行的,其main函数就是TaskTracker的入口函数,当运行start-all.sh时,脚本就是通过SSH运行该函数来启动TaskTracker的。 TaskTracker是JobTracker和Task之间的桥梁:一方面,从JobTrac...
分类:其他好文   时间:2014-06-05 17:21:13    阅读次数:288
Spring+quartz 动态任务调度
需求是这样的:系统中会有很多的执行时间,三个或者四个这样,不确定,以后可能是五个!当用户在页面添加执行时间时,我们后台也要对应执行用户添加的时间。 数据库设计: DROP TABLE IF EXISTS `test_time_task`; CREATE TABLE `test_time_task` ( `status` int(11) DEFAULT NULL COMMENT '状态:0为...
分类:编程语言   时间:2014-06-05 10:00:30    阅读次数:245
Codeforces 431 D. Random Task
很巧妙的单调性...... n,n+1,n+2,.....2*n-2    n+1,n+2,.....2*n-2,2*n-1,2*n 中间一段是相同的,n和2*n里的1是一样多的所以只有2*n-1不一样.....这是满足单调性的(monotone) 然后就是数位DP了..... D. Random Task time limit per te...
分类:其他好文   时间:2014-06-04 22:40:37    阅读次数:357
利用TaskScheduler处理Queue、Stack等类型的操作队列(生产者消费者场景)
我们经常会遇到生产者消费者模式,比如前端各种UI操作事件触发后台逻辑等。在这种典型的应用场景中,我们可能会有4个业务处理逻辑(下文以P代表生产者,C代表消费者): 1. FIFO(先进先出)      P产生1,2,3,4,5,6,3,2      C处理顺序应为1,2,3,4,5,6,3,2 2.LIFO(后进先出)      P产生1,2,3,4,5,6,3,2      C处...
分类:其他好文   时间:2014-06-04 21:51:08    阅读次数:421
NYOJ43 24 Point game 【回溯】
24 Point game 时间限制:3000 ms  |  内存限制:65535 KB 难度:5 描述 There is a game which is called 24 Point game. In this game , you will be given some numbers. Your task is to find an expressi...
分类:其他好文   时间:2014-06-04 21:06:57    阅读次数:295
POJ2993——Help Me with the Game
Help Me with the GameDescriptionYour task is to read a picture of a chessboard position and print it in the chess notation.InputThe input consists of ...
分类:其他好文   时间:2014-06-04 16:41:58    阅读次数:226
POJ2993——Emag eht htiw Em Pleh
Emag eht htiw Em PlehDescriptionThis problem is a reverse case of the problem 2996. You are given the output of the problem H and your task is to find...
分类:其他好文   时间:2014-06-03 15:33:20    阅读次数:347
Android MIME
MIME 类型MIME (Multipurpose Internet Mail Extensions) 是描述消息内容类型的因特网标准。MIME 消息能包含文本、图像、音频、视频以及其他应用程序专用的数据。官方的 MIME 信息是由 Internet Engineering Task Force (...
分类:移动开发   时间:2014-06-02 08:54:31    阅读次数:248
Flask实例教程三
一:Flask中url的工作方式#encoding=utf-8 fromflaskimportFlask app=Flask(__name__) @app.route("/task/") deftask_list(): return"Listofalltask" @app.route("/task/<int:task_id>/") deftask_detail(task_id): return"Detailoftask#{}.".format(task_id) @app.ro..
分类:其他好文   时间:2014-06-02 03:53:19    阅读次数:662
匹配手机号
1 //FileStream fs = new FileStream(@"C:\Users\Alex\Desktop\Task.txt", FileMode.Open, FileAccess.Read); 2 //StreamReader sr = ...
分类:移动开发   时间:2014-06-02 01:33:21    阅读次数:298
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!