搜索资源列表
存储管理源代码
- 分区式存储管理源代码 一、可变分区存储管理的基本策略 1)不预先划分几个固定分区,分区的建立是在作业的处理过程中进行的,各分区的大小由作业的空间需求量决定。 2)采用指针方式将各个空闲分区链接而成的链表,用以记录主存分配现状。 3)分配与回收算法按空闲分区链接方式的不同分类,有最佳、最坏、首次和下次适应四种算法。 二、程序模拟的设计 1、基本思想 采用事件驱动模型。事件有: 1)申请主存事件,表示一个作业创建时提出的主存资源要求; 2)释放主存事件,表示一个作
namab
- ergydfhgdfhggfhg 一.实验目的 二.实验内容 三、程序简要说明 原 文 : C语言词法分析器的设计与实现 一.实验目的: 1.强化对系统软件综合工程实现能力、规划能力的训练; 2.加强对词法分析原理、方法和基本实现技术的理解; 二.实验内容: 用C语言(或 C++ )作为宿主语言完成: C语言(ANSI C或turbo C 2.0)词法分析器的设计和实现。 三、程序简要说明: 1、属性字说明: 共9种 KE
fchh
- 一.实验目的 二.实验内容 三、程序简要说明 原 文 : C语言词法分析器的设计与实现 一.实验目的: 1.强化对系统软件综合工程实现能力、规划能力的训练; 2.加强对词法分析原理、方法和基本实现技术的理解; 二.实验内容: 用C语言(或 C++ )作为宿主语言完成: C语言(ANSI C或turbo C 2.0)词法分析器的设计和实现。 三、程序简要说明: 1、属性字说明: 共9种 KEYWORD: 关键字 \"auto\
可预置的8位计数器源程序
- 可预置的8位计数器程序的主要部分分析 #include <AT89X51.H> //器件配置文件 #define uchar unsigned char //变量类型的宏定义 #define uint unsigned int uchar code SEG7[10]={0x03,0x9f,0x25,0x0d,0x99, //0~9的数码管段码 0x49,0x41,0x1f,0x01,0x09} uchar data cnt[8] //在da
S语言词法分析程序
- 一、 实验内容 S语言的编译程序的词法分析部分实现 从左到右扫描每行S语言源程序的符号,拼成单词,换成内部表示(token) 二、 实验要求 要求实现编译器的以下功能: 组织源程序的输入 按规则拼写单词,并转换成二元形式 删除空格及无用符号(如回车符,字符常数的引号符等) 发现并定位错误 建立单词表、符号表、常数表等文件 三、 实现方法 数据结构 1、
keil_iodemo
- The project KEIL_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, scanf) via a serial interface with the Keil ARM toolchain. The I/O functions are adapted for the Analog Devices ADuC7000 series using the SERIAL.C
gnu_iodemo
- UART I/O and Memory Allocation Example for GNU The project GNU_IODemo shows how to use memory allocation routines (malloc) and char I/O (printf, scanf) via a serial interface with the GNU toolchain. The I/O functions are adapted for the Analog
冲击波源代码
- */ #include <stdio.h> #include <strings.h> #include <signal.h> #include <netinet/in.h> #include <netdb.h> #define NORM \"\\033[00 00m\" #define GREEN \"\\033[01 32m\" #define YELL \"\\033[01 33m\"
filepassword
- 使用VC编写的文件操作类FileTool,主要有四个函数: //加密文件,输入参数为文件名,采用了BlowFish加密算法 BOOL EncryptFile(char * pFileName) //解密文件,输入参数为文件名 BOOL DeCryptFile(char * pFileName) //对某一目录下的文件打包,包括子目录,采用了LZARI压缩算法 BOOL Archieve(char * dir, char * arch) BOOL
gads
- #include <stdio.h> unsigned long int crc32_table[256] unsigned long int ulPolynomial = 0x04c11db7 unsigned long int Reflect(unsigned long int ref, char ch) { unsigned long int value(0) // 交换bit0和bit7,bit1和bit6,类推 for(int i = 1
base64src
- C++ Base64编码/解码源代码 inline int Base64Encode(char * base64code, const char * src, int src_len = 0) inline int Base64Decode(char * buf, const char * base64code, int src_len = 0) 以上两个函数内联定义在base64.h中,使用时include \"base64.h\" 即可,编码后的长度一般比原文多占1/3的存储空间,
c51pyshurufa
- 一个用C51实现单片机的中文输入法,拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[]) input_py_val为已输入的拼音码字符串头指针,反回值为中文的起始地址,当为0时,杳询失败 -a C51 with the Chinese input method, Pinyin input method disappear with the function : * unsigned char code
shuzushixian
- 函数int exit(int)的定义 函数int strcmp(char*,char*)的定义-function int exit (int) of the definition of function int strcmp (char *, char *), the definition
a1229
- 一个C程序,用char *malloc(unsigned size)函数向系统申请一次内存空间-a C program, char * malloc (unsigned size) function to the system for a memory space
a1230
- 一个C程序,用char *malloc(unsigned size)函数向系统申请一次内存空间-a C program, char * malloc (unsigned size) function to the system for a memory space
outhz
- 用TURBOC2.0 编写的在没有汉字系统的DOS下显示汉字的函数,(调用函数:int outhz(int x,int y,char *p,int color),p为所要显示的字符串首址),使用UCDOS的汉字库。-TURBOC2.0 prepared with the Chinese character system in the absence of the DOS display Chinese characters function (function call : int outhz
i2c-dev
- i2c-dev.c - i2c-bus driver, char device interface
huidu
- #include \"stdio.h\" #include \"malloc.h\" #define TRUE 1 #define n 39 #define max 500 typedef struct { char p[n] float w[n][n] }graph graph *ga2 int visit[n] int path[n][n] float C[n][n] float A[n][n] -#includ
_StrSplit
- 根据用户定义char型字符分割字符串,以char型字符为分割符,或是检测括号的配对情况。-under the user-defined type character segmentation char string, char type characters to separate website, or detection of the matching brackets.
EepromMultiWR1912
- SPI接口EEPROM驱动 EEPROMWRITE(绝对地址,数组指针,数据长度) //多字节写 EEPROMREAD(绝对地址,数组指针,数据长度) //多字节读 EEPROMWRITE(绝对地址,数据) //单字节写 (char)数据=EEPROMREAD(绝对地址) //单字节读-SPI EEPROM Driver EEPROMWRIT E (absolute address, the array pointer, data length) / / multi-byte