首页 > 2014年06月07日 > 全部分享
Hadoop之MapReduce程序开发流程
摘要:MapReduce程序开发流程遵循算法思路、Mapper、Reducer、作业执行的步骤。...
分类:其他   时间:2014-06-07 13:41:49    收藏:0  评论:0  赞:0  阅读:351
删除条目时的确认对话框
id;?>" class="btn">编辑   id;?>';}" class="btn">删除...
分类:其他   时间:2014-06-07 15:26:01    收藏:0  评论:0  赞:0  阅读:243
projecteuler---->problem=19----Counting Sundays
You are given the following information, but you may prefer to do some research for yourself. 1 Jan 1900 was a Monday.Thirty days has September, April, June and November. All the rest have thirty...
分类:其他   时间:2014-06-07 13:57:16    收藏:0  评论:0  赞:0  阅读:361
允许进行DML操作的视图条件
视图可以屏蔽某些基表的信息,或是join多个基表组成一个复杂查询,视图本身也是可以进行DML操作,但受一些条件的限制。 首先我们看下官方文档对视图进行DML操作的要求说明: The following notes apply to updatable views: An updatable view is one you can use to insert, update, or...
分类:其他   时间:2014-06-07 16:09:08    收藏:0  评论:0  赞:0  阅读:455
Android多线程研究(7)——Java5中的线程并发库
从这一篇开始我们将看看Java 5之后给我们添加的新的对线程操作的API,首先看看api文档:java.util.concurrent包含许多线程安全、测试良好、高性能的并发构建块,我们先看看atomic包下的AtomicInteger.import java.util.concurrent.atomic.AtomicInteger; public class AtomicIntegerTest...
分类:移动平台   时间:2014-06-07 11:37:17    收藏:0  评论:0  赞:0  阅读:350
LeetCode: Path Sum [112]
【题目】 Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. For example: Given the below binary tree and sum = 22, 5 / ...
分类:其他   时间:2014-06-07 13:57:56    收藏:0  评论:0  赞:0  阅读:371
拿到一个新 bug 怎样分析
拿到一个新 bug 怎样分析...
分类:其他   时间:2014-06-07 16:08:32    收藏:0  评论:0  赞:0  阅读:382
java-IO操作性能对比
在软件系统中,IO速度比内存速度慢,IO读写在很多情况下会是系统的瓶颈。 在java标准IO操作中,InputStream和OutputStream提供基于流的IO操作,以字节为处理单位;Reader和Writer实现了Buffered缓存,以字符为处理单位。 从Java1.4开始,增加NIO(New IO),增加缓存Buffer和通道Channel,以块为处理单位,是双向通道(可读可写,类似RandomAccessFile),支持锁和内存映射文件访问接口,大大提升了IO速度。 以下例子简单测试常见IO操作...
分类:编程语言   时间:2014-06-07 15:49:26    收藏:0  评论:0  赞:0  阅读:423
LeetCode: Flatten Binary Tree to Linked List [114]
【题目】 Given a binary tree, flatten it to a linked list in-place. For example, Given 1 / 2 5 / \ 3 4 6 The flattened tree should look like: 1 2 3 4 \...
分类:其他   时间:2014-06-07 11:36:41    收藏:0  评论:0  赞:0  阅读:292
LeetCode: Populating Next Right Pointers in Each Node [116]
【题目】 Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; } Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be...
分类:其他   时间:2014-06-07 14:28:53    收藏:0  评论:0  赞:0  阅读:321
projecteuler---->problem=21----Amicable numbers
Let d(n) be defined as the sum of proper divisors of n (numbers less than n which divide evenly into n). If d(a) = b and d(b) = a, where a b, then a and b are an amicable pair and each of a and b...
分类:其他   时间:2014-06-07 13:40:31    收藏:0  评论:0  赞:0  阅读:452
MFC程序实现给对话框添加背景图片
1.插入一个Bitmap的资源图片,假设资源名称为:IDC_BITMAP1 2.在CXXXDialog::OnPaint()中实现: void CMyDialogDlg::OnPaint() { if (IsIconic()) { CPaintDC dc(this); // 用于绘制的设备上下文 SendMessage(WM_ICONERA...
分类:其他   时间:2014-06-07 15:24:02    收藏:0  评论:0  赞:0  阅读:490
4096!——化简的2048游戏
这个能轻松到达 4096. 所以取名为 4096了。优化一下2048. 核心玩法没有变,只是降低了难度。...
分类:其他   时间:2014-06-07 13:56:31    收藏:0  评论:0  赞:0  阅读:354
上课笔记_Web服务,XFire的一个例子
Web服务,XFire的一个例子...
分类:Web开发   时间:2014-06-07 15:40:19    收藏:0  评论:0  赞:0  阅读:467
Introduction to Probability (4) Counting
当我们计算概率的时候,假设样本空间中的各个样本发生的概率均等,那么,时间A发生的概率为: 所以我们只需要计算时间A包含的样本个数,比上总的样本数,就能得到事件A发生的概率。 基本的counting原则 假设一次实验共有r个阶段,每个阶段有ni种选择,那么总的样本空间是各个阶段的各种选择的乘积。 排列permutation与组合combination 当我们要从n个样本中选...
分类:其他   时间:2014-06-07 11:34:39    收藏:0  评论:0  赞:0  阅读:359
模块管理常规功能自定义系统的设计与实现(51--功能更新[1] 对父模块的链接显示)
新增功能(1)  对父模块的链接显示         系统又经过了一些更新,增加了在form窗口中可以对父模块直接链接显示的功能。具体看看截图         这是我用此系统搭建的另一个管理系统,以后将会用此系统来写说明文件。         上图中一个合同具有很多个父模块的值,比如说承建单位,所属工程(祖父模块),还有其他一些相关属性,在这个页面上,...
分类:其他   时间:2014-06-07 14:28:20    收藏:0  评论:0  赞:0  阅读:435
keil RTX TCP/UDP 报错
.\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol get_host_by_name (referred from neti_tcpip.o). .\Obj\HST3GSTM32F205.axf: Error: L6218E: Undefined symbol tcp_abort (referred from neti_tcpip....
分类:其他   时间:2014-06-07 16:22:59    收藏:0  评论:0  赞:0  阅读:572
java实现 阿拉伯数字转换为汉字数字 算法
package test; public class NumberFormatTest { static String[] units = { "", "十", "百", "千", "万", "十万", "百万", "千万", "亿", "十亿", "百亿", "千亿", "万亿" }; static char[] numArray = { '零', '一', '二', '...
分类:编程语言   时间:2014-06-07 13:14:52    收藏:0  评论:0  赞:0  阅读:354
javascript刷新页面的方法汇总
如何实现刷新当前页面呢?借助js你将无所不能。 1,reload 方法,该方法强迫浏览器刷新当前页面。 语法:location.reload([bForceGet])    参数: bForceGet, 可选参数, 默认为 false,从客户端缓存里取当前页。true, 则以 GET 方式,从服务端取最新的页面, 相当于客户端点击 F5("刷新") 2,replace 方法,该方法通过指定...
分类:编程语言   时间:2014-06-07 16:23:40    收藏:0  评论:0  赞:0  阅读:465
ACM-树状数组之敌兵布阵——hdu1166
ACM 树状数组 敌兵布阵 hdu1166...
分类:其他   时间:2014-06-07 14:40:41    收藏:0  评论:0  赞:0  阅读:495
1128条   上一页 1 ... 22 23 24 25 26 ... 57 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!