代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/439360/7711608
c alloc.c
#include
/* Allocate memory for a rows*cols array of floats.
* The elements within a column are contiguous in memory, and columns
* themselves are also contiguous in memory.
*/
fl
www.eeworm.com/read/438636/7728785
c alloc.c
#include "common.h"
struct block
{
struct block *next;
char *limit;
char *avail;
};
union align {
long l;
char *p;
double d;
int (*f)(void);
};
union header {
struct b
www.eeworm.com/read/437619/7744792
c alloc.c
/* memory allocation routines
*
* Adapted from alloc routine in K&R; memory statistics and interrupt
* protection added for use with net package. Must be used in place of
* standard Turbo-C li
www.eeworm.com/read/437523/7747265
h alloc.h
/****************************************************************************
*
* ALi
*
* File: alloc.h
*
* Description:
*
* History:
* Date Author V
www.eeworm.com/read/436521/7768660
h alloc.h
/*
** Definitions for a less error-prone memory allocator.
*/
#include
#define malloc DON'T CALL malloc DIRECTLY!
#define MALLOC(num,type) (type *)alloc( (num) * sizeof(type) )
ex
www.eeworm.com/read/436521/7768663
c alloc.c
/*
** Implementation for a less error-prone memory allocator.
*/
#include
#include "alloc.h"
#undef malloc
void *
alloc( size_t size )
{
void *new_mem;
/*
** Ask for the re
www.eeworm.com/read/389794/7805428
h alloc.h
www.eeworm.com/read/399904/7826374
h alloc.h
/*
* Copyright (c) 1996-1997
* Silicon Graphics Computer Systems, Inc.
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby gra
www.eeworm.com/read/399904/7826915
pthread_alloc
/*
* Copyright (c) 1996
* Silicon Graphics Computer Systems, Inc.
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted