Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:
其他好文 时间:
2014-12-06 16:46:02
阅读次数:
202
Intent:
官方解释:
An intent is an abstract description of an operation to be performed. It can be used with startActivity to
launch an Activity, broadcastIntent to
send it to any interested Broadcas...
分类:
移动开发 时间:
2014-12-05 15:37:03
阅读次数:
237
bool flock ( int handle, int operation [, int &wouldblock] ); flock() 操作的 handle 必须是一个已经打开的文件指针。operation 可以是以下值之一: 要取得共享锁定(读取程序),将 operation 设为 ...
分类:
Web程序 时间:
2014-12-04 12:25:33
阅读次数:
152
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:
其他好文 时间:
2014-12-03 22:42:21
阅读次数:
130
#主要开发流程介绍 module_init宏和module_exit宏 当模块装载时需要调用module_init宏指定的函数,卸载时需要调用 module_exit宏指定的函数 以下是简单的init流程: - 初始化设备 - 初始化file_operation - 获取字...
分类:
其他好文 时间:
2014-12-03 21:37:37
阅读次数:
154
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for furt...
分类:
其他好文 时间:
2014-12-03 17:20:01
阅读次数:
254
AlarmManager 包含的主要方法:// 取消已经注册的与参数匹配的定时器void cancel(PendingIntent operation) //注册一个新的延迟定时器void set(int type, long triggerAtTime, PendingIntent opera.....
分类:
移动开发 时间:
2014-12-02 15:11:25
阅读次数:
181
之前公司有台邮件网关服务器,专门用来邮件报警用的,由于服务器资源有限,现在必须要在这台机器上面搭建一个在线培训系统,用LNMP一键安装,搭建完成后,从网管服务器登录到这台机器上面的时候出现了如下报错。[sa@YY-WG-R720001~]$ssh192.168.110.6sa@192.168.110.6‘spasswor..
分类:
其他好文 时间:
2014-12-01 16:10:49
阅读次数:
313
1 BSP批量同步并行计算BSP(Bulk Synchronous Parallel)批量同步并行计算用来解决并发编程难的问题。名字听起来有点矛盾,又是同步又是并行的。因为计算被分组成一个个超步(super-step),超步内并行计算并且结点间不能通信。在超步之间设置同步栅栏(barrier synchronization),计算完成后相互通信,全部完成后才能继续下一个超步。2 SEDA阶段...
分类:
其他好文 时间:
2014-11-30 23:26:28
阅读次数:
402
原因一:80端口占用例如IIS,另外就是迅雷。我的apache服务器就是被迅雷害得无法启用!原因二:软件冲突装了某些软件会使apache无法启动如Dr.com 你打开网络连接->TcpIp属性->高级->WINS标签 把netbios的lmhosts对勾去掉,禁用tcp/ip的netbios. 然后...
分类:
Web程序 时间:
2014-11-29 17:27:21
阅读次数:
177