Relative PositioningA relative positioned element is positioned relative to its normal position.The reserved space for the element is still preserved ...
分类:
Web程序 时间:
2015-05-13 21:32:06
阅读次数:
128
测试环境:Ubuntu 14.04LTS
在Windows下,我们 用RW everything很容易可以看到PCIE所有的config space,但是我们最近想在Linux下dump PCIE config space,首先我们尝试用IO read的方式,
也就是通常我们会用CF8和CFC的方式,但是很遗憾这种方式只能读出来256个字节,那么后面的0x100~0x1FF怎么去读,就是下面我...
分类:
系统相关 时间:
2015-05-13 19:47:03
阅读次数:
1143
1 Intro The smallest unit of an object file is a section. A section is a block of code or data that occupiescontiguous space in the memory map. ....
分类:
其他好文 时间:
2015-05-13 18:38:06
阅读次数:
134
刚刚转入Android Studio,对AS中的一些操作还不太熟悉,所以记录一下。。。
更改AS中的代码提示快捷键,AS做的也挺智能的,在Keymap中可以选择使用eclipse的快捷键设置,但是虽然设置了,对有些快捷键还是不能使用,那么就需要我们手动去修改了。
在代码提示AS默认的快捷键是Ctrl+Alt+Space,反正我是用不惯,还是改为eclipse中的Alt+/吧,修改时必须...
分类:
移动开发 时间:
2015-05-13 16:57:56
阅读次数:
160
最近做项目碰到了让我纠结的问题,tomcat服务器运行一段时间,总是会自动报异常:java.lang.OutOfmemoryError:PermGen Space 的错误,导致项目无法正常运行。 出现这个错误的原因,总结一下:PermGen Space指的是内存的永久保存区,该块内存主要是被JVM存...
分类:
其他好文 时间:
2015-05-13 16:29:49
阅读次数:
113
Merge Sorted Array Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.Note:
You may assume that nums1 has enough space (size that is greater or equal to m + n)...
分类:
其他好文 时间:
2015-05-13 13:01:34
阅读次数:
110
Given an unsorted array, find the maximum difference between the successive elements in its sorted form.Try to solve it in linear time/space.Return 0 ...
分类:
其他好文 时间:
2015-05-13 12:14:11
阅读次数:
107
题目描述:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space ...
分类:
其他好文 时间:
2015-05-13 11:58:16
阅读次数:
95
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:
其他好文 时间:
2015-05-12 22:36:12
阅读次数:
151