代码搜索:管脚分配
找到约 5,895 项符合「管脚分配」的源代码
代码结果 5,895
www.eeworm.com/read/329948/12924946
c bo2-3.c
/* bo2-3.c 实现算法2.15、2.16的程序 (数据结构由c2-3.h定义) (3个) */
int Malloc(SLinkList space) /* 算法2.15 */
{ /* 若备用链表非空,则返回分配的结点下标(备用链表的第一个结点),否则返回0 */
int i=space[0].cur;
if(i) /* 备用链表非空 */
spac
www.eeworm.com/read/329948/12924962
c algo2-1.c
/* algo2-1.c 实现算法2.1的程序 */
#include"c1.h"
typedef int ElemType;
#include"c2-1.h" /* 采用线性表的动态分配顺序存储结构 */
#include"bo2-1.c" /* 可以使用bo2-1.c中的基本操作 */
Status equal(ElemType c1,ElemType c2)
{
www.eeworm.com/read/329948/12925227
h c9-6.h
/* c9-6.h 开放定址哈希表的存储结构 */
int hashsize[]={11,19,29,37}; /* 哈希表容量递增表,一个合适的素数序列 */
int m=0; /* 哈希表表长,全局变量 */
typedef struct
{
ElemType *elem; /* 数据元素存储基址,动态分配数组 */
int count; /* 当前数据元素个
www.eeworm.com/read/329948/12925539
h c9-6.h
/* c9-6.h 开放定址哈希表的存储结构 */
int hashsize[]={11,19,29,37}; /* 哈希表容量递增表,一个合适的素数序列 */
int m=0; /* 哈希表表长,全局变量 */
typedef struct
{
ElemType *elem; /* 数据元素存储基址,动态分配数组 */
int count; /* 当前数据元素个
www.eeworm.com/read/329948/12925676
h c3-3.h
/* c3-3.h 队列的顺序存储结构(可用于循环队列和非循环队列) */
#define MAXQSIZE 5 /* 最大队列长度(对于循环队列,最大队列长度要减1) */
typedef struct
{
QElemType *base; /* 初始化的动态分配存储空间 */
int front; /* 头指针,若队列不空,指向队列头元素 */
int r
www.eeworm.com/read/329651/12943230
cpp pagesys_full.cpp
//本程序用于模拟内存分页式分配管理
//同学们可以参考本程序代码,重点是理解思想,不能照抄!!!!!!!!
//注释\变量名\函数名\输出的提示信息,乃至语句都要自行重新编写!!!!!
#include "stdafx.h"
#include
#include
#include
#include
www.eeworm.com/read/141644/12992704
cpp algo2-1.cpp
// algo2-1.cpp 实现算法2.1的程序
#include"c1.h"
typedef int ElemType;
#include"c2-1.h" // 采用线性表的动态分配顺序存储结构
#include"bo2-1.cpp" // 可以使用bo2-1.cpp中的基本操作
Status equal(ElemType c1,ElemType c2)
{ //
www.eeworm.com/read/141644/12992771
cpp bo2-2.cpp
// bo2-2.cpp 单链表线性表(存储结构由c2-2.h定义)的基本操作(12个)
Status InitList(LinkList &L)
{ // 操作结果:构造一个空的线性表L
L=(LinkList)malloc(sizeof(LNode)); // 产生头结点,并使L指向此头结点
if(!L) // 存储分配失败
exit(OVERFLOW);
www.eeworm.com/read/141644/12993099
cpp bo4-2.cpp
// bo4-2.cpp 串采用堆分配存储结构(由c4-2.h定义)的基本操作(15个)
// 包括算法4.1、4.4
Status StrAssign(HString &T,char *chars)
{ // 生成一个其值等于串常量chars的串T
int i,j;
if(T.ch)
free(T.ch); // 释放T原有空间
i=strlen
www.eeworm.com/read/141644/12993134
h c9-6.h
// c9-6.h 开放定址哈希表的存储结构
int hashsize[]={11,19,29,37}; // 哈希表容量递增表,一个合适的素数序列
int m=0; // 哈希表表长,全局变量
struct HashTable
{
ElemType *elem; // 数据元素存储基址,动态分配数组
int count; // 当前数据元素个数
int