码迷,mamicode.com
首页 >  
搜索关键字:shuffle write    ( 15634个结果
POJ1426:Find The Multiple(算是bfs水题吧,投机取巧过的)
http://poj.org/problem?id=1426DescriptionGiven a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representatio...
分类:其他好文   时间:2014-09-18 20:27:14    阅读次数:244
JS常用方法函数整理
1.document.write("");为输出语句2.JS中的注释为//3.传统的HTML文档顺序是:document->html->(head,body)4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document)5...
分类:Web程序   时间:2014-09-18 18:38:34    阅读次数:227
Linux页缓存
为了提高读写文件速度,linux系统采用一种页缓存机制。当应用程序调用read,write等函数读写文件时,系统并不立即与硬盘进行操作,而是查看需要读取的数据是否已在页缓存中,如不在,则从硬盘读龋当写入时,只是将数据写入至页缓存,然后使用系统进程pdflush根据一定算法写入至..
分类:系统相关   时间:2014-09-18 16:54:54    阅读次数:179
leetcode_num3_Same Tree
题目: Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical and the nodes have the same value. 刷题打卡中...
分类:其他好文   时间:2014-09-18 16:33:24    阅读次数:205
Leetcode: Search in Rotated Sorted Array II
Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed?Would this affect the run-time complexity? How and why?Write a function ...
分类:其他好文   时间:2014-09-18 13:11:03    阅读次数:135
MapFile
MapFile是排序后的SequenceFile, 这个排序是由开发者来保证的, 不是内存实现.相当于对key作了一个分块索引, 只针对key.缺点1.文件不支持复写操作,不能向已存在的SequenceFile(MapFile)追加存储记录2.当write流不关闭的时候,没有办法构造read流。也就...
分类:其他好文   时间:2014-09-18 13:01:44    阅读次数:171
.net的内置对象
一 . 获取客户端,服务器端信息: Response.Write("客户端信息:"); Response.Write("浏览器类型,版本:"); Response.Write(Request.Browser.Type); Response.Write("浏览...
分类:Web程序   时间:2014-09-18 12:47:53    阅读次数:262
hadoop 常见错误汇总
1:Shuffle Error: Exceeded MAX_FAILED_UNIQUE_FETCHES; bailing-out Answer:程序里面需要打开多个文件,进行分析,系统一般默认数量是1024,(用ulimit -a可以看到)对于正常使用是够了,但是对于程序来讲,就太少了。修改办法:....
分类:其他好文   时间:2014-09-18 11:16:33    阅读次数:296
linux下删除3分钟之前指定文件夹下的指定类型文件
#!/bin/shDELDIR="/root/crontab_test/test"#3 minute agoDELTIME="-mmin +3"#delete file typeFILETYPE1="'*.txt'"FILETYPE2="'*.log'"#write to tmp filerm cr...
分类:系统相关   时间:2014-09-18 09:38:33    阅读次数:210
【学习笔记】锋利的jQuery(一)选择器
一、要点阐述1,jQuery创建于2006年1月的一个开源项目,强调理念是“write less,do more”,压缩后大小30KB左右。、2,jQuery里的方法都被设计程自动操作对象集合,而非单独的对象。3,jq对象是jq对DOM对象进行包装后产生的对象,是一个类似数组的对象,可用[0]或ge...
分类:Web程序   时间:2014-09-18 02:00:23    阅读次数:232
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!