MCPcopy Create free account
hub / github.com/apple/foundationdb / location

Method location

bindings/java/JavaWorkload.cpp:187–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 int line{ 0 };
186
187 std::string location() const {
188 if (file == nullptr) {
189 return "UNKNOWN";
190 } else {
191 return file + std::string(":") + std::to_string(line);
192 }
193 }
194
195 std::string toString() {
196 if (!throwable) {

Callers 5

~JavaWorkloadMethod · 0.45
initMethod · 0.45
setupMethod · 0.45
startMethod · 0.45
checkMethod · 0.45

Calls 1

to_stringFunction · 0.50

Tested by

no test coverage detected