代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/101082/6247554
3x malloc.3x
.\" SCCSID: @(#)malloc.3x 8.2 12/3/90
.TH malloc 3x
.SH Name
malloc, free, realloc, calloc, mallopt, mallinfo \- fast main memory allocator
.SH Syntax
.nf
.B #include
.P
.B char \(**malloc
www.eeworm.com/read/493479/6393978
h my_malloc.h
# ifndef _MY_MALLOC_H_
# define _MY_MALLOC_H_
# include "stdio.h"
# include "stdlib.h"
# include "initial.h"
int *imalloc_1(int);
double *dmalloc_1(int);
double **dmalloc_2(int, int);
d
www.eeworm.com/read/493479/6393989
c my_malloc.c
# include "my_malloc.h"
int *imalloc_1(int n)
{
int *x;
x = (int *)malloc(n*sizeof(int));
if (x==NULL)
{
printf("Can not allocate memory properly!\n");
exit(-1);
www.eeworm.com/read/493005/6403340
h have_malloc.h
/*
* DO NOT EDIT -- generated by the Makefile
*/
#if !defined(__HAVE_MALLOC_H__)
#define __HAVE_MALLOC_H__
/* do we have ? */
#define HAVE_MALLOC_H /* yes */
#endif /* !__HAVE_MALLO
www.eeworm.com/read/487652/6507017
h yaffs_malloc.h
/*
* YAFFS: Yet another Flash File System . A NAND-flash specific file system.
*
* Copyright (C) 2002-2007 Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Ch
www.eeworm.com/read/486748/6526359
h min_malloc.h
/*
* min_malloc()和min_free()接口
* Author: huangqiang.zhou@gmail.com 2009-5-15
*/
#ifndef MIN_MALLOC_H
#define MIN_MALLOC_H
void *min_malloc(size_t size);
void min_free(void *p);
void min
www.eeworm.com/read/486748/6526360
c min_malloc.c
/*
* 使用一条链表(管理空闲内存块)实现可变长度的内存分配和回收,可任意申请和分配
* Author: huangqiang.zhou@gmail.com 2009-5-15
*/
#include
#include
#include "slist.h"
#define MALLOC_MAX_SIZE 10000
#defin
www.eeworm.com/read/483958/6588237
png interface.malloc.png
www.eeworm.com/read/480891/6663291
c ex_malloc.c
//////////////////////////////////////////////////////////////////////////
//// EX_MALLOC.C ////
////
www.eeworm.com/read/476660/6757165
c malloc_util.c
/**
* malloc_util.c : malloc debugging routines
*
* written by erik a. hendriks (hendriks@lanl.gov).
*
* Copyright 2002 Erik Arjan Hendriks.
* This software may be used and distributed ac