代码搜索:malloc

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

代码结果 10,000
www.eeworm.com/read/386137/8763077

cpp 统计数字.cpp

#include #include #include void main() { int *ptr; int num,j,i,n; ptr=(int *)malloc(10*sizeof(int)); for (i=0;i
www.eeworm.com/read/286473/8763149

m 用matlab做的kalman滤波程序.m

clear N=200; w(1)=0; w=randn(1,N) x(1)=0; a=1; for k=2:N; x(k)=a*x(k-1)+w(k-1); end V=randn(1,N); q1=std(V); Rvv=q1.^2; q2=std(x); Rxx=q2.^2; q3=std(w); Rww=q3.^2; c=0.2; Y=c*x+V;
www.eeworm.com/read/430149/8764187

c ch07_20.c

#include int main(void) { int i; int** ppiArrVal=(int**)malloc(4*sizeof(int*)); printf("ppiArrVal
www.eeworm.com/read/286276/8774496

txt k均值算法(c).txt

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

c fcm_c.c

//模糊聚类分析法 #include #include #include int N;//样本数 int M;//特征数 double Q//置信水平 double **DATA//样本数据 double *P//平均值矩阵 double *P1//标准差矩阵 double **DATA2 double **
www.eeworm.com/read/286087/8790754

c realloc.c

/* Work around bug on some systems where realloc (NULL, 0) fails. Copyright (C) 1997 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it un
www.eeworm.com/read/385664/8793010

txt changelog.txt

2004-02-16 Paul Sokolovsky * copy.c (SetupCopy): Use _T() for strings. * copy.c (SetupCopy): Malloc buffers for TCHAR's, not bytes. * history.c (add_before_
www.eeworm.com/read/429696/8793724

c rls.c

#include "stdio.h" #include "math.h" #include #define pi 3.1415926 #define delta 0.001 #define Lambda 0.98 double uniform(double a,double b,long int *seed) { double t; *seed=2
www.eeworm.com/read/384841/8839164

c algo6-1.c

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

h graph4.h

//图类结构体定义与相关操作graph4.h typedef struct {char *data; int *visited; float **edge; int max,size; }Graph; //初始化图 void SetGraph(Graph *G,int n) {int i,j; G->data=new char[n]; G->visited=new