MCPcopy Create free account
hub / github.com/cinder/Cinder / valueToString

Function valueToString

src/jsoncpp/jsoncpp.cpp:3068–3079  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3066}
3067
3068std::string valueToString(LargestInt value) {
3069 UIntToStringBuffer buffer;
3070 char* current = buffer + sizeof(buffer);
3071 bool isNegative = value < 0;
3072 if (isNegative)
3073 value = -value;
3074 uintToString(LargestUInt(value), current);
3075 if (isNegative)
3076 *--current = '-';
3077 assert(current >= buffer);
3078 return current;
3079}
3080
3081std::string valueToString(LargestUInt value) {
3082 UIntToStringBuffer buffer;

Callers 2

asStringMethod · 0.85
writeValueMethod · 0.85

Calls 4

uintToStringFunction · 0.85
assertFunction · 0.85
isfiniteFunction · 0.85
fixNumericLocaleFunction · 0.85

Tested by

no test coverage detected