代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/333474/12679941
crf malloc.crf
www.eeworm.com/read/144969/12758338
c malloc.c
/* malloc() function that is glibc compatible.
Copyright (C) 1997, 1998 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms
www.eeworm.com/read/144708/12775635
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/245187/12812019
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/143389/12879051
c malloc.c
#include
#include
#include
#ifndef DEBUG
# define debug_printf(x...)
#endif
/*
* Make sure we're aligned to this
*/
#define OVERHEAD 16
struct free
www.eeworm.com/read/143389/12879158
h malloc.h
extern void malloc_init(void);
extern void *malloc(int sz);
extern void free(void *);
#define NULL ((void *)0)
www.eeworm.com/read/143387/12880112
test malloc.test
# 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 forgiveness for yo
www.eeworm.com/read/142822/12916321
inc malloc.inc
;------------------------------------------------------------------------
; MALLOC.INC
;------------------------------------------------------------------------
; Global memory allocation listing/u
www.eeworm.com/read/142544/12940723
c malloc.c
/*****************************************************************************
Simple malloc
Last revised: Oct 30, 2002
Features:
- First-fit
- free() coalesces adjacent free blocks
- Uses variable-s