MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / ToMemString

Function ToMemString

include/luxrays/utils/utils.h:320–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320inline std::string ToMemString(const size_t size) {
321 return (size < 10000 ? (ToString(size) + "bytes") : (ToString(size / 1024) + "Kbytes"));
322}
323
324inline unsigned int UIntLog2(unsigned int value) {
325 unsigned int l = 0;

Callers 2

AllocBufferMethod · 0.85
PreprocessMethod · 0.85

Calls 1

ToStringFunction · 0.70

Tested by

no test coverage detected