代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/216802/4883468
h malloc.h
/*
* malloc.h - NTFS kernel memory handling. Part of the Linux-NTFS project.
*
* Copyright (c) 2001,2002 Anton Altaparmakov.
*
* This program/include file is free software; you can redistrib
www.eeworm.com/read/216802/4886386
c malloc.c
/* $Id: malloc.c 21298 2006-03-12 00:08:41Z jimtabor $
*/
/*
* COPYRIGHT: None
* LICENSE: Public domain
* PROJECT: ReactOS system libraries
* FILE: reactos/lib/psapi/misc/m
www.eeworm.com/read/216502/4890230
c malloc.c
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/map.h"
/*
* Allocate 'size' units from the given
* map. Return the base of the allocated
* space.
* In a map, the addresses are incr
www.eeworm.com/read/216502/4890592
3 malloc.3
.TH MALLOC 3
.SH NAME
malloc, free, realloc, calloc \- main memory allocator
.SH SYNOPSIS
.B char *malloc(size)
.br
.B unsigned size;
.PP
.B free(ptr)
.br
.B char *ptr;
.PP
.B char *realloc(ptr, size
www.eeworm.com/read/216502/4891417
c malloc.c
#define ASSERT(p) if(!(p))botch("p");else
botch(s)
char *s;
{
printf("assertion botched: %s\n",s);
abort();
}
/* C storage allocator
* circular first-fit strategy
* works with noncontiguous, but m
www.eeworm.com/read/216502/4891730
c malloc.c
#ifdef debug
#define ASSERT(p) if(!(p))botch("p");else
botch(s)
char *s;
{
printf("assertion botched: %s\n",s);
abort();
}
#else
#define ASSERT(p)
#endif
/* avoid break bug */
#ifdef pdp11
#define
www.eeworm.com/read/216499/4892191
c malloc.c
#
/*
*/
/*
* Structure of the coremap and swapmap
* arrays. Consists of non-zero count
* and base address of that many
* contiguous units.
* (The coremap unit is 64 bytes,
* the swapmap unit i
www.eeworm.com/read/216450/4894672
c malloc.c
/* $Header: /cvsup/minix/src/lib/ansi/malloc.c,v 1.1.1.1 2005/04/21 14:56:05 beng Exp $ */
/* replace undef by define */
#undef DEBUG /* check assertions */
#undef SLOWDEBUG /* some extra test loo
www.eeworm.com/read/216450/4895219
3 malloc.3
.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" @(#
www.eeworm.com/read/213039/4930910
vcp malloc.vcp
# Microsoft eMbedded Visual Tools Project File - Name="Malloc" - Package Owner=
# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02
# ** DO NOT EDIT **
# TARGTYPE "Win3