代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/189063/8492142
c memory.c
/*----------------------------------------------------------------------------*/
/* memory.c - memory management routines for sga code */
/*----------------------------------
www.eeworm.com/read/290204/8496847
c netn.c
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
int netn(n,eps,t,h,x,k,f)
int n,k;
double eps,t,h,x[];
void (*f)();
{ extern int rgauss();
int i,j,l;
doubl
www.eeworm.com/read/290204/8496955
c grad.c
#include "math.h"
#include "stdlib.h"
#include "stdio.h"
void grad(n,a,b,eps,x)
int n;
double a[],b[],x[],eps;
{ int i,j,k;
double *p,*r,*s,*q,alpha,beta,d,e;
p=malloc(
www.eeworm.com/read/290204/8497039
c hamg.c
#include "stdlib.h"
#include "math.h"
void hamg(t,h,n,y,eps,k,z,f)
void (*f)();
int n,k;
double t,h,eps,y[],z[];
{ void rkt5();
int i,j,m;
double a,q,*b,*d,*u,*v,*w,*g
www.eeworm.com/read/290204/8497047
c rkt1.c
#include "stdlib.h"
void rkt1(t,y,n,h,k,z,f)
void (*f)();
int n,k;
double t,h,y[],z[];
{ int i,j,l;
double a[4],tt,*b,*d;
b=malloc(n*sizeof(double));
d=malloc(n*size
www.eeworm.com/read/290204/8497050
c rkt2.c
#include "stdlib.h"
#include "math.h"
void rkt2(t,h,y,n,eps,f)
void (*f)();
int n;
double t,h,eps,y[];
{ int m,i,j,k;
double hh,p,dt,x,tt,q,a[4],*g,*b,*c,*d,*e;
g=mall
www.eeworm.com/read/290204/8497060
c elr2.c
#include "stdlib.h"
#include "math.h"
void elr2(t,h,y,n,eps,f)
void (*f)();
int n;
double t,h,eps,y[];
{ int i,j,m;
double hh,p,x,q,*a,*b,*c,*d;
a=malloc(n*sizeof(doub
www.eeworm.com/read/188596/8526048
c 152.c
/*152
Accepted 83 ms 234 kb
*/
#include
#include
int ShellSort(unsigned long *l[],int n)
{
unsigned long *t;
int i, j, k, h, q, *ll;
ll = (int *)malloc(sizeof(i
www.eeworm.com/read/188503/8535226
c matteblend.flt.c
/*
* matteblend - reads three frame-interlaced YUV4MPEG streams from stdin
* and blends the second over the first using the third's
* luminance channel as a matte
*
*
www.eeworm.com/read/289579/8542083
txt 2_4.txt
merge(int a[],int b[],int c[])
/*让数组的第一个元素存放数组中元素的个数*/
{
int i=1,j=1,k=1;
c[0]=0;
while(i