Panic log:[ 939.136378] c0 11060 (kworker/u8:5) binder: release 29969:29969 transaction 41327 out, still active[ 951.095433] c1 1026 (Binder_6) bind.....
分类:
其他好文 时间:
2014-11-26 15:45:08
阅读次数:
599
项目里编译codec src\makefiles\android\codec\Makefileline 25 原本用 4.6 不会报错-L/data/android/android-ndk/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi-v7a \改成-...
分类:
其他好文 时间:
2014-11-26 15:45:04
阅读次数:
449
1. 对JQuery自身的扩展插件对JQuery 自身方法库的扩展,用$.YouMethodName()进行调用。(1).插件的编写$.extend({YouMethodName:function(){//you can handle something here}});(2).插件的调用$.You...
分类:
Web程序 时间:
2014-11-26 13:53:56
阅读次数:
131
1 void reversedir(string srcDir) 2 { 3 struct _finddata_t filefind; 4 string imgName = srcDir + "\\*.*"; 5 int done=0, handle; 6 7 ...
命令行里操作有空格的文件多少有点不方便,最近也在学脚本,就根据一个重命令空白字符为下划线的脚本,梳理下。#!/bin/bash
#重命名文件计数
handle_file=0
found_mark=0
forfile_namein*;do
#通过grep的返回值来判断
echo"$file_name"|grep-q""
if[$?-eq$found_mark];then
fi..
分类:
其他好文 时间:
2014-11-26 06:43:37
阅读次数:
145
一、 在MainActivity中为什么只是类似的写一行如下代码就可以使用handler了呢?Handler handler = new Handler() { @Override public void handleMessage(Message msg) { // handle the...
分类:
移动开发 时间:
2014-11-25 14:16:40
阅读次数:
220
这个panic是由CTS测试的时候发现的,panic的log如下:[ 2212.531425] c3 3279 (logcat) Unable to handle kernel paging request at virtual address 2b2c2c2b2b292a2a[ 2212.54.....
分类:
其他好文 时间:
2014-11-25 12:14:52
阅读次数:
611
Handle类的主要作用有两个:1、在新启动的线程中发送消息;2、在主线程中获取、处理消息。为了让主线程能“适时”地处理新启动的线程所发送的消息,显然只能通过回调的方式来实现——开发者只要重写Handler类中处理消息的方法,当新启动的线程发送消息时,Handler类中处理消息的方法被自动回调。Ha...
分类:
其他好文 时间:
2014-11-24 23:53:50
阅读次数:
248
以下代码:由于web_find函数进行的操作无须包括在事务总执行时间中,因些要用计时器来计算其执行时间,然后用lr_wasted_time函数将其从事务的总执行时间中扣除。Action(){doubletime_elapsed;merc_timer_handle_ttimer;lr_start_transaction("Search");web_url("baidu_search",..
分类:
其他好文 时间:
2014-11-22 02:10:06
阅读次数:
250
??
1,rotocraft/main函数
main_init()
(1)各设备初始化
(2)register timers for the periodic functions
其中有telemetry_tid
while(1){
handle_periodic_tasks()
其中,该函数的实现里有:
if (sys_time_check_...
分类:
其他好文 时间:
2014-11-21 23:19:54
阅读次数:
347