代码搜索:Allocation
找到约 5,034 项符合「Allocation」的源代码
代码结果 5,034
www.eeworm.com/read/398532/7941128
cpp wyf.cpp
#include
#include "windows.h"
#define M 5
#define N 3
#define FALSE 0
#define TRUE 1
www.eeworm.com/read/197268/8007671
hh allocator.hh
/*---------------------------------------------------------------------------*/
// Baseline Wavelet Transform Coder Construction Kit
//
// Geoff Davis
// gdavis@cs.dartmouth.edu
// http://www.cs.dartm
www.eeworm.com/read/195907/8124104
hh allocator.hh
/*---------------------------------------------------------------------------*/
// Baseline Wavelet Transform Coder Construction Kit
//
// Geoff Davis
// gdavis@cs.dartmouth.edu
// http://www.cs.dartm
www.eeworm.com/read/296068/8125152
c mem2.c
/*
** 2007 August 15
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness
www.eeworm.com/read/295759/8141921
cpp main.cpp
#include
using namespace std;
#define MAXPROCESS 50 /*最大进程数*/
#define MAXRESOURCE 100 /*最大资源数*/
int AVAILABLE[MAXRESOURCE];
www.eeworm.com/read/146227/12663020
txt 银行家算法 2.txt
实验二:银行家算法
一、目的和要求
银行家算法是避免死锁的一种重要方法,本实验要求用高级语言编写和调试一个简单的银行家算法程序。加深了解有关资源申请、避免死锁等概念,并体会和了解死锁和避免死锁的具体实施方法。
二、实验内容
1.设计进程对各类资源最大申请表示及初值确定。
2.设定系统提供资源初始状况。
3.设定每次某个进程对各类资源的申请表示。
4.编制程序,依据银 ...
www.eeworm.com/read/143895/12831405
cpp banker.cpp
#include "iostream.h"
#include "stdlib.h"
#define FALSE 0
#define TRUE 1
#define M 5 //总进程数
#define N 3 //总资源数
//M个进程对N类资源最大资源需求量
int MAX[M][N]={{7,5,3},{3,2,2},{9,0,2},{2,2,2},{4,3,3
www.eeworm.com/read/330545/12882275
cpp yinhang.cpp
// yinhang.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include
using namespace std;
#define I 50 /*最大进程数*/
#define J 100 /*最大资源数*/
#define False 0
#define True 1
www.eeworm.com/read/244067/12894386
txt 定义变尺寸矢量和数组.txt
double * vector(int nl,int nh)
{
/* allocate the array arranged with one row */
/* {IN} nl : the begin number of the array*/
/* {IN} nh : the end number of the array*/
/* {OUT} double * : the poi
www.eeworm.com/read/330219/12906924
cpp ch9_11.cpp
//**********************
//** ch9_11.cpp **
//**********************
#include
bool CircleArea()
{
double* pd=new double;
if(!pd){
cout