代码搜索:Allocation
找到约 5,034 项符合「Allocation」的源代码
代码结果 5,034
www.eeworm.com/read/122564/14683851
cpp 银行家算法.cpp
#include
#include
#define M 5 //总进程数
#define N 3 //总资源数
#define FALSE 0
#define TRUE 1
//---------------------------------defination------------------
www.eeworm.com/read/121586/14750458
cpp bank.cpp
#include "iostream.h"
#include "stdlib.h"
#include "stdio.h"
#define theSize 5
#define theKind 3
#define theValue 15
class banker
{
public:
int* re;
void newbanker(int size)
{
i
www.eeworm.com/read/120925/14782630
cpp yinhangjia.cpp
#include "iomanip.h"
#include "iostream.h"
int Resourse[3]={14,8,11};
int Available[3];
int Finish[5]={0,0,0,0,0};
int Claim[5][3]={8,6,4,4,3,3,10,1,3,3,3,3,5,4,6},Allocation[5][3];
int Needs[5]
www.eeworm.com/read/120776/14789615
txt 银行家算法程序.txt
#include
#define N 5
struct bank //定义数结构体
{char num[6]; //进程编号
int max[3]; //最大需求矩阵
int allocation[3]; //分配矩阵
www.eeworm.com/read/120383/14804529
txt 银行家算法程序.txt
我把程序弄下来了
是我同学写的,我不懂的
应该是没错的,我同学用VC运过
报告你就自己弄把
如果你会一点
最好改改
我的那份已经寄到老师那了
所以。。。。。。
#include
#define N 5
struct bank //定义数结构体
{char num[6];
www.eeworm.com/read/118666/14859707
c exp4.c
#include
//模拟实现
int main()
{
int NResourse=3;
int Available[NResourse],MAX[5][NResourse],Allocation[5][NResourse];
int Need[5][NResourse],Work[NResourse],Finish[5];
int i,j,k=
www.eeworm.com/read/118280/14878603
cpp 8-2.cpp
#include
class examp
{
int i,j;
public:
void init(int a,int b)
{i=a,j=b;}
int product()
{return i*j;}
};
main()
{
examp *ptr;
int i;
ptr=new examp[6];
if(!
www.eeworm.com/read/219254/14890386
cpp bank.cpp
#include
struct PCB{
char state;
int request;
int max;
int allocation;
};
void randomallocation(struct PCB p[],int av);
bool safecheck(struct PCB p[],int av);
void bankall
www.eeworm.com/read/217873/14946233
sgml memory.sgml
Memory
Memory allocation and debugging functions.
T
www.eeworm.com/read/116477/14968865
cpp 8-2.cpp
#include
class examp
{
int i,j;
public:
void init(int a,int b)
{i=a,j=b;}
int product()
{return i*j;}
};
main()
{
examp *ptr;
int i;
ptr=new examp[6];
if(!