MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / AddStatus

Function AddStatus

tensorflow/compiler/xla/util.cc:90–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88ScopedLoggingTimer::~ScopedLoggingTimer() { StopAndLog(); }
89
90Status AddStatus(Status prior, absl::string_view context) {
91 CHECK(!prior.ok());
92 return Status{prior.code(),
93 absl::StrCat(context, ": ", prior.error_message())};
94}
95
96Status AppendStatus(Status prior, absl::string_view context) {
97 CHECK(!prior.ok());

Callers 3

BuildAndNoteErrorMethod · 0.85
StartMethod · 0.85
AddStatusFuncMethod · 0.85

Calls 3

StrCatFunction · 0.50
okMethod · 0.45
codeMethod · 0.45

Tested by

no test coverage detected