代码搜索:alloc

找到约 10,000 项符合「alloc」的源代码

代码结果 10,000
www.eeworm.com/read/124620/14557269

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
www.eeworm.com/read/124417/14568740

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/223007/14664918

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/223007/14664926

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/122442/14690097

h alloc.h

www.eeworm.com/read/122442/14690932

h alloc.h

www.eeworm.com/read/221956/14713420

h alloc.h

www.eeworm.com/read/221956/14713448

h alloc.h

www.eeworm.com/read/121395/14757556

h alloc.h

#ifndef ALLOC_H #define ALLOC_H extern /*@null@*//*@out@*/char *alloc(unsigned int); extern void alloc_free(void *); extern int alloc_re(char **x,unsigned int m,unsigned int n); extern char* byte_du
www.eeworm.com/read/121395/14757675

c alloc.c

#include "alloc.h" #include "error.h" extern char *malloc(); extern void free(); #define ALIGNMENT 16 /* XXX: assuming that this alignment is enough */ #define SPACE 2048 /* must be multiple of ALIGN