代码搜索:malloc

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

代码结果 10,000
www.eeworm.com/read/456386/7350095

c euler.c

#include "stdio.h" #include "stdlib.h" #include int Func(y,d) double y[],d[]; { d[0]=y[1]; /*y0'=y1*/ d[1]=-y[0]; /*y1'=y0*/ d[2]=-y[2]; /*y2'=y2*/ return(1); } void E
www.eeworm.com/read/456386/7350102

c grkt10.c

#include "stdio.h" #include "stdlib.h" void RKT(t,y,n,h,k,z) int n; /*微分方程组中方程的个数,也是未知函数的个数*/ int k; /*积分的步数(包括起始点这一步)*/ double t; /*积分的起始点t0*/ double h; /*积分的步长*/ double y[]; /
www.eeworm.com/read/454932/7381601

cpp algo6-1.cpp

// algo6-1.cpp 求赫夫曼编码。实现算法6.12的程序 #include"c1.h" #include"c6-7.h" int min(HuffmanTree t,int i) { // 函数void select()调用 int j,flag; unsigned int k=UINT_MAX; // 取k为不小于可能的值 for(j=1;
www.eeworm.com/read/454633/7386376

cpp algo0612.cpp

void HuffmanCoding(HuffmanTree &HT, HuffmanCode &HC, int *w, int n) { // 算法6.12 // w存放n个字符的权值(均>0),构造哈夫曼树HT, // 并求出n个字符的哈夫曼编码HC int i, j, m, s1, s2, start; char *cd; unsigned int c,
www.eeworm.com/read/454425/7391294

cpp k-means.cpp

#include #include #define TRUE 1 #define FALSE 0 int N;//数据个数 int K;//集合个数 int * CenterIndex;//初始化质心数组的索引 double * Center;//质心集合 double * CenterCo
www.eeworm.com/read/452217/7445049

c memory.c

/*----------------------------------------------------------------------------*/ /* memory.c - memory management routines for sga code */ /*----------------------------------
www.eeworm.com/read/452050/7448522

c 1895740_ac_1562ms_72k.c

# include # include typedef struct node { long big; struct node *next; }B; B *top1, *p1, *q1; typedef struct Node { long small; struct Node *next; }S; S *top2,
www.eeworm.com/read/452050/7448523

c 1895731_ac_1468ms_72k.c

# include # include typedef struct node { long big; struct node *next; }B; B *top1, *p1, *q1; typedef struct Node { long small; struct Node *next; }S; S *top2,
www.eeworm.com/read/206731/7456737

c memory.c

/*----------------------------------------------------------------------------*/ /* memory.c - memory management routines for sga code */ /*----------------------------------
www.eeworm.com/read/451646/7458791

c hjfgf.c

#include "stdio.h" #include "stdlib.h" #include "math.h" double objf(double x[]) {double ff; ff=8*pow(x[0],3)-2*x[0]*x[0]-7*x[0]+3; return(ff); } void jtf(double x0[],double h0,double s[],in