mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-16 05:37:18 +03:00
Add comments and use meaningful vars in sz_psz2ind.
This commit is contained in:
parent
5bf03f8ce5
commit
eaaa368bab
5 changed files with 108 additions and 10 deletions
2
src/sc.c
2
src/sc.c
|
|
@ -13,7 +13,7 @@
|
|||
* at least the damage is compartmentalized to this file.
|
||||
*/
|
||||
|
||||
static size_t
|
||||
size_t
|
||||
reg_size_compute(int lg_base, int lg_delta, int ndelta) {
|
||||
return (ZU(1) << lg_base) + (ZU(ndelta) << lg_delta);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue