代码搜索:malloc

找到约 10,000 项符合「malloc」的源代码

代码结果 10,000
www.eeworm.com/read/471340/6890191

c svm-train.c

#include #include #include #include #include #include "svm.h" #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) void print_null(const char *s
www.eeworm.com/read/293427/8294931

c cinv.c

#include "stdlib.h" #include "stdio.h" int cinv(n,ar,ai) int n; double ar[],ai[]; { int *is,*js,i,j,k,l,u,v,w; double p,q,s,t,d,b; is=malloc(n*sizeof(int)); js=malloc
www.eeworm.com/read/368255/9703719

c stack.c

// file: stack.c #include "stack.h" #include "malloc.h" #include "string.h" // 构造一个空栈 bool InitStack(SqStack *S, uint8 elemsize) { S->base = (byte *)malloc(STACK_INIT_SIZE* elemsize);
www.eeworm.com/read/368254/9703733

c stack.c

// file: stack.c #include "stack.h" #include "malloc.h" // 构造一个空栈 bool InitStack(SqStack *S) { S->base = (SELEM_TYPE *)malloc(STACK_INIT_SIZE* sizeof(SELEM_TYPE)); if (!S->base)
www.eeworm.com/read/366932/9791650

c 4cinv.c

#include "stdlib.h" #include "stdio.h" int cinv(ar,ai,n) int n; double ar[],ai[]; { int *is,*js,i,j,k,l,u,v,w; double p,q,s,t,d,b; is=malloc(n*sizeof(int)); js=malloc
www.eeworm.com/read/267227/11189652

c 4cinv.c

#include "stdlib.h" #include "stdio.h" int cinv(ar,ai,n) int n; double ar[],ai[]; { int *is,*js,i,j,k,l,u,v,w; double p,q,s,t,d,b; is=malloc(n*sizeof(int)); js=malloc
www.eeworm.com/read/412035/11216975

c utils.c

#include #include #include #include #include #include "utils.h" void *s_malloc(size_t size) { int retry = 0; void *ret; do { ret = malloc(siz
www.eeworm.com/read/335971/12486644

c 4cinv.c

#include "stdlib.h" #include "stdio.h" int cinv(ar,ai,n) int n; double ar[],ai[]; { int *is,*js,i,j,k,l,u,v,w; double p,q,s,t,d,b; is=malloc(n*sizeof(int)); js=malloc
www.eeworm.com/read/335663/12509546

c 4cinv.c

#include "stdlib.h" #include "stdio.h" int cinv(ar,ai,n) int n; double ar[],ai[]; { int *is,*js,i,j,k,l,u,v,w; double p,q,s,t,d,b; is=malloc(n*sizeof(int)); js=malloc
www.eeworm.com/read/334325/12611264

c cpudetect.c

#include "config.h" #include "cpudetect.h" #include "mp_msg.h" CpuCaps gCpuCaps; #ifdef HAVE_MALLOC_H #include #endif #include #if defined(ARCH_X86) || defined(ARCH_X86_64) #