代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/258225/11875148
h alloc.h
/* alloc.h
memory management functions and variables.
Copyright (c) 1987, 1992 by Borland International
All Rights Reserved.
*/
#if !defined(__ALLOC_H)
#define __ALLOC_H
#i
www.eeworm.com/read/155317/11885021
h _alloc.h
typedef struct cell_hdr
{
struct cell_hdr *next;
void *EndAddr;
int size;
#ifdef DEBUG
unsigned int InUse;
#endif
} CELL_HDR;
extern CELL_HDR *__FreeList;
#define _BND 1
#define
www.eeworm.com/read/155317/11885268
h _alloc.h
typedef struct cell_hdr
{
struct cell_hdr *next;
void *EndAddr;
int size;
#ifdef DEBUG
unsigned int InUse;
#endif
} CELL_HDR;
extern CELL_HDR *__FreeList;
#define _BND 1
#define
www.eeworm.com/read/155317/11885276
c alloc.c
#include
#include
#include
#include
/*
#define DEBUG
*/
#ifdef DEBUG
#define calloc xcalloc
#define malloc xmalloc
#define realloc xrealloc
#d
www.eeworm.com/read/257924/11906214
asm alloc.asm
.PB main
#init the heap
LQI $R1,3
INT 7
#allocate memory, place address in $R20
LQI $R2,20
LQI $R1,0
INT 7
MOV $R20,$R3
MOV $R2,$R20
LQI $R1,20
INT 0
LQI $R2,10
LQI $R1,16
INT 0
www.eeworm.com/read/257924/11906221
run alloc.run
www.eeworm.com/read/257921/11906471
asm alloc.asm
.PB main
#init the heap
LQI $R1,3
INT 7
#allocate memory, place address in $R20
LQI $R2,20
LQI $R1,0
INT 7
MOV $R20,$R3
MOV $R2,$R20
LQI $R1,20
INT 0
LQI $R2,10
LQI $R1,16
INT 0
www.eeworm.com/read/257921/11906473
run alloc.run
www.eeworm.com/read/256116/12027200
h alloc.h
www.eeworm.com/read/342248/12032699
h alloc.h
/* ALLOC.H - Interface to memory allocation procedure. */
/* Copyright (c) 1996 by Radford M. Neal
*
* Permission is granted for anyone to copy, use, or modify this program
* for purposes of res