代码搜索:Allocation
找到约 5,034 项符合「Allocation」的源代码
代码结果 5,034
www.eeworm.com/read/111220/15516734
c dynamic.c
# include
# include
# define NUM 10
int main()
{
char *str[NUM]; /* 定义一个字符性的指针数组 */
int t;
/* 为数组中的每个指针分配内存 */
for(t=0; t
www.eeworm.com/read/110573/15529175
txt 44.txt
#include
struct YH
{
int Allocation[5][3];
int Need[5][3];
int Available[3];
int G[3][3];
};int Request[3];
int u;
int Work[3];
struct YH st;
void W(int i)
{int j,A=0,B=0;
www.eeworm.com/read/110573/15529178
c 44.c
#include
struct YH
{
int Allocation[5][3];
int Need[5][3];
int Available[3];
int G[3][3];
};
int u,B=0,A=0;
int Work[3];
int Request[3];
struct YH st;
void W(int i) //系统安
www.eeworm.com/read/110573/15529180
c banker.c
#define n 5
#define m 3
int safe(int * Work);
{
int Finish[]={0,0,0,0,0};
int sum=0;
int count=0;
int i,j;
while(sum!=n)
{
for(i=0;i
www.eeworm.com/read/110229/15538530
log scandisk.log
Microsoft ScanDisk
Log file generated at 04:44PM on Monday, June 09, 2003.
ScanDisk checked drive C for problems, with the following results:
Directory structure
ScanDisk did no
www.eeworm.com/read/109686/15552312
cpp bunker.cpp
#include
const int m=3,n=5;//m:资源种类数,n:进程数。
class BUNKer
{
public:
void input(void);
int Request(int Requestbuf[m],int i);
private:
int Available[m];//可利用资源向量。
int Max[n][m];/
www.eeworm.com/read/109003/15568889
c dynamic.c
# include
# include
# define NUM 10
int main()
{
char *str[NUM]; /* 定义一个字符性的指针数组 */
int t;
/* 为数组中的每个指针分配内存 */
for(t=0; t
www.eeworm.com/read/106679/15628018
txt rfc2471.txt
Network Working Group R. Hinden
Request for Comments: 2471 Nokia
Obsoletes: 1897 R. F
www.eeworm.com/read/101303/15838375
txt 银行家算法.txt
#include "string.h"
#include "iostream.h"
#define M 5
#define N 3
#define FALSE 0
#define TRUE 1
int MAX[M][N]={{7,5,3},{3,2,2},{9,0,2},{2,2,2},{4,3,3}};
int AVAILABLE[N]={1
www.eeworm.com/read/100594/15870244
h cmalloc.h
/***
*malloc.h - declarations and definitions for memory allocation functions
*Purpose:
* Contains the function declarations for memory allocation functions.
*
****/
#pragma cmalloc
#include