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

Function PrintBytesInObjectTo

test/gtest/gtest-all.cc:9123–9126  ·  view source on GitHub ↗

Delegates to PrintBytesInObjectToImpl() to print the bytes in the given object. The delegation simplifies the implementation, which uses the << operator and thus is easier done outside of the ::testing::internal namespace, which contains a << operator that sometimes conflicts with the one in STL.

Source from the content-addressed store, hash-verified

9121// ::testing::internal namespace, which contains a << operator that
9122// sometimes conflicts with the one in STL.
9123void PrintBytesInObjectTo(const unsigned char* obj_bytes, size_t count,
9124 ostream* os) {
9125 PrintBytesInObjectToImpl(obj_bytes, count, os);
9126}
9127
9128} // namespace internal2
9129

Callers 1

PrintValueMethod · 0.85

Calls 1

PrintBytesInObjectToImplFunction · 0.85

Tested by

no test coverage detected