MCPcopy Create free account
hub / github.com/apache/singa / GetString

Method GetString

test/gtest/gtest-all.cc:2430–2432  ·  view source on GitHub ↗

Gets the text streamed to this object so far as an std::string. Each '\0' character in the buffer is replaced with "\\0".

Source from the content-addressed store, hash-verified

2428// Gets the text streamed to this object so far as an std::string.
2429// Each '\0' character in the buffer is replaced with "\\0".
2430std::string Message::GetString() const {
2431 return internal::StringStreamToString(ss_.get());
2432}
2433
2434// AssertionResult constructors.
2435// Used in EXPECT_TRUE/FALSE(assertion_result).

Callers 15

MessageFunction · 0.80
gtest.hFile · 0.80
StreamableToStringFunction · 0.80
RegisterTestsMethod · 0.80
AppendUserMessageFunction · 0.80
FormatWordListFunction · 0.80
RecordPropertyMethod · 0.80

Calls 2

StringStreamToStringFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected