ClampBucketGrowthStep
function · objectlayer · primitive
- Address
0x469d60· 57 bytes, up to0x469d98- Meaning
- Rounds a count down to a power of two, at least 1; from 0x15 up stores 0x15 at this+0xc and returns it
- Confidence
- verified, proof two
- Finding
- objectlayer/manager#table-slots-and-sizing
Finding: Table slots and sizing in objectlayer: manager
The table's vtable 0x803600 has four slots. 0x4686c0 destroys an object node: its slot 0 with
0, then its block freed. 0x4686f0 allocates a node of 0x110 bytes plus an extra count, builds
the base object and links it at the head. 0x468a60 is the table's deleting destructor and
frees the table on bit 0 of its argument. 0x4687f0 clears the table: the mask becomes −1, the
buckets are freed and the vtable stays. 0x469d60(n) returns the largest power of two
not above n, at least 1, and 0x15 for n of 0x15 or more; 0x469da0(n, g) rounds n up to a
multiple of g. 0x47fea0(count) stores the count and resizes the buffer.
0x468c00 reads three floats from a packet.
The derivation is in the doc.
Callers 1
- ShrinkObjectTable objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.