代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/11139/204487
c driver.c
#include
int main() {
nesc_app_t na;
na.numVariables = 1;
na.variableNames = (char**)malloc(sizeof(char*));
na.variableTypes = (char**)malloc(sizeof(char*));
na.variableAr
www.eeworm.com/read/16987/706126
cpp 例9_7.cpp
#include
#include
void main()
{ double*p;
p=(double*)malloc(sizeof(double));
if(p==NULL){printf("malloc error!\n"); exit(0);}
*p=78.786;
printf("*p=%f\n",*p);
www.eeworm.com/read/491640/1188647
h tomsmocompmacros.h
#include
#include
#include
#include
#define USE_FOR_DSCALER
#define MyMemCopy pMyMemcpy
// Define a few macros for CPU dependent instructions.
// I suspec
www.eeworm.com/read/486215/1253072
cpp henon.cpp
#include
#include "mex.h"
#ifdef MATLAB_MEX_FILE
#undef malloc
#undef realloc
#undef free
#define malloc mxMalloc
#define realloc mxRealloc
#define free mxFree
#define printf mexPrintf
#endi
www.eeworm.com/read/486215/1253073
cpp tentmap.cpp
#include
#include "mex.h"
#ifdef MATLAB_MEX_FILE
#undef malloc
#undef realloc
#undef free
#define malloc mxMalloc
#define realloc mxRealloc
#define free mxFree
#define printf mexPrintf
#endi
www.eeworm.com/read/486215/1253074
cpp baker.cpp
#include
#include "mex.h"
#ifdef MATLAB_MEX_FILE
#undef malloc
#undef realloc
#undef free
#define malloc mxMalloc
#define realloc mxRealloc
#define free mxFree
#define printf mexPrintf
#endi
www.eeworm.com/read/486215/1253075
cpp henonn.cpp
#include
#include "mex.h"
#ifdef MATLAB_MEX_FILE
#undef malloc
#undef realloc
#undef free
#define malloc mxMalloc
#define realloc mxRealloc
#define free mxFree
#define printf mexPrintf
#endi
www.eeworm.com/read/294069/3920556
cpp henon.cpp
#include
#include "mex.h"
#ifdef MATLAB_MEX_FILE
#undef malloc
#undef realloc
#undef free
#define malloc mxMalloc
#define realloc mxRealloc
#define free mxFree
#define printf mexPrintf
#endi
www.eeworm.com/read/294069/3920557
cpp tentmap.cpp
#include
#include "mex.h"
#ifdef MATLAB_MEX_FILE
#undef malloc
#undef realloc
#undef free
#define malloc mxMalloc
#define realloc mxRealloc
#define free mxFree
#define printf mexPrintf
#endi
www.eeworm.com/read/294069/3920558
cpp baker.cpp
#include
#include "mex.h"
#ifdef MATLAB_MEX_FILE
#undef malloc
#undef realloc
#undef free
#define malloc mxMalloc
#define realloc mxRealloc
#define free mxFree
#define printf mexPrintf
#endi