MCPcopy Create free account
hub / github.com/apache/brpc / itoa_r_wrapper

Function itoa_r_wrapper

test/stack_trace_unittest.cc:167–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165namespace {
166
167std::string itoa_r_wrapper(intptr_t i, size_t sz, int base, size_t padding) {
168 char buffer[1024];
169 CHECK_LE(sz, sizeof(buffer));
170
171 char* result = internal::itoa_r(i, buffer, sz, base, padding);
172 EXPECT_TRUE(result);
173 return std::string(buffer);
174}
175
176} // namespace
177

Callers 1

TEST_FFunction · 0.85

Calls 1

itoa_rFunction · 0.85

Tested by

no test coverage detected