mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
* malloc/malloc.c (largebin_index): Really have 32 buckets with 64 sizes.
2007-05-13 Ulrich Drepper <drepper@redhat.com>
This commit is contained in:
@ -2134,7 +2134,7 @@ typedef struct malloc_chunk* mbinptr;
|
||||
#define smallbin_index(sz) (((unsigned)(sz)) >> 3)
|
||||
|
||||
#define largebin_index(sz) \
|
||||
(((((unsigned long)(sz)) >> 6) <= 32)? 56 + (((unsigned long)(sz)) >> 6): \
|
||||
(((((unsigned long)(sz)) >> 6) <= 38)? 56 + (((unsigned long)(sz)) >> 6): \
|
||||
((((unsigned long)(sz)) >> 9) <= 20)? 91 + (((unsigned long)(sz)) >> 9): \
|
||||
((((unsigned long)(sz)) >> 12) <= 10)? 110 + (((unsigned long)(sz)) >> 12): \
|
||||
((((unsigned long)(sz)) >> 15) <= 4)? 119 + (((unsigned long)(sz)) >> 15): \
|
||||
|
Reference in New Issue
Block a user