代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/187914/6338005
c malloc.c
/*****************************************************************************
Simple malloc
Last revised: Oct 30, 2002
Features:
- First-fit
- free() coalesces adjacent free blocks
- Uses variable-s
www.eeworm.com/read/493030/6404251
h malloc.h
www.eeworm.com/read/493101/6406549
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/490821/6442893
h malloc.h
www.eeworm.com/read/484435/6576174
h malloc.h
#ifndef MALLOC_H
#define MALLOC_H
typedef unsigned long simm_id;
#pragma CALLEE-SAVES addr5,addr6,addr7,simm_id_from_pointer
simm_id simm_malloc(unsigned int num_bytes);
void simm_free(simm_id add
www.eeworm.com/read/484435/6576204
c malloc.c
#include "malloc.h"
#include "as31glue.h"
#include "printf.h"
/* this "simm_id" type is what will normally be passed around, */
/* and declared inside of other structs (like playlists, file */
/* l
www.eeworm.com/read/483067/6609269
h malloc.h
/* malloc.h
memory management functions and variables.
Copyright (c) Borland International 1991
All Rights Reserved.
*/
#include
#if (sizeof(void *) != 4)
/* Near hea
www.eeworm.com/read/481567/6643664
c malloc.c
/*
** 2001 September 15
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiven
www.eeworm.com/read/481239/6645667
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/481045/6656856
c malloc.c
#include
#include
void main(void)
{
char *string;
int *int_values;
float *float_values;
if ((string = (char *) malloc(50)))
printf("Successfully alloc