码迷,mamicode.com
首页 >  
搜索关键字:head    ( 28286个结果
《linux 内核完全剖析》编译linux 0.12 内核 Ubuntu 64bits 环境
我×。。。终于好了,大概3 4个小时吧。。。各种毛刺问题。终究还是闯过来了。。。。 ubuntu2@ubuntu:~/Downloads/linux-0.00-050613/linux-0.00$ make ld -s -x -M head.o  -o system > System.map dd bs=32 if=boot of=Image skip=1 16+0 records i...
分类:系统相关   时间:2014-05-10 10:24:29    阅读次数:474
codechef Three Way Communications 题解
The Chef likes to stay in touch with his staff. So, the Chef, the head server, and the sous-chef all carry two-way transceivers so they can stay in constant contact. Of course, these transceivers have...
分类:其他好文   时间:2014-05-10 09:11:21    阅读次数:334
git revert 用法
git revert 撤销 某次操作,此次操作之前和之后的commit和history都会保留,并且把这次撤销作为一次最新的提交 * git revert HEAD 撤销前一次 commit * git revert HEAD^ 撤销前前一次 commit * git revert commit (...
分类:其他好文   时间:2014-05-07 18:30:02    阅读次数:584
LinkedList implement
public class LinkedList { Node head = null; Node tail = null; int length = 0; public void add(Object object) { Node node  = new Node(object, null); if (head == null) { head = tail = nod...
分类:其他好文   时间:2014-05-07 08:24:17    阅读次数:306
不要忽视结构中的数组
#include#define NULL 0struct Node{ char po[10]; struct Node *next;};int main(void){ struct Node a,*head,*p; a.po[10]="abc"; struct Node...
分类:其他好文   时间:2014-05-06 14:14:13    阅读次数:288
jquey实例之animate
<!doctypehtml> <html> <head> <metacharset="utf-8"/> <scripttype="text/javascript"src="jquery.js"></script> </head> <body> <imgsrc="8fbf0884jw1drfmvfrhrhj.jpg"width="300"height="300"/> <buttonid="btn1..
分类:其他好文   时间:2014-05-05 12:19:01    阅读次数:300
Linux内核之旅 链表实现
1 #include "stdio.h" 2 #include "stdlib.h" 3 4 struct list_head{ 5 struct list_head *prev; 6 struct list_head *next; 7 }; 8 9 struct task{1...
分类:系统相关   时间:2014-05-05 10:10:11    阅读次数:462
《linux 内核完全剖析》 void free_page() 分析
#define PAGE_SIZE 4096 /* these are not to be changed without changing head.s etc */ #define LOW_MEM 0x100000 extern unsigned long HIGH_MEMORY; #define PAGING_MEMORY (15*1024*1024) #define PAGING_PAG...
分类:系统相关   时间:2014-05-04 18:15:51    阅读次数:441
Insertion Sort List
Sort a linked list using insertion sort.思路:使用插入排序来对链表进行排序。只要注意链表的边界问题,其实关键就是交换链表的值,对链表指针是没有什么影响的。接下来说下具体步骤:1.判断head或者head->next是否为空;2.循环遍历,初始条件pCur=he...
分类:其他好文   时间:2014-05-04 10:01:57    阅读次数:242
LA 4513 Stammering Aliens 字符串hash
字符串hash模板, 本题是求,给定字符串s中至少出现m次的最长字符串长度,及此时起始位置的最大值 LA 4513 Stammering Aliens //#pragma warning (disable: 4786) //#pragma comment (linker, "/STACK:16777216") //HEAD #include #include #include #inc...
分类:其他好文   时间:2014-05-04 09:52:37    阅读次数:304
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!