码迷,mamicode.com
首页 >  
搜索关键字:Future    ( 1492个结果
NYOJ---题目991Registration system
描述 A new e-mail service "Berlandesk" is going to be opened in Berland in the near future.  The site administration wants to launch their project as soon as possible, that's why they  ask you ...
分类:其他好文   时间:2015-03-31 22:20:41    阅读次数:202
解决tar命令出现“time stamp XXX in the future”的办法
在A机器上用tar压缩的文件,在B机器上进行解包的时候,如果两个机器的时间不一致,如B机器的时间落后A机器的时间,这时 就会出现time stamp in the future的问题。如何解决这个问题呢 (1)一是检查B机器的时间,如果确有问题请修改B机器的时间(sudo date -s “YYYY-MM-DD HH:MM:SS”) (2)二是使用tar命令的-m参数,比如t...
分类:其他好文   时间:2015-03-31 20:08:53    阅读次数:130
java多线程技术之(callable和future)
接着上一篇继续并发包的学习,本篇说明的是Callable和Future,它俩很有意思的,一个产生结果,一个拿到结果。 Callable接口类似于Runnable,从名字就可以看出来了,但是Runnable不会返回结果,并且无法抛出返回结果的异常,而Callable功能更强大一些,被线程执...
分类:编程语言   时间:2015-03-27 23:52:10    阅读次数:175
Python输入输出
There are several ways to present the output of a program; data can be printed in a human-readable form, or written to a file for future use. This cha...
分类:编程语言   时间:2015-03-19 23:28:10    阅读次数:317
Handler作用及部分源码分析
转载请注明出处,Lee:http://blog.csdn.net/hnulwt/article/details/44457905 Handler有俩个主要作用: 1,to schedule messages and runnables to be executed as some point in the future。在未来的某个时候去调度messages或者要执行的runnables。 2...
分类:其他好文   时间:2015-03-19 16:29:23    阅读次数:126
java多线程并发编程
Executor框架Executor框架是指java 5中引入的一系列并发库中与executor相关的一些功能类,其中包括线程池,Executor,Executors,ExecutorService,CompletionService,Future,Callable等。并发编程的一种编程方式是把任务...
分类:编程语言   时间:2015-03-19 12:55:58    阅读次数:240
Java并发之FutureTask
FutureTask实现了Runnable和Future接口,是一个可取消的异步任务。利用开始和取消计算的方法、查询计算是否完成的方法和获取计算结果的方法,此类提供了对 Future 的基本实现。仅在计算完成时才能获取结果;如果计算尚未完成,则阻塞 get 方法。一旦计算完成,就不能再重新开始或取消...
分类:编程语言   时间:2015-03-19 00:49:21    阅读次数:208
(翻译) TFS源代码控制的未来 (TFSVC vs. Git)
翻译自微软Visual Studio ALM产品组老大Brian Harry 的博客文章 The future of Team Foundation Server Version control. 最近关注微软开发工具的同学一定都对TFS有一定的了解,从2013版本开始,TFS中提供了2种不同的源代码管理方式,TFSVC和Git。随着Git的大规模流行,好像TFSVC变的越来越不重要了。而实际情况远非如此,就博主自己的经验而言,虽然互联网公司,创业团队对于Git 非常钟爱,但是对于许多传统行业或者大型团队,...
分类:Web程序   时间:2015-03-18 18:09:12    阅读次数:158
Timers _ golang
We often want to execute Go code at some point in the future, or repeatedly at some interval. Go's built-in timer and ticker features make both od the...
分类:其他好文   时间:2015-03-18 13:53:26    阅读次数:132
Tickers _ golang
Timers are for when you want to do something once in the future - tickers are for when you want to do something repeatedly at regular intervals. Here'...
分类:其他好文   时间:2015-03-18 13:48:35    阅读次数:125
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!