代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/179311/5306310
h alloc.h
/*
* Copyright (c) 1996,1997
* Silicon Graphics Computer Systems, Inc.
*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expres
www.eeworm.com/read/179311/5306418
pthread_alloc
/*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Copyright (c) 1996,1997
* Silicon Graphics Computer Systems, Inc.
*
* Copyright (c) 1997
* Moscow Center for SPARC Technology
www.eeworm.com/read/172774/5382088
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/172774/5382091
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/171602/5392332
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/171602/5392355
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/169979/5408093
c alloc.c
#include
#include
#define MAGIC (Header *)1111
typedef long Align;
union header {
struct {
union header *ptr;
unsigned size;
} s;
www.eeworm.com/read/169063/5428894
h alloc.h
/* alloc.h
Definitions for the object management API protocol memory allocation... */
/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996-2003 by Internet
www.eeworm.com/read/168945/5429341
h alloc.h
/* alloc.h
Definitions for the object management API protocol memory allocation... */
/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996-2003 by Internet
www.eeworm.com/read/167046/5470952
c alloc.c
/* alloc.c
*
* Written by Erik Andersen
* LGPLv2
*
* Parts of the memalign code were stolen from malloc-930716.
*/
#define _GNU_SOURCE
#include
#include