码迷,mamicode.com
首页 >  
搜索关键字:implement stack usin    ( 11956个结果
第十七篇:曲径通幽处,禅房花木深--初探WDDM驱动学习笔记(一)
正好需要对WINDOWS的WDDM有所了解, 于是就翻了下MSDN. 微软对设备驱动的框架设计非常周全. 无论WDDM, AVSTREAM, 还是USB STACK, STORAGE, 以及其它技术类型的设备驱动, 都是以port/miniport, class/miniclass的形式展开, 微软将经过严密设计,开发,测试的port/class驱动提供给IHV,而IHV只需要把工作重心放到m...
分类:其他好文   时间:2014-06-05 06:09:27    阅读次数:298
hdu 4832 百度之星初赛二B
把横的和竖的分开考虑 //#pragma comment(linker, "/STACK:102400000,102400000") #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace...
分类:其他好文   时间:2014-06-05 06:04:58    阅读次数:238
LeetCode: Sqrt(x) [069]
【题目】 Implement int sqrt(int x). Compute and return the square root of x. 【题意】 实现 int sqrt(int x),计算并返回平方根。 【思路】 用牛队迭代法求解,本题可以转化为求 f(n)=n^2-x=0的解 用牛顿迭代法不断逼近真实解,假设曲线上有点(n[i],f(n[i])) 则这点出的斜率为2ni, 通过该点的直线方程为 y=2n[i](...
分类:其他好文   时间:2014-06-04 23:38:20    阅读次数:325
Pow(x, n)
Implement pow(x,n).classSolution{public:doublepow(doublex,intn){if(n==1)returnx;if(n==-1)return1/x;if(n==0)return1;doubleresult=1;doubletmp=pow(x,n/2)...
分类:其他好文   时间:2014-06-04 20:48:56    阅读次数:288
JVM 内存初学 (堆(heap)、栈(stack)和方法区(method) )
这两天看了一下深入浅出JVM这本书,推荐给高级的java程序员去看,对你了解JAVA的底层和运行机制有比较大的帮助。废话不想讲了.入主题:先了解具体的概念:JAVA的JVM的内存可分为3个区:堆(heap)、栈(stack)和方法区(method)堆区:1.存储的全部是对象,每个对象都包含一个与之对...
分类:其他好文   时间:2014-06-03 07:40:57    阅读次数:196
Web Navigation
DescriptionStandard web browsers contain features to move backward and forward among the pages recently visited. One way to implement these features i...
分类:Web程序   时间:2014-05-31 21:16:40    阅读次数:279
android debug:stack trace
使用 ps 命令查看 目标进程的 pid,比如说是 1200,然后kill -3 1200在 /data/anr/traces.txt 中就能找到 进程 1200 中各线程的stack trace
分类:移动开发   时间:2014-05-31 13:47:40    阅读次数:434
LeetCode: Implement strStr() [027]
【题目】Implement strStr().Returns a pointer to the first occurrence of needle in haystack, ornullif needle is not part of haystack.【题意】实现库函数strStr(), 功能是...
分类:其他好文   时间:2014-05-31 04:44:14    阅读次数:218
LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:其他好文   时间:2014-05-30 15:09:06    阅读次数:223
Java 集合系列 06 Stack详细介绍(源码解析)和使用示例
java 集合系列目录:Java 集合系列 01 总体框架Java 集合系列 02 Collection架构Java 集合系列 03 ArrayList详细介绍(源码解析)和使用示例Java 集合系列 04 LinkedList详细介绍(源码解析)和使用示例Java 集合系列 05 Vector详细...
分类:编程语言   时间:2014-05-29 19:23:14    阅读次数:311
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!