代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/315631/13539376
c heapwalk.c
#include
#include
void main(void)
{
char *buffer1, *buffer2, *buffer3;
struct heapinfo node = { NULL, 0, 0};
buffer1 = malloc(100);
buffer2 = malloc(200);
www.eeworm.com/read/314425/13567776
h os_memory.h
#define U16 uchar
#define L16 char
#define NUM 32
#define ALL NUM*100
#define ERR -1
#define FREE 0
#define FULL 1
typedef struct MEM
{//uchar xdata *p; //管理表指向的内存首地址
www.eeworm.com/read/311774/13626235
c tshm.c
#include "apue.h"
#include
#define ARRAY_SIZE 40000
#define MALLOC_SIZE 100000
#define SHM_SIZE 100000
#define SHM_MODE 0600 /* user read/write */
char array[ARRAY_SIZE]; /* uninitialize
www.eeworm.com/read/309215/13678945
c 第二章实例源程序allocate.c
/*
FILE: ALLOCATE.C
*/
#define PRIVATE static /* Used to hide identifiers from BIND */
#define BLKSIZ 80 /* Size of allocation block */
#define STKSIZ 1000 /* Bytes reserved for stack *
www.eeworm.com/read/309167/13680417
patch dmemory.patch
132c132
< buf = (double *) SUPERLU_MALLOC(n * sizeof(double));
---
> buf = (double *) SUPERLU_MALLOC( SUPERLU_MAX(1, n) * sizeof(double) );
141c141
< buf = (double *) SUPERLU_MALLOC(n *
www.eeworm.com/read/308442/13701114
c heapwalk.c
#include
#include
void main(void)
{
char *buffer1, *buffer2, *buffer3;
struct heapinfo node = { NULL, 0, 0};
buffer1 = malloc(100);
buffer2 = malloc(200);
www.eeworm.com/read/308230/13705683
c misc.c
/*
libdrcom - Library for communicating with DrCOM 2133 Broadband Access Server
Copyright (C) 2005 William Poetra Yoga Hadisoeseno
This program is free software; you can
www.eeworm.com/read/304348/13795853
31 fig15.31
#include "apue.h"
#include
#define ARRAY_SIZE 40000
#define MALLOC_SIZE 100000
#define SHM_SIZE 100000
#define SHM_MODE 0600 /* user read/write */
char array[ARRAY_SIZE]; /* uninitialize
www.eeworm.com/read/304348/13796137
c tshm.c
#include "apue.h"
#include
#define ARRAY_SIZE 40000
#define MALLOC_SIZE 100000
#define SHM_SIZE 100000
#define SHM_MODE 0600 /* user read/write */
char array[ARRAY_SIZE]; /* uninitialize
www.eeworm.com/read/303772/13809498
c cantight_fac.c
#include "config.h"
#include
#include
#include
#include
#include "ltfat_blas.h"
#include "ltfat_lapack.h"
#include "dgt.h"
void cantight_fac(ltfat_complex *gf