代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/308442/13701138
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/306457/13744784
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/305486/13767475
h _malloc.h
#ifndef __TL__MALLOC_H
#define __TL__MALLOC_H
#ifdef __cplusplus
extern "C"
{
#endif
#include
#include
#define MALLOC_MAGIC 0x6D92 /* must be < 0x8000 */
typedef
www.eeworm.com/read/304114/13800169
c malloc.c
/*-----------------------------------------------------------------------------
MALLOC.C is part of the C51 Compiler package from Keil Software.
Copyright (c) 1995-1999 Keil Software. All rights re
www.eeworm.com/read/301198/13863930
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/300969/13876385
c malloc.c
/* $Header$ */
/* replace undef by define */
#undef DEBUG /* check assertions */
#undef SLOWDEBUG /* some extra test loops (requires DEBUG) */
#include
#include
#inc
www.eeworm.com/read/148963/5707120
c malloc.c
/*
*----------------------------------------------------------------------
* T-Kernel
*
* Copyright (C) 2004 by Ken Sakamura. All rights reserved.
* T-Kernel is distributed under the T-L
www.eeworm.com/read/147331/5731240
h malloc.h
/* Prototypes and definition for malloc implementation.
Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free
www.eeworm.com/read/147331/5731447
c malloc.c
/* Malloc implementation for multiple threads without lock contention.
Copyright (C) 1996-2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Wolf
www.eeworm.com/read/147331/5732109
h malloc.h
#ifndef _MACHMALLOC_H_
#define _MACHMALLOC_H_
# if defined(__ALTIVEC__)
_PTR _EXFUN(vec_calloc,(size_t __nmemb, size_t __size));
_PTR _EXFUN(_vec_calloc_r,(struct _reent *, size_t __nmemb, siz