MCPcopy Create free account
hub / github.com/ElementsProject/elements / DynamicUsage

Function DynamicUsage

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

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

Source from the content-addressed store, hash-verified

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

Callers 9

RecursiveDynamicUsageFunction · 0.85
removeUncheckedMethod · 0.85
checkMethod · 0.85
DynamicMemoryUsageMethod · 0.85
DynamicMemoryUsageMethod · 0.85
DynamicMemoryUsageMethod · 0.85
SelfTestMethod · 0.85
FUZZ_TARGETFunction · 0.85
FUZZ_TARGET_INITFunction · 0.85

Calls 4

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

Tested by 3

SelfTestMethod · 0.68
FUZZ_TARGETFunction · 0.68
FUZZ_TARGET_INITFunction · 0.68