E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
list.h
双向循环队列
在~/include/linux/
list.h
中,就定义了双向链表和常用的function.链表头如下:structlist_head{structlist_head*next,*prev;};1.创建双
charlesxie
·
2011-11-21 21:30
linux
function
记录
include
休闲
双向循环队列
在~/include/linux/
list.h
中,就定义了双向链表和常用的function.链表头如下:structlist_head{structlist_head*next,*prev;};1.创建双
charlesxie
·
2011-11-21 21:30
linux
记录
include
数据结构
链式存储结构的线性表
/** *
List.h
*@Author:MJN *@Date:2011-10-30 */ #pragmaonce template structNode { Tdata; Node*next; }
njnu_mjn
·
2011-10-30 00:00
顺序存储结构的线性表
以下是采用C++语言的实现代码:/** *
List.h
*/ #pragmaonce /** *@Descripton:顺序存储结构的线性表,容量不足时,自动增倍
njnu_mjn
·
2011-10-29 16:00
C/C++中链表的三种设计方案
//#include"cginode_list.h" #include"
list.h
" #include structMyData { inti; structlist_headlist_node;
zdl1016
·
2011-10-11 21:00
数据结构
list
struct
读书
each
linux内核
C语言练习01:单向链表的实现
头文件:/* *
List.h
* *Singlelinkedlistheaderfile * *ByYapingXin110929 * */ #ifndef_LIST_H_ #define_LIST_H
XinYaping
·
2011-10-08 09:00
c
struct
list
语言
callback
Pointers
linux
list.h
实例
=======================my_list.h==================================#ifndef__MY_LIST_H__#define__MY_LIST_H__#ifdef__KERNEL__#include#include#include#include/*PORTINGNOTEFakingfunctionsthatarenotavailabl
ly61baby
·
2011-10-06 03:00
linux
list
struct
each
Primitive
traversal
list.h
from linux-2.4
#ifndef _LIST_H_ #define _LIST_H_ /* simple (cyclic) doubly linked list borrowed from linux 2.4 */ struct list_head { struct list_head *next, *prev; }; #define LIST_HEAD_INIT(na
ackerman
·
2011-08-25 09:00
linux
linux joystick 游戏手柄编程 (获取输入数据)
啥也不说了,先上代码:由于linux中的
list.h
不能直接用,所以单独提取了出来使用://listop.h /*itisfromlinuxlist*/ #ifndefLISTOP_H #defineLISTOP_H
ytmayer
·
2011-08-16 19:00
游戏
编程
linux
struct
list
button
两个双向链表删除相同元素
/blog/item/cdeefb1ce3638a8d87d6b6c7.html/cmtid/6145d62fdd4a92361f3089e8#include"stdafx.h"//#include"
list.h
notton
·
2011-08-10 10:00
c
list
struct
null
kernel链表操作
代码在/include/linux/
list.h
中1、INIT_LIST_HEADstaticinlinevoidINIT_LIST_HEAD(structlist_head*list) { list-
xujianqun
·
2011-08-05 11:00
list
struct
Linux 2.6内核链表数据结构
链表数据结构的定义很简单(节选自[include/linux/
list.h
],以下所有代码,除非加以说明
allen_young_yang
·
2011-07-29 09:00
数据结构
linux
list
struct
each
linux内核
linux内核链表
内核链表---include/linux/
list.h
链表数据结构定义structlist_head{structlist_head*next,*prev;}内核链表具备双链表功能,实际上,通常它都组织成双向循环链表
u013030441
·
2011-07-22 12:00
顺序表结构的模版类
//
List.h
#ifndef LIST_H #define LIST_H #define MAXSIZE 100 #include <iostream> using namespace
·
2011-07-15 16:00
表结构
分析linux/
list.h
中的list_head结构
可以定义一套类似的对链表操作的宏,对任何链表的操作都可以用这套宏来替代,这是一个很有创意的想法,据说在C++设计与演化上讲过,书太多了,我还是慢慢来吧,:(/usr/include/linux/
list.h
cat_lover
·
2011-07-05 10:00
c
struct
list
测试
each
list.h
之我见
链表是一种常见的、组织有序数据的数据结构,它通过指针将一系列的数据节点连接成一条数据链,是线性表的一种实现方式。与数组相比,链表具有更好的动态性,建立联表示无须知道结点的总数,可以随机分配空间,可以高效的链表中的任意位置插入或者删除数据。按照结点指针域的组织以及各节点之间的联系方式,链表又可以分为单链表、循环链表、双向循环链表等多种类型。以下是常见的这几种链表的结点的数据结构。单链表:
xiyoukeke
·
2011-06-04 13:00
数据结构
list
struct
测试
each
linux内核
双向链表
双向链表的实现:/**
List.h
**Createdon:2011-5-25*Author:sjiang2142*/templateclassList{private://Node类structNo
sjiang2142
·
2011-05-26 15:00
object
list
null
iterator
Class
insert
通用链表框架
这是一个通用链表的框架,适合所有的数据类型,对于头结点这个链表是存放数据的,其中SUCCESS是宏为1,FAILURE也是宏为0;链表的头文件
list.h
/**********************
meakhella
·
2011-04-08 19:20
框架
链表
职场
休闲
通用
Linux内核链表(二)
在
list.h
文件中有一个lis
cm14k
·
2011-04-01 22:00
数据结构
编程
linux
IBM
gcc
list.h
双循环链表的实现,拷贝自Linux内核(2.6.20.1)
/**描述: 双循环链表的实现,拷贝自Linux内核(2.6.20.1)。*/#ifndef_LINUX_LIST_H#define_LINUX_LIST_H#ifdef__cplusplus /*使C++程序也能用。*/extern"C"{#endif#if!defined(__cplusplus)&&defined(WIN32)#defineinline#endif#
su_guiyang
·
2011-03-06 22:25
linux
休闲
linux内核
list.h
双循环链表
list.h
双循环链表的实现,拷贝自Linux内核(2.6.20.1)
/**描述:双循环链表的实现,拷贝自Linux内核(2.6.20.1)。*/#ifndef_LINUX_LIST_H#define_LINUX_LIST_H#ifdef__cplusplus/*使C++程序也能用。*/extern"C"{#endif#if!defined(__cplusplus)&&defined(WIN32)#defineinline#endif#defineLIST_POIS
su_guiyang
·
2011-03-06 22:25
linux
Linux内核
休闲
C程序设计
2011近期寒假安排
2.继续学习ARM嵌入式系统优先级:2内容:分析启动代码, 总结串口编程 继续学习ARM汇编3.学习Linux操作系统优先级:2内容:分析
list.h
源代码
tigerjibo
·
2011-01-10 09:00
编程
linux
工作
汇编
嵌入式
语言
2011近期寒假安排
学习Linux操作系统 优先级:2 内容:分析
list.h
源代码 分部分学习l
baiseda
·
2011-01-10 09:00
2011近期寒假安排
2.继续学习ARM嵌入式系统优先级:2内容:分析启动代码, 总结串口编程 继续学习ARM汇编3.学习Linux操作系统优先级:2内容:分析
list.h
源代码
tigerjb
·
2011-01-10 09:00
编程
工作
linux
汇编
嵌入式
语言
CList封装模板类
/**
list.h
**Simpledoublylinkedlistimplementation.
zhengxu25689
·
2011-01-07 13:00
struct
list
null
Class
UP
callback
linux中
list.h
中函数应用实例
这些代码片段展示如何使用linux内核模块,list,以及hash===================tccounter.c=====================#include#include#include#include#include#include#include#includeMODULE_LICENSE("GPL");staticunsignedintip=123456789;
yskcg
·
2010-11-10 15:00
linux
struct
list
Stream
Module
input
C语言实现双向链表之具体实现
/* *list.c * * Createdon:Nov1,2010 * Author:jenson */#include"
list.h
"#include#include#includedr_listdrl_create
juxiangwu
·
2010-11-04 13:27
算法
职场
休闲
C语言实现双向链表之具体实现
/* *list.c * * Createdon:Nov1,2010 * Author:jenson */#include"
list.h
"#include#include#includedr_listdrl_create
juxiangwu
·
2010-11-04 13:27
算法
职场
休闲
C语言实现双向链表之ADT定义
/* *
list.h
* * Createdon:Nov1,2010 * Author:jenson */#ifndefLIST_H_#defineLIST_H_typedefintelem_type
juxiangwu
·
2010-11-04 13:42
算法
职场
休闲
C语言实现双向链表之ADT定义
/* *
list.h
* * Createdon:Nov1,2010 * Author:jenson */#ifndefLIST_H_#defineLIST_H_typedefintelem_type
juxiangwu
·
2010-11-04 13:42
算法
职场
休闲
内核等待队列的学习
对这部分的学习涉及到的文件大致有:wait.h、wait.c、sched.c、spinlock.h和
list.h
等。
luyesy
·
2010-11-01 20:00
C语言实现线性表之具体实现
/* *list.c * * Createdon:Oct31,2010 * Author:jenson */#include"
list.h
"#include#include#includesq_listsq_create
juxiangwu
·
2010-11-01 18:32
算法
职场
休闲
C语言实现线性表之具体实现
/* *list.c * * Createdon:Oct31,2010 * Author:jenson */#include"
list.h
"#include#include#includesq_listsq_create
juxiangwu
·
2010-11-01 18:32
算法
职场
休闲
C语言实现线性表之ADT定义
/* *
list.h
* * Createdon:Oct31,2010 * Author:jenson */#ifndefLIST_H_#defineLIST_H_#defineTRUE1;#defineFALSE0
juxiangwu
·
2010-11-01 18:46
算法
职场
休闲
C语言实现线性表之ADT定义
/* *
list.h
* * Createdon:Oct31,2010 * Author:jenson */#ifndefLIST_H_#defineLIST_H_#defineTRUE1;#defineFALSE0
juxiangwu
·
2010-11-01 18:46
算法
职场
休闲
list.h
头文件分析
双链表的应用在内核中随处可见,
list.h
头文件集中定义了双链表(structlist_head结构体)的相关操作。比如这里的一个头文件中就有大量的structlist_head型的数据。
xuexingyang
·
2010-10-21 17:00
数据结构
linux
list
struct
测试
each
list.h
库文件的分析与运用
接下来就是
list.h
文件的运用: 由于
list.h
属于内核模块中的库文件(usr\src\linux-headers-version\include\linux\ 而默认加载的是usr\include
imaginecup
·
2010-08-31 19:00
linux
Access
UP
list.h
(链表头文件,原创)---希望大家测试一下,找出bug
//本头文件采用中英文两种语言注释,意在大家都能看懂 //This head file consists of the two language of Chinese and English /********************************************************************** ** **--------------------------f
tibaloga
·
2010-08-06 23:00
list
list.h
(链表头文件,原创)---希望大家测试一下,找出bug
//本头文件采用中英文两种语言注释,意在大家都能看懂 //ThisheadfileconsistsofthetwolanguageofChineseandEnglish/********************************************************************** ** **--------------------------fileinfoma
memoryjs
·
2010-08-06 23:00
数据结构
struct
list
测试
null
traversal
Precept和NV类的封装
\Common\
List.h
" 5 6 #define Type_Match_Content
lwch
·
2010-07-22 23:00
PVFS2源代码分析之公有组件src/common/quicklist
文件中也有提及,它是参照linux2.4.3中的
list.h
设计的。
basicthinker
·
2010-07-15 01:00
数据结构
linux
struct
语言
each
代码分析
栈的使用之 表达式求值,如 1+1*(2-3 ) *(1- 3)
实现了中序转后序mid2post ,中序转前序,算法基本相同代码用将一个字符串式的中序表达式分解成一个个的字符串,保存在链表List中 其中使用了List链表,Stack堆栈(自已进行了实现) stack.h
list.h
jixiuffff
·
2010-06-14 00:00
list_entry的宏定义
但是正因为如此,我的第一感觉是,这个宏的名字应该更加抽象,名字似乎应该改称叫“寻找容器”一类的,查看
list.h
源代码,发现
lhf0921
·
2010-04-11 23:00
c
linux
struct
list
深入浅出linux内核源代码之双向链表list_head(下)
#include#include"
list.h
"structperson{intage;intweight;structlist_headlist;};intmain(intargc,c
fjb2080
·
2010-04-07 12:00
深入浅出linux内核源代码之双向链表list_head(上)
作者:清林,博客名:飞空静渡 前言:在linux源代码中有个头文件为
list.h
。
fjb2080
·
2010-04-07 12:00
list
struct
delete
insert
each
linux内核
Linux Kernel中list解读
在~/include/linux/
list.h
中,就定义了双向链表和常用的function. 链表头如下:structlist_head{ structlist_head*next,*prev;}
sahusoft
·
2010-03-12 01:00
linux
list
struct
report
linux内核
Linux-2.6驱动开发 2 列表
文件位置:include/linux/
list.h
数据结构:structlist_head{ structlist_head*next,*prev;};操作:LIST_HEAD(name);将
skdev
·
2010-01-22 15:00
数据结构
struct
list
each
Linux内核数据结构
1.1.链表list_head include/linux/
list.h
很经典,链表在内核中很常用,例如管理进程,进程的各个状态队列都是使用这个双向链表实现的。
edison0716
·
2010-01-19 23:00
数据结构
struct
list
each
linux内核
深入理解Linux内核中的链表
1.1.链表list_head include/linux/
list.h
很经典,链表在内核中很常用,例如管理进程,进程的各个状态队列都是使用这个双向链表实现的。
leisure512
·
2010-01-14 11:00
数据结构
linux
struct
list
each
linux内核
[十月往昔]——Linux内核中的
list.h
浅谈
为什么要叫做“十月往昔”呢,是为了纪念我的原博客。 不知道为什么,突然想来一个新的开始——而那个博客存活至今刚好十个月,也有十个月里的文档。 十月往昔,总有一些觉得珍贵的,所以搬迁到这里来。 而这篇文章是在09.04.10里写的。 终归是一家之谈。 Jason Lee ————————————–cut-line /*------------------------------
pleasetojava
·
2009-11-21 20:00
linux
上一页
5
6
7
8
9
10
11
12
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他