MCPcopy Create free account
hub / github.com/tensorflow/tfjs / FindNextMultiLineCommentEnd

Function FindNextMultiLineCommentEnd

tfjs-backend-wasm/tools/cpplint.py:1375–1381  ·  view source on GitHub ↗

We are inside a comment, find the end marker.

(lines, lineix)

Source from the content-addressed store, hash-verified

1373
1374
1375def FindNextMultiLineCommentEnd(lines, lineix):
1376 """We are inside a comment, find the end marker."""
1377 while lineix < len(lines):
1378 if lines[lineix].strip().endswith('*/'):
1379 return lineix
1380 lineix += 1
1381 return len(lines)
1382
1383
1384def RemoveMultiLineCommentsFromRange(lines, begin, end):

Callers 1

RemoveMultiLineCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…