代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/320714/13419392
c malloc.c
/*
* malloc.c --- a general purpose kernel memory allocator for Linux.
*
* Written by Theodore Ts'o (tytso@mit.edu), 11/29/91
*
* This routine is written to be as fast as possible, so that it
* can be
www.eeworm.com/read/317374/13505456
c malloc.c
www.eeworm.com/read/317374/13505576
c malloc.c
www.eeworm.com/read/316923/13514427
c malloc.c
#include
#include
void main(void)
{
char *string;
int *int_values;
float *float_values;
if ((string = (char *) malloc(50)))
printf("Successfully alloc
www.eeworm.com/read/316094/13530320
c malloc.c
/*-----------------------------------------------------------------------------
MALLOC.C is part of the C51 Compiler package from Keil Software.
Copyright (c) 1995-2002 Keil Software. All rights re
www.eeworm.com/read/315631/13539400
c malloc.c
#include
#include
void main(void)
{
char *string;
int *int_values;
float *float_values;
if ((string = (char *) malloc(50)))
printf("Successfully alloc
www.eeworm.com/read/314474/13566550
malloc-notes
size of ngram reading Switchboard trigram
SunOS5.5.1 libc malloc 12M
-lmalloc 12M
IRIX5.1 libc malloc 12M
-lmalloc MX_FAST = 24 11M
MX_FAST = 10 12M
MX_FAST = 32 11M
www.eeworm.com/read/312395/13612039
c malloc.c
#include
#include "Malloc.h"
static Header base;
static Header *free_list=NULL;
void *Malloc(unsigned int nbytes)
{
Header *p,*prev;
unsigned int nunits;
nunits=(nbytes+sizeof(Header)-1)
www.eeworm.com/read/312395/13612042
h malloc.h
#include
typedef long Align;
union header {
struct {
union header *next;
unsigned int size;
} s;
Align x;
};
typedef union header Header;
#define NALLOC 14
static Header *morecore(un
www.eeworm.com/read/310556/13649261
h malloc.h
/* @(#) malloc.h 1.2 1/27/86 17:46:48 */
/*ident "@(#)cfront:incl/malloc.h 1.2"*/
/*
Constants defining mallopt operations
*/
#define M_MXFAST 1 /* set size of blocks to be fast */
#define M_NLBLKS