代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/398200/2383572
c dlmalloc-merged.c
/* ---------- To make a malloc.h, start cutting here ------------ */
/*
A version of malloc/free/realloc written by Doug Lea and released to the
public domain. Send questions/comments/complain
www.eeworm.com/read/105612/15663971
c kmalloc.c
/* LittleOS project
* This code has been adapted by Pascal Lacroix for LittleOS
* 08/98
*/
/*
* Replacements for the C library malloc routines, based on the malloc
* from the Atari ST g
www.eeworm.com/read/150758/12266433
c svm-train.c
#include
#include
#include
//#include
#include
#include "svm.h"
#define Malloc(type,n) (type *)malloc((n)*sizeof(type))
void exit_with_help()
{
p
www.eeworm.com/read/209211/4982413
c subr.c
#include "rc.h"
#include "exec.h"
#include "io.h"
#include "fns.h"
char*
emalloc(long n)
{
char *p = (char *)Malloc(n);
if(p==0)
panic("Can't malloc %d bytes", n);
/* if(err){ pfmt(err, "malloc %
www.eeworm.com/read/207994/4997722
h gdk_posix.h
#ifndef GDK_POSIX_H
#define GDK_POSIX_H
#include "gdk_system.h"
#include
#ifdef HAVE_MALLOC_H
# include /* mallopt, mallinfo, and malloc, free etc. */
#endif
#ifdef HAV
www.eeworm.com/read/9374/167014
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/11180/210745
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/282272/4106393
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/384879/2596555
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/355768/3047967
c fillheap.c
#include
#include
void main(void)
{
char *buffer1, *buffer2, *buffer3;
int i, state;
buffer1 = malloc(100);
buffer2 = malloc(200);
buffer3 = malloc(300)