代码搜索:alloc
找到约 10,000 项符合「alloc」的源代码
代码结果 10,000
www.eeworm.com/read/143516/12869080
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/142806/12917445
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/142806/12917659
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/243090/12965352
h alloc.h
www.eeworm.com/read/141969/12975269
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 a
www.eeworm.com/read/242863/12976668
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/327560/13072787
alloc_0
27
0 0 0 4 0 0
0 1 3 5 1 0
0 2 7 3 3 2
0 3 15 4 3 4
0 4 31 5 3 5
0 5 63 6 3 6
0 6 127 7 3 7
0 7 255 8 3 8
0 8 511 9 3 9
0 9 1023 10 3 10
0 10 2047 11 3 11
0 11 4095 12 3 12
0 12 8191 13 3 13
0 13 1638
www.eeworm.com/read/327560/13072792
alloc_3
12
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
www.eeworm.com/read/327560/13072826
alloc_1
30
0 0 0 4 0 0
0 1 3 5 1 0
0 2 7 3 3 2
0 3 15 4 3 4
0 4 31 5 3 5
0 5 63 6 3 6
0 6 127 7 3 7
0 7 255 8 3 8
0 8 511 9 3 9
0 9 1023 10 3 10
0 10 2047 11 3 11
0 11 4095 12 3 12
0 12 8191 13 3 13
0 13 1638
www.eeworm.com/read/327560/13072836
alloc_4
30
0 0 0 4 0 0
0 1 3 5 1 0
0 2 5 7 1 1
0 3 7 3 3 2
0 4 9 10 1 3
0 5 15 4 3 4
0 6 31 5 3 5
0 7 63 6 3 6
0 8 127 7 3 7
0 9 255 8 3 8
0 10 511 9 3 9
0 11 1023 10 3 10
0 12 2047 11 3 11
0 13 4095 12 3 12