MCPcopy Create free account
hub / github.com/Kitware/CMake / uintToString

Function uintToString

Utilities/cmjsoncpp/src/lib_json/json_tool.h:81–87  ·  view source on GitHub ↗

Converts an unsigned integer to string. * @param value Unsigned integer to convert to string * @param current Input/Output string buffer. * Must have at least uintToStringBufferSize chars free. */

Source from the content-addressed store, hash-verified

79 * Must have at least uintToStringBufferSize chars free.
80 */
81static inline void uintToString(LargestUInt value, char*& current) {
82 *--current = 0;
83 do {
84 *--current = static_cast<char>(value % 10U + static_cast<unsigned>('0'));
85 value /= 10;
86 } while (value != 0);
87}
88
89/** Change ',' to '.' everywhere in buffer.
90 *

Callers 1

valueToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…