代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/150221/5694170
cpp chaosys.cpp
// mex -I. -O chaosys.cpp
#include
#include "mex.h"
#ifdef MATLAB_MEX_FILE
#undef malloc
#undef realloc
#undef free
#define malloc mxMalloc
#define realloc mxRealloc
#define free mxFree
#def
www.eeworm.com/read/136821/5851801
c fft-test.c
/* FFT and MDCT tests */
#include "dsputil.h"
#include
#include
#include
int mm_flags;
void *av_malloc(int size)
{
void *ptr;
ptr = malloc(size);
return
www.eeworm.com/read/124910/6036963
makefile
ifeq ($(subdir),csu)
sysdep_routines += errno-loc
endif
ifeq ($(subdir),db2)
CPPFLAGS += -DHAVE_LLSEEK=1
endif
ifeq ($(subdir),malloc)
CFLAGS-malloc.c = -DMORECORE_CLEARS=2
endif
ifeq ($(subdir),mi
www.eeworm.com/read/264807/11300737
cpp stacktree.cpp
#include"StackTree.h"
int InitStack(SqStack &s){
s.base=(BiTree *)malloc(sizeof(struct BtNode));
if(!s.base){
printf("s.base malloc error in func InitStack\n");
exit(1);
}
s.top=s.base;
www.eeworm.com/read/220825/14787069
c os.c
#include
#include
#include
#include
#define get(type) (type *)malloc(sizeof(type))
typedef struct ufd UFD;
struct ufd
{
char filename[10];//文件名
i
www.eeworm.com/read/218565/14915402
cpp shm_test_server.cpp
#include
#include "ace/MMAP_Memory_Pool.h"
#include "ace/Shared_Memory_Pool.h"
#include
#include "ace/Malloc.h"
#include "ace/Malloc_T.h"
using namespace std;
www.eeworm.com/read/218565/14915404
cpp shm_test_client.cpp
#include
#include "ace/MMAP_Memory_Pool.h"
#include "ace/Shared_Memory_Pool.h"
#include
#include "ace/Malloc.h"
#include "ace/Malloc_T.h"
using namespace std;
www.eeworm.com/read/486215/1253076
cpp chaosys.cpp
// mex -I. -O chaosys.cpp
#include
#include "mex.h"
#ifdef MATLAB_MEX_FILE
#undef malloc
#undef realloc
#undef free
#define malloc mxMalloc
#define realloc mxRealloc
#define free mxFree
#def
www.eeworm.com/read/240162/4579547
c placement3.c
typedef __SIZE_TYPE__ size_t;
extern "C" void *malloc (size_t);
int i;
struct S {
S(int) {
throw 3;
}
void *operator new(size_t s, int) {
++i;
return malloc (s);
}
void op
www.eeworm.com/read/233448/4671885
c placement3.c
typedef __SIZE_TYPE__ size_t;
extern "C" void *malloc (size_t);
int i;
struct S {
S(int) {
throw 3;
}
void *operator new(size_t s, int) {
++i;
return malloc (s);
}
void op