| 17 | static LIST * freelist[ 32 ]; /* junkpile for list_dealloc() */ |
| 18 | |
| 19 | static int32_t get_bucket( int32_t size ) |
| 20 | { |
| 21 | int32_t bucket = 0; |
| 22 | while ( size > ( int32_t(1) << bucket ) ) ++bucket; |
| 23 | return bucket; |
| 24 | } |
| 25 | |
| 26 | static LIST * list_alloc( int32_t size ) |
| 27 | { |
no outgoing calls
no test coverage detected