1、数据请求原语: PD-DATA.request( psduLength, psdu )2、数据请求确认原语: PD-DATA.confirm( status )3、数据指示原语: PD...
分类:
其他好文 时间:
2014-07-09 21:01:29
阅读次数:
148
基于《Linux设备驱动程序》书中的sbull程序以对Linux块设备驱动总结分析。
开始之前先来了解这个块设备中的核心数据结构:
struct sbull_dev {
int size; /* Device size in sectors */
u8 *data; ...
分类:
系统相关 时间:
2014-07-06 12:36:10
阅读次数:
250
我知道typedef是类型别名的意思,也知道结构体如何定义。
但下面的代码:
typedef struct node{
struct node*lchild;
char data;
struct node*rchild;
}bitnode,*bitree;
那这样结构体后面的是对象还是别名呢?我感觉应该是对象,但typedef又无从说起。
然后接着有
bitree crea...
分类:
编程语言 时间:
2014-07-06 12:25:16
阅读次数:
179
与折半查找是同一个模式,不同的是,在这里不在查找某个确定的值,而是查找确定值所在的上下边界。
def getBounder(data, k, start, end, low_bound = False):
if end < start : return -1
while start > 1
if data[ mid ] ...
分类:
其他好文 时间:
2014-07-06 12:18:00
阅读次数:
311
/**************dis_12864.h***************/
#include
#ifndef __DIS_12864_H__
#define __DIS_12864_H__
#define uchar unsigned char
#define uint unsigned int
/*12864端口定义*/
#define LCD_data ...
分类:
其他好文 时间:
2014-07-06 10:58:45
阅读次数:
129
There are a bunch of different methods you can use to back up your MongoDB data, but if you want to avoid downtime and/or potential
performance degradation, the most common advice seems to be that y...
分类:
数据库 时间:
2014-07-06 09:26:04
阅读次数:
437
aspxvar Tbody = $("#PartTable")[0]; var data = []; for (var i = 0; i >(JsonValue.Value); public class OutwardProcessingOrderBs { public int OM...
分类:
Web程序 时间:
2014-07-05 21:15:28
阅读次数:
201
LZ77压缩算法二.LZ77算法1977年,Jacob Ziv和Abraham Lempel描述了一种基于滑动窗口缓存的技术,该缓存用于保存最近刚刚处理的文本(J. Ziv and A. Lempel, “A Universal Algorithm for Sequential Data Compr...
分类:
其他好文 时间:
2014-07-05 21:01:46
阅读次数:
905
struts2上传图片的过程1、写一个上传的jsp页面upload_image.jsp,内容如下: 解析:A、 form里面的method必须是post,enctype="multipart/form-data"上传文件必须这样写 B、这个是图片格式或者大小出...
分类:
其他好文 时间:
2014-07-05 20:59:18
阅读次数:
218
整型的封装typedef intptr_t ngx_int _t;//有符号整型typedef uintptr_t ngx_uint_t;//无符号整型字符串的封装typedef struct{ size_t len; u_char *data; }ngx_str_t;链表容器...
分类:
其他好文 时间:
2014-07-05 20:55:25
阅读次数:
252