MCPcopy Create free account
hub / github.com/cybereality/Perception / duplicateStringValue

Function duplicateStringValue

Perception_v3/Shared/json/json_value.cpp:82–98  ·  view source on GitHub ↗

Duplicates the specified string value. * @param value Pointer to the string to duplicate. Must be zero-terminated if * length is "unknown". * @param length Length of the value. if equals to unknown, then it will be * computed using strlen(value). * @return Pointer on the duplicate instance of string. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

setCommentMethod · 0.85
CZStringMethod · 0.85

Calls 1

throwRuntimeErrorFunction · 0.85

Tested by

no test coverage detected