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

Function CaseEqual

tensorflow/core/profiler/internal/tfprof_utils.cc:94–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94bool CaseEqual(StringPiece s1, StringPiece s2) {
95 if (s1.size() != s2.size()) return false;
96 return absl::AsciiStrToLower(s1) == absl::AsciiStrToLower(s2);
97}
98
99bool StringToBool(StringPiece str, bool* value) {
100 CHECK(value != nullptr) << "NULL output boolean given.";

Callers 1

StringToBoolFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected