代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/216802/4882143
c alloc.c
/* $OpenBSD: alloc.c,v 1.9 2004/05/04 20:28:40 deraadt Exp $ */
/* Memory allocation... */
/*
* Copyright (c) 1995, 1996, 1998 The Internet Software Consortium.
* All rights reserved.
*
www.eeworm.com/read/216802/4884301
c alloc.c
/*
* Unit test suite for memory allocation functions.
*
* Copyright 2002 Geoffrey Hausheer
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of
www.eeworm.com/read/216502/4890229
c alloc.c
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/mount.h"
#include "../h/filsys.h"
#include "../h/fblk.h"
#include "../h/conf.h"
#include "../h/buf.h"
#include "../h/inode.h"
#include ".
www.eeworm.com/read/216499/4892190
c alloc.c
#
/*
*/
#include "../param.h"
#include "../systm.h"
#include "../filsys.h"
#include "../conf.h"
#include "../buf.h"
#include "../inode.h"
#include "../user.h"
/*
* iinit is called once (from main)
www.eeworm.com/read/216499/4892436
3 alloc.3
.th ALLOC III 3/1/74
.sh NAME
alloc, free \*- core allocator
.sh SYNOPSIS
.ft B
.nf
char *alloc(size)
.s3
free(ptr)
char *ptr;
.fi
.ft R
.sh DESCRIPTION
.it Alloc
and
.it free
provide a simple general
www.eeworm.com/read/216499/4892618
s alloc.s
/ storage allocator for use with C
/
/
/
/ hand-tooled from C compilation to modify save-return
/ so that it can be called from within the C save
/ when running with coroutines
/
/#
//*
/ * C storage
www.eeworm.com/read/216499/4892688
c alloc.c
#
/*
* C library -- alloc/free
*/
#define logical char *
struct fb {
logical size;
char *next;
};
int freelist[] {
0,
-1,
};
logical slop 2;
alloc(asize)
logical asize;
{
register logical s
www.eeworm.com/read/216450/4895555
c alloc.c
/* This file is concerned with allocating and freeing arbitrary-size blocks of
* physical memory on behalf of the FORK and EXEC system calls. The key data
* structure used is the hole table, which
www.eeworm.com/read/209559/4973688
c alloc.c
/*
* linux/fs/hpfs/alloc.c
*
* Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz), 1998-1999
*
* HPFS bitmap operations
*/
#include "hpfs_fn.h"
/*
* Check if a sector is allocated in bitma
www.eeworm.com/read/209211/4982257
c alloc.c
#include
#include
#include
#include
#include "netbios.h"
void *
nbemalloc(ulong nbytes)
{
void *p;
p = malloc(nbytes);
if (p == nil) {
print("nbemalloc: failed\n