码迷,mamicode.com
首页 >  
搜索关键字:head tail ‘tail -f’ ‘tail -f’    ( 36072个结果
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
Eclipse错误导致无法启动The workspace exited with unsaved changes in the previous session
MyOpenSUSE:/home/jin/workspace # tail -f .metadata/.log !SESSION 2014-05-04 11:35:58.869 -----------------------------------------------eclipse.buildI...
分类:系统相关   时间:2014-05-04 19:34:07    阅读次数:984
《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
如何通过Html网页调用本地安卓app
如何使用html网页和本地app进行传递数据呢?经过研究,发现还是有方法的,总结了一下,大致有一下几种方式   一、通过html页面打开Android本地的app 1、首先在编写一个简单的html页面 html> head> meta http-equiv="Content-Type" content="text/html; ch...
分类:移动开发   时间:2014-05-04 00:31:46    阅读次数:376
单链表的环相关问题
给定一个单链表,只给出头指针h: 1、 如何判断是否存在环? 证明:  slow首次在A点进入环路时,fast一定在环中的B点某处。设此时slow距head长为x,B点距A点长度为y,环周长为s。因为fast和slow的步差为1,所以slow前行距离为y的时候,恰好会被fast在M点追上。因为y //判断单链表是否有环 public static boolean hasCyc...
分类:其他好文   时间:2014-05-03 16:38:30    阅读次数:325
HDU 2894 欧拉回路
#include #include #include #include #include using namespace std; #define N 20020 struct node{ int from, to, dou, nex; }edge[N]; int head[N], edgenum; void add(int u, int v,int dou){ node E={u,v,dou...
分类:其他好文   时间:2014-05-03 15:25:32    阅读次数:340
Web基本服务搭建和访问控制
Web服务的基本搭建和访问控制环境:web:[root@Web~]#ifconfig|head-2 eth0Linkencap:EthernetHWaddr52:54:01:AC:DE:C4 inetaddr:192.168.122.10Bcast:192.168.122.255Mask:255.255.255.0 [root@rh_1~]#yum-yinstallhttpdNDS:Linkencap:EthernetHWaddr52:54:02:AC:DE:C4 ineta..
分类:Web程序   时间:2014-05-03 15:17:05    阅读次数:389
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!