找到超时时间计算的地方,有很多处,大概几十外,大约类似以下的代码,作者应该是copy了很多份重复的代码,
10000C592 F2 0F 10 8D 40 FE FF FF movsd xmm1, [rbp+var_1C0]
__text:000000010000C59A F2 0F 59 0D 46 B4 1C 00...
分类:
其他好文 时间:
2014-06-05 11:54:48
阅读次数:
275
【题目】
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:
Integers in each row are sorted from left to right.
The first integer of each row is greater than the last integer of the previous ...
分类:
其他好文 时间:
2014-06-05 08:28:43
阅读次数:
321
1、文件描述符
Linux操作系统中,几乎所有的设备都被抽象成为设备文件。因此,当我们想对设备进行操作的时候可以直接去操作其相应的设备文件。设备文件即是文件,要想对文件进行操作,无非就是:打开文件、关闭文件、写入数据、读出数据等,它们分别对应的函数有open(),close(),write(),read(),就以其中的open()函数做一个分析。open函数的作用是打开一个文件。
(1)它的定...
分类:
系统相关 时间:
2014-06-05 06:17:45
阅读次数:
389
版本:2.6.33.4
发送端 tcp_write_xmit 函数
/* This routine writes packets to the network. It advances the
* send_head. This happens as incoming acks open up the remote
* window for us.
*
* LARGESEND no...
分类:
其他好文 时间:
2014-06-05 04:15:28
阅读次数:
236
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.
For example, given n = 3, a solution set is:
"((()))", "(()())", "(())()", "()(())", "()()...
分类:
其他好文 时间:
2014-06-05 02:15:14
阅读次数:
262
objective-c copy mutableCopy 拷贝对象
原来不是所有的对象都支持 copy
只有遵守NSCopying 协议的类才可以发送copy消息
只有遵守NSMutableCopying 协议的类才可以发送mutableCopy消息...
分类:
其他好文 时间:
2014-06-04 23:49:46
阅读次数:
350
今天在使用ffmpeg时出现了Operation not
permitted通过增加打印信息发现是在av_interleaved_write_frame出现的问题,昨天还没出现这个问题,很奇怪,就把昨天的拿过来试还是一样,最后发现时少加了O_CREAT昨天没事是因为之前那个文件存在,Linux基础太...
分类:
其他好文 时间:
2014-06-03 07:11:24
阅读次数:
380
# groupadd weblogic# useradd -g weblogic
weblogic# passwd weblogic# mkdir -p /var/bea# chown -R weblogic:weblogic
/var/bea# su - weblogic$ vi ~/.bash_...
分类:
Web程序 时间:
2014-05-31 20:47:51
阅读次数:
396
这几天都有一些任务要跟, 把ios的学习拉后, 看看要抓紧咯,
看看轮到的学习的是UITableView。BIDViewController.h#import @interface BIDViewController :
UIViewController@property (copy, nonato...
分类:
移动开发 时间:
2014-05-31 11:27:25
阅读次数:
386
第一章:前言
学习笔记,记录学习STL算法的一些个人所得,在以后想用的时候可以快速拾起。 第二章:明细 copy 函数原型: template OutputIterator
copy (InputIterator first, InputIterator last, OutputIterat...
分类:
其他好文 时间:
2014-05-31 04:08:50
阅读次数:
375