代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/133772/5899796
c dlmalloc-merged.c
/* ---------- To make a malloc.h, start cutting here ------------ */
/*
A version of malloc/free/realloc written by Doug Lea and released to the
public domain. Send questions/comments/comp
www.eeworm.com/read/131315/5938604
c strdup.c
char *
strdup(s)
char *s;
{
char *result = (char*)malloc(strlen(s) + 1);
if (result == (char*)0)
return (char*)0;
strcpy(result, s);
return result;
}
www.eeworm.com/read/131315/5938776
texi mmalloc.texi
\input texinfo @c -*- Texinfo -*-
@setfilename mmalloc.info
@ifinfo
@format
START-INFO-DIR-ENTRY
* Mmalloc: (mmalloc). The GNU mapped-malloc package.
END-INFO-DIR-E
www.eeworm.com/read/131315/5940509
c strdup.c
char *
strdup(s)
char *s;
{
char *result = (char*)malloc(strlen(s) + 1);
if (result == (char*)0)
return (char*)0;
strcpy(result, s);
return result;
}
www.eeworm.com/read/127438/6005070
tex memory.tex
\startmanpage
\mantitle{Memory}{tex}{10/7/2002}
\manname{Memory}
--- Memory Management Routines
\subhead{Rules for memory management}
\par
MPICH explicity prohibits the appearence of {\tt malloc}, {\
www.eeworm.com/read/124347/6052156
c mallocr.c
#ifdef MALLOC_PROVIDED
int _dummy_mallocr = 1;
#else
/* ---------- To make a malloc.h, start cutting here ------------ */
/*
A version of malloc/free/realloc written by Doug Lea and released to th
www.eeworm.com/read/106385/6194073
c dlmalloc-newlib.c
/* ---------- To make a malloc.h, start cutting here ------------ */
/*
A version of malloc/free/realloc written by Doug Lea and released to the
public domain. Send questions/comments/complain
www.eeworm.com/read/106385/6194076
c dlmalloc-merged.c
/* ---------- To make a malloc.h, start cutting here ------------ */
/*
A version of malloc/free/realloc written by Doug Lea and released to the
public domain. Send questions/comments/complain
www.eeworm.com/read/340187/6302624
c 4rinv.c
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
int rinv(a,n)
int n;
double a[];
{ int *is,*js,i,j,k,l,u,v;
double d,p;
is=malloc(n*sizeof(int));
js=mallo
www.eeworm.com/read/492904/6413443
c 4rinv.c
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
int rinv(a,n)
int n;
double a[];
{ int *is,*js,i,j,k,l,u,v;
double d,p;
is=malloc(n*sizeof(int));
js=mallo