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

Method GetResult

tensorflow/core/lib/strings/scanner.cc:44–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44bool Scanner::GetResult(StringPiece* remaining, StringPiece* capture) {
45 if (error_) {
46 return false;
47 }
48 if (remaining != nullptr) {
49 *remaining = cur_;
50 }
51 if (capture != nullptr) {
52 const char* end = capture_end_ == nullptr ? cur_.data() : capture_end_;
53 *capture = StringPiece(capture_start_, end - capture_start_);
54 }
55 return true;
56}
57
58} // namespace strings
59} // namespace tensorflow

Callers 15

ParseTransformParametersFunction · 0.45
GetNextInternalMethod · 0.45
ReadOpListFromFileFunction · 0.45
ConsumeAttrNameFunction · 0.45
ConsumeListPrefixFunction · 0.45
ConsumeQuotedStringFunction · 0.45
ConsumeAttrTypeFunction · 0.45
ConsumeAttrNumberFunction · 0.45
ConsumeInOutNameFunction · 0.45
ConsumeInOutRefOpenFunction · 0.45
ConsumeInOutRefCloseFunction · 0.45

Calls 1

dataMethod · 0.45

Tested by 3

MakeShapeFromStringMethod · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36