MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / print

Method print

benchmark/json.h:45–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 }
44 bool operator!=(const DocStat &rhs) const { return !(*this == rhs); }
45 void print() {
46 printf("======== Members ========\n");
47 printf("Objects: %ld\n", objects);
48 printf("Arrays: %ld\n", arrays);
49 printf("Numbers: %ld\n", numbers);
50 printf("Strings: %ld\n", strings);
51 printf("Trues: %ld\n", trues);
52 printf("Falses: %ld\n", falses);
53 printf("NULLs: %ld\n", nulls);
54 printf("members: %ld\n", members);
55 printf("Elements: %ld\n", elements);
56 printf("Length: %ld\n", length);
57 printf("Depth: %ld\n", depth);
58 printf("\n");
59 }
60};
61
62template <typename PR, typename SR>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected