MCPcopy Create free account
hub / github.com/devosoft/avida / ByteSizeForClass

Method ByteSizeForClass

libs/tcmalloc-1.4/src/common.h:168–168  ·  view source on GitHub ↗

Get the byte-size for a specified class

Source from the content-addressed store, hash-verified

166
167 // Get the byte-size for a specified class
168 inline size_t ByteSizeForClass(size_t cl) { return class_to_size_[cl]; }
169
170 // Mapping from size class to max size storable in that class
171 inline size_t class_to_size(size_t cl) { return class_to_size_[cl]; }

Callers 10

ReleaseToCentralCacheMethod · 0.80
PrintMethod · 0.80
AllocateMethod · 0.80
DeallocateMethod · 0.80
ReleaseToSpansMethod · 0.80
PopulateMethod · 0.80
ExtractStatsFunction · 0.80
DumpStatsFunction · 0.80
GetSizeWithCallbackFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected