代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/327560/13072854
alloc_2
8
0 0 0 4 0 0
0 1 3 5 1 0
0 2 5 7 1 1
0 3 9 10 1 3
0 4 15 4 3 4
0 5 31 5 3 5
0 6 63 6 3 6
0 7 127 7 3 7
0 8 255 8 3 8
0 9 511 9 3 9
0 10 1023 10 3 10
0 11 2047 11 3 11
0 12 4095 12 3 12
0 13 8191 13 3
www.eeworm.com/read/240985/13182456
h alloc.h
/* alloc.h
memory management functions and variables.
Copyright (c) 1987, 1991 by Borland International
All Rights Reserved.
*/
#if !defined(__ALLOC_H)
#define __ALLOC_H
#i
www.eeworm.com/read/138936/13200550
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/138936/13200762
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/138638/13227499
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/138638/13227501
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/138119/13259137
h alloc.h
/*
TurboC, a library for porting Borland Turbo C to GNU gcc.
Copyright 2002 Ronald S. Burkey
This library is free software; you can redistribute it and/or
modify it under the terms of the GN
www.eeworm.com/read/324430/13263238
h alloc.h
www.eeworm.com/read/138026/13272337
h alloc.h
/* alloc.h
memory management functions and variables.
Copyright (c) Borland International 1987,1988,1990
All Rights Reserved.
*/
#if !defined(__ALLOC)
#define __ALLOC
#define
www.eeworm.com/read/137955/13276724
c alloc.c
#include "c.h"
struct block {
struct block *next;
char *limit;
char *avail;
};
union align {
long l;
char *p;
double d;
int (*f)(void);
};
union header {
struct block b;
union align a;
};
#if