代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/236837/13996772
c fillheap.c
#include
#include
void main(void)
{
char *buffer1, *buffer2, *buffer3;
int i, state;
buffer1 = malloc(100);
buffer2 = malloc(200);
buffer3 = malloc(300)
www.eeworm.com/read/132845/14071475
c jmemnobs.c
/*
* jmemnobs.c
*
* Copyright (C) 1992-1996, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README fi
www.eeworm.com/read/132844/14071715
h fractalsqueeze.h
#ifndef FRACTAL_SQUEEZE_H_INCLUDED__
#define FRACTAL_SQUEEZE_H_INCLUDED__
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used Windows cruft
#include
#define GREY_LEVELS 255
#d
www.eeworm.com/read/204914/15331549
c fillheap.c
#include
#include
void main(void)
{
char *buffer1, *buffer2, *buffer3;
int i, state;
buffer1 = malloc(100);
buffer2 = malloc(200);
buffer3 = malloc(300)
www.eeworm.com/read/203555/15355822
h util.h
#include
typedef char *string;
typedef char bool;
#define TRUE 1
#define FALSE 0
void *checked_malloc(int);
string String(char *);
typedef struct U_boolList_ *U_boolList;
struct U_boolL
www.eeworm.com/read/203555/15355827
c util.c
/*
* util.c - commonly used utility functions.
*/
#include
#include
#include
#include "util.h"
void *checked_malloc(int len)
{void *p = malloc(len);
if (!p) {
f
www.eeworm.com/read/203553/15355844
h util.h
#include
typedef char *string;
typedef char bool;
#define TRUE 1
#define FALSE 0
void *checked_malloc(int);
string String(char *);
typedef struct U_boolList_ *U_boolList;
struct U_boolL
www.eeworm.com/read/203553/15355850
c util.c
/*
* util.c - commonly used utility functions.
*/
#include
#include
#include
#include "util.h"
void *checked_malloc(int len)
{void *p = malloc(len);
if (!p) {
f
www.eeworm.com/read/203071/15365762
c mccdiaginit.c
#include "pdc1.h"
void mccdiag_init(void)
{
int i, j;
if(ecollisional==0 && icollisional==0)
{
ncolls = 0;
return;
}
/* default gas = argon */
if ( (gas < ARGON_LK) || (gas
www.eeworm.com/read/113242/15466520
c fillheap.c
#include
#include
void main(void)
{
char *buffer1, *buffer2, *buffer3;
int i, state;
buffer1 = malloc(100);
buffer2 = malloc(200);
buffer3 = malloc(300)