代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/444799/7606476
h alloc.h
/*
** Definitions for a less error-prone memory allocator.
*/
#include
#define malloc DON'T CALL malloc DIRECTLY!
#define MALLOC(num,type) (type *)alloc( (num) * sizeof(type) )
ex
www.eeworm.com/read/444799/7606479
c alloc.c
/*
** Implementation for a less error-prone memory allocator.
*/
#include
#include "alloc.h"
#undef malloc
void *
alloc( size_t size )
{
void *new_mem;
/*
** Ask for the re
www.eeworm.com/read/444091/7618124
h alloc.h
/*
** Definitions for a less error-prone memory allocator.
*/
#include
#define malloc DON'T CALL malloc DIRECTLY!
#define MALLOC(num,type) (type *)alloc( (num) * sizeof(type) )
ex
www.eeworm.com/read/444091/7618125
c alloc.c
/*
** Implementation for a less error-prone memory allocator.
*/
#include
#include "alloc.h"
#undef malloc
void *
alloc( size_t size )
{
void *new_mem;
/*
** Ask for the re
www.eeworm.com/read/439966/7696472
h alloc.h
/* ALLOC.H - Interface to memory allocation procedure. */
/* Copyright (c) 1996 by Radford M. Neal
*
* Permission is granted for anyone to copy, use, modify, or distribute this
* program and acco
www.eeworm.com/read/439966/7696475
cpp alloc.cpp
/* ALLOC.C - Routine to allocate memory and complain if it doesn't work. */
/* Copyright (c) 1996 by Radford M. Neal
*
* Permission is granted for anyone to copy, use, modify, or distribute this
www.eeworm.com/read/439966/7696499
sbr alloc.sbr
www.eeworm.com/read/439966/7696500
obj alloc.obj
www.eeworm.com/read/439360/7711583
o alloc.o
www.eeworm.com/read/439360/7711585
h alloc.h
float **alloc_floatmatrix(int cols, int rows);
char **alloc_charmatrix(int cols, int rows);
void free_matrix(void *m);