ReserveSheatheBuckets
function · sound · primitive
- Address
0x45f460· 319 bytes, up to0x45f59e- Meaning
- Grows a bucket array's capacity, rounded to its granularity when asked, relinking its lists
- Confidence
- verified, proof one
- Finding
- sound/overview#lists-and-growable-arrays
Finding: Lists and growable arrays in sound: overview
A list link is two words, the previous link and the next, with bit 0 of the next marking the end; an explicit list holds its link offset (0xdddddddd until set) and a head linked to itself. A growable array holds its capacity, count, buffer and granularity; a granularity of 0 takes the largest power of two not above the request, capped at 21 for bucket lists, 64 for pointer arrays, 256 for the string block and 8 for the reverb records, and a reserve rounds up to it.
The derivation is in the doc.
Callers 1
- RehashSheatheTable sound
Callees 6
- ClearSheatheList sound
- UnlinkSheatheLink sound
- UnlinkSheatheListAll sound
- SMemAlloc storm
- SMemReAlloc storm
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.