代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/465313/1520929
h libs.h
#ifndef LIBS_H
#define LIBS_H
#include "intsize.h"
#ifdef DEBUG_MALLOC
#include
#define Malloc(size) GC_debug_malloc(size,__FILE__,__LINE__)
#define Free(ptr) GC_debug_free(ptr)
#define Real
www.eeworm.com/read/292670/3950884
makefile
include /usr/src/rtlinux/rtl.mk
all: module
test :test.c rtl_malloc.c
gcc -o test test.c rtl_malloc.c
module:
gcc $(CFLAGS) $(INCLUDE) -c rtl_malloc.c
clean:
rm -f *~ *.o *.flc test
www.eeworm.com/read/382361/2637945
makefile
include /usr/src/rtlinux/rtl.mk
all: module
test :test.c rtl_malloc.c
gcc -o test test.c rtl_malloc.c
module:
gcc $(CFLAGS) $(INCLUDE) -c rtl_malloc.c
clean:
rm -f *~ *.o *.flc test
www.eeworm.com/read/216450/4894099
c kmalloc.c
/* malloc(), realloc(), free() - simple memory allocation routines
*
* This is a very small and simple minded malloc Author: Kees J. Bot
* implementation. Ideal for things like a 29 Jan 1994
*
www.eeworm.com/read/347002/3178473
c mem.c
#include
void* __malloc(size_t size)
{
void* result = NULL;
result = (void *)malloc(size);
return result;
}
void __free(void* p)
{
if(p != NULL)
www.eeworm.com/read/337612/3327672
c mem.c
#include
void* __malloc(size_t size)
{
void* result = NULL;
result = (void *)malloc(size);
return result;
}
void __free(void* p)
{
if(p != NULL)
www.eeworm.com/read/424760/2013248
c mem.c
#include
void* __malloc(size_t size)
{
void* result = NULL;
result = (void *)malloc(size);
return result;
}
void __free(void* p)
{
if(p != NULL)
www.eeworm.com/read/262041/4317953
h mallocdebug.h
/* This file should be included in config.h if the monitor is
* to be built with malloc-debug enabled. The malloc-debug feature
* simply adds the filename and file line number to the mhdr structu
www.eeworm.com/read/136849/5844007
h r2d_independance_layer.h
#ifndef __INDEPENDANCE_H_
#define __INDEPENDANCE_H_
#define R2D_FREE(p) rvf_free_buf((void*)(p))
#define R2D_MALLOC(id,t,s,p) rvf_get_buf(id, s, (T_RVF_BUFFER**)&p)
#endif
www.eeworm.com/read/125688/6027060
c phys_lmm_add.c
/*
* Copyright (c) 1995, 1998, 1999 University of Utah and the Flux Group.
* All rights reserved.
*
* This file is part of the Flux OSKit. The OSKit is free software, also known
* as "open sour