代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/101015/6262291
c zalloc.c
/*** zalloc - hoookable ztools allocator
*
* Modifications
* 15-Dec-1988 mz Created
*/
#include
char * (*tools_alloc) (unsigned) = (char * (*)(unsigned))malloc;
www.eeworm.com/read/101005/6262729
h memory.h
/* memory.h, HAWK game engine
*
* Copyright 1997-1998 by Phil Frisbie, Jr.
* for Hawk Software
*
* All hardware specific code goes here
*
*/
#ifndef MEMORY_H
#define MEMORY_H
#ifd
www.eeworm.com/read/100926/6264425
cpp util.cpp
// util.cpp,v 1.5 1998/07/31 23:36:46 gonzo Exp
#include "util.h"
ACE_RCSID(stress_testing, util, "util.cpp,v 1.5 1998/07/31 23:36:46 gonzo Exp")
URL::URL(char *input_buf) {
char *buffer
www.eeworm.com/read/273303/6281623
c compat.c
#include
#include
void *Malloc(size_t n)
{
Print("Malloc not implemented in user mode\n");
return 0;
}
www.eeworm.com/read/195747/6323224
c image.c
#include
#include "image.h"
struct image *image_new(int width, int height)
{
struct image *img = (struct image*)malloc(sizeof(struct image));
if(img)
{
img->width = width;
img->heigh
www.eeworm.com/read/192475/6337889
h stdlib.h
/*--------------------------------------------------------------------------
STDLIB.H
Standard functions.
Copyright (c) 1988-2005 Keil Elektronik GmbH and Keil Software, Inc.
All rights reserved
www.eeworm.com/read/219605/6341947
c 3_1_2.c
/* ======================================== */
/* 程式实例: 3_1_2.c */
/* 浮点数记忆体配置和释放 */
/* ======================================== */
#include
vo
www.eeworm.com/read/493101/6406572
h kernel.h
/*
* 'kernel.h' contains some often-used function prototypes etc
*/
/*
* 'kernel.h'定义了一些常用函数的原型等。
*/
// 验证给定地址开始的内存块是否超限。若超限则追加内存。( kernel/fork.c, 24 )。
void verify_area (void *addr, int count);
// 显示
www.eeworm.com/read/489936/6463637
c gsm_create.c
/*
* Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
* Universitaet Berlin. See the accompanying file "COPYRIGHT" for
* details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
www.eeworm.com/read/488574/6489817
c linuxsort.c
#include
#include
#include
#include
////////////////////////////////////////////////insert_sort
INSERT_SORT(char **A,int N)
{ int j=0;char *key;int i=0;
f