MCPcopy Create free account
hub / github.com/apache/impala / ToString

Method ToString

be/src/kudu/util/slice.cc:38–40  ·  view source on GitHub ↗

Return a string that contains the copy of the referenced data.

Source from the content-addressed store, hash-verified

36
37// Return a string that contains the copy of the referenced data.
38std::string Slice::ToString() const {
39 return std::string(reinterpret_cast<const char *>(data_), size_);
40}
41
42std::string Slice::ToDebugString(size_t max_len) const {
43 size_t bytes_to_print = size_;

Callers 15

ValidateTrustedCertFileFunction · 0.45
TESTFunction · 0.45
StartMethod · 0.45
StartWithAccountsMethod · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
DumperThreadMethod · 0.45
EvictedEntryMethod · 0.45
UpdateJWKSThreadMethod · 0.45
RandomStringFunction · 0.45
DoTestMonoTimePerfFunction · 0.45

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.36
StartMethod · 0.36
StartWithAccountsMethod · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
DumperThreadMethod · 0.36
DoTestMonoTimePerfFunction · 0.36
TESTFunction · 0.36
AssertNoSpaceFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36