代码搜索结果
找到约 9,168 项符合
PCB 的代码
in_pcb.c
/* in_pcb.c - internet protocol control block routines */
/* Copyright 1984-1996 Wind River Systems, Inc. */
#include "copyright_wrs.h"
/*
* Copyright (c) 1982, 1986, 1991, 1993, 1995
* The Regent
pcb.cpp
#include "stdafx.h"
#include "PCB.h"
#include
#include
PCB::PCB()
{
name = new char[80];
state = 0;
submitTime = 0;
priority = 0;
runTime = 0;
beginRunTime =
pcb.h
#if !defined(AFX_PCB_H__C18FF5E7_98D7_4B58_AAF1_F2D249727009__INCLUDED_)
#define AFX_PCB_H__C18FF5E7_98D7_4B58_AAF1_F2D249727009__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 10
pcb.cpp
#include "stdafx.h"
#include "PCB.h"
#include
PCB::PCB()
{
resLen = 0;
name = new char[80];
Max = 0;
Alloc = 0;
Need = 0;
nextPCB = 0;
prePCB = 0;
}
PCB::~PCB()
{
d
pcb.txt
P1,3,3,5,0,5
P2,5,3,8,1,2
P3,2,1,2,0,4
P4,4,0,7,0,5
P5,1,2,3,2,5
P6,3,2,6,2,9
pcb.h
#if !defined(AFX_PCB_H__7709B055_B275_4D87_BD07_FAD8EB7499AF__INCLUDED_)
#define AFX_PCB_H__7709B055_B275_4D87_BD07_FAD8EB7499AF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 10
pcb.cpp
#include "stdafx.h"
#include "PCB.h"
PCB::PCB(char *n, int l)
{
name = n;
len = l;
}
PCB::~PCB()
{
}
pcb.h
#if !defined(AFX_PCB_H__0AF14857_3123_44C9_969F_D4BEBE2D247D__INCLUDED_)
#define AFX_PCB_H__0AF14857_3123_44C9_969F_D4BEBE2D247D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 10