代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/229812/4743777
c emem.c
#include
#include
#include
#include
#include "edit.h"
#if defined( __WINDOWS_386__ ) || defined( __NT__ )
#define amalloc malloc
#define a
www.eeworm.com/read/208315/4993932
c items.c
//ecnegrevid 2001.7.20
#include
#include
#include
#include "items.h"
struct items* creatitems(int max)
{
struct items *is;
struct item *i;
is=malloc(sizeof(*is));
i
www.eeworm.com/read/190666/5174740
c crash31.c
// Build don't link:
// GROUPS passed old-abort
struct mbuf {
struct mbuf *next;
};
void* malloc(int);
struct mbuf *
mbuf_allocate(int size)
{
struct mbuf *bp;
bp = (struct mbuf *) malloc(
www.eeworm.com/read/167046/5470939
h heap.h
/*
* libc/stdlib/malloc/heap.h -- heap allocator used for malloc
*
* Copyright (C) 2002,03 NEC Electronics Corporation
* Copyright (C) 2002,03 Miles Bader
*
* This file is su
www.eeworm.com/read/340665/3269541
h mhooks.h
/* Functions used by mcheck/mprobe */
extern void (*__malloc_initialize_hook) (void);
extern void (*__free_hook) (void * __ptr, const void *);
extern void * (*__malloc_hook) (size_t __size, const voi
www.eeworm.com/read/340665/3275396
c crash31.c
// Build don't link:
// GROUPS passed old-abort
struct mbuf {
struct mbuf *next;
};
void* malloc(int);
struct mbuf *
mbuf_allocate(int size)
{
struct mbuf *bp;
bp = (struct mbuf *) malloc(
www.eeworm.com/read/311187/3687638
c port.c
#include "tdestr.h"
#include "common.h"
#include "tdefunc.h"
#include "define.h"
/*
* Name: my_malloc
* Purpose: malloc from the far heap
* Date: April 1, 1993
* Passed: mem:
www.eeworm.com/read/311187/3687694
c port.c
#include "tdestr.h"
#include "common.h"
#include "tdefunc.h"
#include "define.h"
/*
* Name: my_malloc
* Purpose: malloc from the far heap
* Date: April 1, 1993
* Passed: mem:
www.eeworm.com/read/300573/3845965
h memp_std.h
/*
* SETUP: Make sure we define everything we will need.
*
* We have create three types of pools:
* 1) MEMPOOL - standard pools
* 2) MALLOC_MEMPOOL - to be used by mem_malloc in mem.c
* 3)
www.eeworm.com/read/298657/3860221
h mhooks.h
/* Functions used by mcheck/mprobe */
extern void (*__malloc_initialize_hook) (void);
extern void (*__free_hook) (void * __ptr, const void *);
extern void * (*__malloc_hook) (size_t __size, const voi