KVM/QEMU hypervisor driver Project Links Deployment pre-requisites Connections to QEMU driver Driver security architecture Driver instances POSIX user...
分类:
其他好文 时间:
2014-07-01 19:14:26
阅读次数:
323
做Linux方面也有三个多月了,对代码中的有些结构一直不是非常明确,比方platform_device与platform_driver一直分不清关系。在网上搜了下,做个总结。两者的工作顺序是先定义platform_device -> 注冊 platform_device->,再定义 platfor....
分类:
其他好文 时间:
2014-07-01 18:51:30
阅读次数:
247
find的语法:find [起始目录] 寻找条件 操作find ./msg -name "*.h" -o -name "*.hpp"在当前msg目录下查找以.h或.hpp结尾的文件,这两个 -name 之间的 -o 表示逻辑或(or)
分类:
系统相关 时间:
2014-07-01 17:59:32
阅读次数:
215
Union Find就是所谓的并查集。
本题做的很无语,最后发现居然是输入搞错,一直WA。
不能使用循环接受输入,否则是WA的,气死人,浪费那么多时间就为了这个。
难点:
1 构建关系树
2 构建公式
3 快速更新公式
要抽象思维出什么对应什么的关系和上面是逆关系,就是利用0,1,2构建出父子节点之间的关系值,我是这样去思考构建出准确无误的公式的。
这样的抽象度是挺高的,需要多多训...
分类:
其他好文 时间:
2014-07-01 11:15:20
阅读次数:
190
问题描述:
Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from http://repo1.maven.org/maven2 was cached in the local repository, resolution wi...
分类:
其他好文 时间:
2014-07-01 11:14:35
阅读次数:
279
今天遇到了一个奇葩的问题,我把我的sdk tools的版本升级到23后,我在eclipse中尝试升级ADT,发现了这么一个问题,下面分析下原因:
当我在eclipse中选择Help-->Check for updates时,会弹出一个框,如下:
首先解释下这个错误出现的原因:
Eclipse在check for updates时,是根据下图列表中所有的Available Softwa...
分类:
系统相关 时间:
2014-07-01 11:13:52
阅读次数:
441
sd5:0:0:0:[sdd]Unhandledsensecodesd5:0:0:0:[sdd]Result:hostbyte=DID_OKdriverbyte=DRIVER_SENSEsd5:0:0:0:[sdd]SenseKey:MediumError[current][descriptor]Descriptorsensedatawithsensedescriptors(inhex):720311040000000c000a8000000000004c69a958sd5:0:0:0:[sdd]Add.Se..
分类:
其他好文 时间:
2014-07-01 09:55:07
阅读次数:
856
题目
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.
Return a deep copy of the list.
方法
publi...
分类:
其他好文 时间:
2014-07-01 07:49:33
阅读次数:
186
题目
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it witho...
分类:
其他好文 时间:
2014-07-01 06:24:42
阅读次数:
204
题目
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Your algorithm should have a linear runtime complexity. Could you implement it...
分类:
其他好文 时间:
2014-07-01 06:23:24
阅读次数:
334