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

Function ProtoSpaceAndComments

tensorflow/core/lib/strings/proto_text_util.h:122–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120};
121
122inline void ProtoSpaceAndComments(Scanner* scanner) {
123 for (;;) {
124 scanner->AnySpace();
125 if (scanner->Peek() != '#') return;
126 // Skip until newline.
127 while (scanner->Peek('\n') != '\n') scanner->One(Scanner::ALL);
128 }
129}
130
131// Parse the next numeric value from <scanner>, returning false if parsing
132// failed.

Calls 2

PeekMethod · 0.45
OneMethod · 0.45

Tested by

no test coverage detected