代码搜索:Allocation
找到约 5,034 项符合「Allocation」的源代码
代码结果 5,034
www.eeworm.com/read/161513/5551592
c linktext.c
/* **********************************************************************
*
*
*
* BBN Technologies, a Verizon Company
* 10 Moulton Street
* Cambridge, MA 02138
* (617) 873-800
www.eeworm.com/read/161438/5553155
cpp cus_newd.cpp
#include
#include
class loc
{
int longitude, latitude;
public:
loc(void) {} // Used to construct temporaries
loc (int lg, int lt)
www.eeworm.com/read/161438/5553811
cpp new_far.cpp
#include
void main(void)
{
char far *pointer;
do
{
pointer = new far char[10000];
if (pointer)
cout
www.eeworm.com/read/161438/5553857
cpp no_free.cpp
#include
void main(void)
{
char *pointer;
do
{
pointer = new char[10000];
if (pointer)
cout
www.eeworm.com/read/471880/6883675
h fdtd-alloc.h
#ifndef _FDTD_ALLOC_H
#define _FDTD_ALLOC_H
#include
#include
/* memory allocation macros */
#define ALLOC_1D(name,nx,type) \
name = (ty
www.eeworm.com/read/294489/8222840
txt example.txt
C:\bbn\src\filedisk\exe\Debug>filedisk
Usage:
filedisk /mount devicenumber filename [size[k|M]] driveletter
filedisk /umount driveletter
Example:
filedisk /mount 0 c:\temp\filedisk.img 8M f:
www.eeworm.com/read/294149/8250178
makefile
ALLOCOBSJ = dlfusc.o allocation.o dlamc.o dlpusc.o ulpusc.o
CC = gcc -g
LD = gcc -g
CFLAGS =
analyze: analyze.o
$(LD) -o $@ analyze.o
allocation: dlfusc.o allocation.o dlamc.o dlpusc.o
$(LD) -o $@
www.eeworm.com/read/294065/8255850
lst chap17.lst
listing 1
#include
#include
float *get_mem(void)
{
float *p;
p = calloc(100, sizeof(float));
if(!p) {
printf("Allocation Error\n");
exit(1);
}
ret
www.eeworm.com/read/173278/9663843
h heads.h
enum ErrorType{InvalidArraySize = 0,MemoryAllocationError,IndexOutOfRange};
char *errorMsg[] = {"Invalid Array Size","Meomory Allocation Error",
"Index Out Of Range"};
www.eeworm.com/read/173132/9672873
lst chap17.lst
listing 1
#include
#include
float *get_mem(void)
{
float *p;
p = calloc(100, sizeof(float));
if(!p) {
printf("Allocation Error\n");
exit(1);
}
ret