代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/387835/8651587
h alloc.h
www.eeworm.com/read/431751/8656044
hh alloc.hh
/*
Memory allocation wrapper class
Copyright (C) 2000-2005 Jussi Laako
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Publ
www.eeworm.com/read/286262/8779979
c alloc.c
/* $Header: /nw2/tony/src/stevie/src/RCS/alloc.c,v 1.5 89/08/06 09:49:22 tony Exp $
*
* Various allocation routines and routines returning information about
* allocated objects.
*/
#include
www.eeworm.com/read/429611/8799311
c alloc.c
/* memory allocation routines
* Copyright 1991 Phil Karn, KA9Q
*
* Adapted from alloc routine in K&R; memory statistics and interrupt
* protection added for use with net package. Must be used
www.eeworm.com/read/285689/8822783
c alloc.c
www.eeworm.com/read/284911/8883686
h alloc.h
/* ---- memory allocation ---- */
#include
#include
int *alloc_1d_int(int n1);
void free_1d_int(int *i);
double *alloc_1d_double(int n1);
void free_1d_double(double *d);
int *
www.eeworm.com/read/284911/8883709
h alloc.h
/* ---- memory allocation ---- */
#include
#include
int *alloc_1d_int(int n1);
void free_1d_int(int *i);
double *alloc_1d_double(int n1);
void free_1d_double(double *d);
int *
www.eeworm.com/read/284911/8883723
c alloc.c
/* ---- memory allocation ---- */
#include "alloc.h"
#define alloc_error_check(p) { \
if ((p) == NULL) { \
fprintf(stderr, "Allocation Failure!\n"); \
exit(1); \
} \
}
int
www.eeworm.com/read/384270/8883845
h alloc.h
/* alloc.h
*
* Header for alloc.c
*
* The type alloc_handle_t provides an opaque reference to the
* alloc pool - only the alloc routines know its structure.
*/
typedef
struct { int dummy; }
all
www.eeworm.com/read/384270/8883846
c alloc.c
/* alloc.c
*
* A simple fast memory allocation package.
*
* AllocInit() - create an alloc pool, returns the old pool handle.
* Alloc() - allocate memory.
* AllocReset() - reset the c