MCPcopy Create free account
hub / github.com/LUX-Core/lux / DynamicUsage

Function DynamicUsage

src/memusage.h:28–28  ·  view source on GitHub ↗

Dynamic memory usage for built-in types is zero. */

Source from the content-addressed store, hash-verified

26
27/** Dynamic memory usage for built-in types is zero. */
28static inline size_t DynamicUsage(const int8_t& v) { return 0; }
29static inline size_t DynamicUsage(const uint8_t& v) { return 0; }
30static inline size_t DynamicUsage(const int16_t& v) { return 0; }
31static inline size_t DynamicUsage(const uint16_t& v) { return 0; }

Callers 8

RecursiveDynamicUsageFunction · 0.85
CTxMemPoolEntryMethod · 0.85
removeUncheckedMethod · 0.85
checkMethod · 0.85
DynamicMemoryUsageMethod · 0.85
DynamicMemoryUsageMethod · 0.85
DynamicMemoryUsageMethod · 0.85
DynamicMemoryUsageMethod · 0.85

Calls 4

MallocUsageFunction · 0.85
capacityMethod · 0.80
allocated_memoryMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected